Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video feed over WIFI with Mavic Air #48

Open
carter-james89 opened this issue Apr 2, 2020 · 3 comments
Open

Video feed over WIFI with Mavic Air #48

carter-james89 opened this issue Apr 2, 2020 · 3 comments

Comments

@carter-james89
Copy link

carter-james89 commented Apr 2, 2020

The sample application will not display the video from my Mavic Air over wifi. Is this supported? I can't get the video feed to display in my own UWP application either following the integration instructions exactly.

Onvideopush recieves a populated byte array but it wont display on my SwapChainPanel.

DJISDKManager.Instance.VideoFeeder.GetPrimaryVideoFeed(0).VideoDataUpdated += OnVideoPush;

Also for some reason this is never called. The converted RGBA frame is what I'm most interested in. Is there some way to get this callback to work?

//Decode data. Do nothing here. This function would return a bytes array with image data in RGBA format.
private static void ReceiveDecodedData(byte[] data, int width, int height){}

@dji-dev
Copy link
Contributor

dji-dev commented Apr 3, 2020

Agent comment from William Wong in Zendesk ticket #33281:

Dear Client
Thank you for contacting DJI.

Yes, it is supported. It seems that demo has a bug, we already report this issue to the dev team. Sorry for inconvience.

Hopefully our solution can help you.
Kindly Regards,
DJI Developer Support

@rwhall1
Copy link

rwhall1 commented Jun 11, 2020

I am having the same issue with my Air. Has a fix been released, or is there example code that works?

@rwhall1
Copy link

rwhall1 commented Jul 2, 2020

I have discovered that if I go to the Playback page and click on the WorkMode button, I can see the camera view on the FPV page. This only works if the WorkMode button turns from red to green, signifying (I think) that the application is talking successfully with the drone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants