Comments

4 comments

  • 一抹别绪

    推流代码为(MSDK):

    DJISDKManager.getInstance().getLiveStreamManager().setLiveUrl(liveShowUrl);
    int result = DJISDKManager.getInstance().getLiveStreamManager().startStream();
    DJISDKManager.getInstance().getLiveStreamManager().setStartTime();

    0
    Comment actions Permalink
  • DJI Developer Support
    只有画面没有流的意思是什么? int result = DJISDKManager.getInstance().getLiveStreamManager().startStream(); result的返回结果是否是0,如果是0则表示成功。你可以直接去URL网址查看是否有画面就行了。
    0
    Comment actions Permalink
  • 一抹别绪

     

    1.result的返回结果是是0

    2.后台查看就在转圈;

    3.时间一直是0:00;

    4、MsdkDEMO  测试就是好的

    0
    Comment actions Permalink
  • DJI Developer Support
    感觉像是你的视频直播网站的问题,你推到斗鱼或者bilibili试试呢?我们一般是用这些网站测试。UXSDK控件不会影响推流的,而且返回时0说明流已经成功推到目标服务器上了。
    0
    Comment actions Permalink

Please sign in to leave a comment.