MSDK 5.11.0 - ReceiveStreamListener issue
Hello.
When changing modes with PhotoVideoSwitchWidget, ReceiveStreamListener retains previous resolution.
For example, on M30T, photo mode is 1440*1080 and video mode is 1920*1080.
When I first start in photo mode, 1440*1080 comes in as StreamInfo of When I first start in photo mode, 1440*1080 comes in as StreamInfo of ReceiveStreamListener, but even if I change to video mode, 1440*1080 still comes in.
Drone : M30T - 10.01.0504
Controller : RC Plus - 05.02.1106
Thank you.
-
Dear developers, Hello, thank you for contacting DJI Innovation. I understand that your description is that the mode has been switched, but the resolution has not changed, but I have not received any feedback from other developers. Can you provide a video of replicating the sample code? Thank you for your email and have a nice life! Best Regards, Dji innovation SDK technical support -
https://github.com/dji-sdk/Mobile-SDK-Android-V5
I added logs to the CameraStreamDetailVM class in sample app.
And I added PhotoVideoSwitchWidget to fragment_camera_stream_detail.xml.
When I press the Begin Download Stream button, data comes into ReceiveStreamListener.
In video mode it is 1080 * 1920, in photo mode it is 1080 * 1440.
When I press the Begin Download Stream button while in video mode, 1080 * 1920 is recorded in the log. However, even if I switch to photo mode, it still captures 1080 * 1920.
when I click stop Download Stream and do Begin Download Stream again, it shows 1080 * 1440.
Thank you.
请先登录再写评论。
评论
3 条评论