PSDK获取无人机相机视频流是哪个模块

Completed

Comments

4 comments

  • DJI Developer Support
    您好,liveview是PSDK从无人机处获取视频流,拉流。 不需要切换的,DjiLiveview_StartH264Stream中有选择FPV的视频源,您调用时选择即可。
    0
    Comment actions Permalink
  • zhangweian

    [16.485][user]-[Info]-[DjiTest_WidgetInteractionTask:466) ---------------------------------------------------------------------------------------------> 
    [16.485][user]-[Info]-[DjiTest_LiveviewRunSample:63) Liveview sample start 
    [16.485][user]-[Info]-[DjiTest_LiveviewRunSample:72) --> Step 1: Init liveview module 
    [17.528][user]-[Info]-[DjiTest_LiveviewRunSample:80) --> Step 2: Start h264 stream of the fpv and selected payload
     
    /work/dji/PSDK391/Payload-SDK-release-v3.9.1/samples/sample_c/module_sample/liveview/test_liveview.c:116------------mountPosition:1
    [18.096][user]-[Info]-[DjiTest_LiveviewRunSample:125) Storing camera h264 stream, second: 1. 
    [19.132][user]-[Info]-[DjiTest_LiveviewRunSample:125) Storing camera h264 stream, second: 2. 
    [20.137][user]-[Info]-[DjiTest_LiveviewRunSample:125) Storing camera h264 stream, second: 3. 
    [20.555][utils]-[Error]-[DjiFlowController_TryPutDataToBuffer:793) put data to buffer error: 0x00000102. 
    [20.555][utils]-[Error]-[DjiFlowController_SendData:358) try to put data to buffer error: 0x00000102. 
    [20.555][widget]-[Error]-[DjiWidgetFloatingWindow_ShowMessage:604) send data to float window with flow control error: 0x00000102. 
    [20.555][user]-[Error]-[DjiTest_WidgetTask:350) Floating window show message error, stat = 0x00000102 

    0
    Comment actions Permalink
  • zhangweian

    试了几个相机源,报上述错误

    0
    Comment actions Permalink
  • zhangweian

    已解决

    0
    Comment actions Permalink

Please sign in to leave a comment.