dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
980 stars 579 forks source link

TextureView for FPV doesn't show video stream with correct aspect ratio #529

Open lachlanwp opened 4 years ago

lachlanwp commented 4 years ago

I'm trying to use the TextureView to show the FPV video stream. It's working perfectly with a DJI Spark, but with a DJI Mavic Pro Platinum the aspect ratio isn't correct. It almost looks square. Is there some difference in the way the aircraft streams the video to the phone? I'd like to know so I can always show a FPV video stream with the correct aspect ratio, regardless of which aircraft is being used. Thanks.

dji-dev commented 4 years ago

Dear Customer,

Thank you for contacting DJI. You can try this method setPhotoAspectRatio to set the aspect ratio. If the problem still, please contact us again via the form. https://formcrafts.com/a/dji-developer-feedback-en

lachlanwp commented 4 years ago

Thanks for your response. I tried but it didn't work. I will provide more information via the feedback form.