dji-sdk / Windows-SDK

DJI Windows SDK: http://developer.dji.com/windows-sdk/
Other
164 stars 116 forks source link

Unable to get callback for “VideoDataUpdated” for Mavic 2 Zoom #34

Open jimmyleeking opened 4 years ago

jimmyleeking commented 4 years ago

I just run DJI sample code ,and I could get FPV view normal for "Mavic 2 Pro". When i changed my Aircaft device to "Mavic 2 Zoom",it's unable to get any data ,and not callback for VideoDataUpdated .

https://github.com/dji-sdk/Windows-SDK/blob/master/Sample Code/DJISampleSources/FPV/FPVPage.xaml.cs

Line:90

        //raw data
        void OnVideoPush(VideoFeed sender, byte[] bytes)
        {
            videoParser.PushVideoData(0, 0, bytes, bytes.Length);
        }
jimmyleeking commented 4 years ago

every one read this issue ,you could go to https://github.com/dji-sdk/Windows-SDK/issues/32 ,that would be solve your problem.

The key step: uninstall driver and install drvier by zadig .

life is good.

tchennwpu commented 4 years ago

hello, is DJI Windows-SDK sample code supported for "Mavic 2 Pro"?

jimmyleeking commented 4 years ago

hello, is DJI Windows-SDK sample code supported for "Mavic 2 Pro"?

it's support ,but it's not stable .