Mobile-SDK-iOS icon indicating copy to clipboard operation
Mobile-SDK-iOS copied to clipboard

Can't not videoPreviewer.decodeThread again with mini 2

Open CHEN031226 opened this issue 3 years ago • 1 comments

Hello,I have a problem. I want to start video decoding again when I remove all listener, There is no effect in mini2 but other aircraft could.

Remove: DJIVideoPreviewer.instance().unSetView() DJISDKManager.videoFeeder()?.remove(self) DJISDKManager.videoFeeder()?.primaryVideoFeed.removeAllListeners()

Start: DJIVideoPreviewer.instance().setView(self.fpv.view) DJISDKManager.videoFeeder()?.add(self) DJISDKManager.videoFeeder()?.primaryVideoFeed.add(self, with: nil) DJIVideoPreviewer.instance().start() DJIVideoPreviewer.instance()?.frameControlHandler = self;

CHEN031226 avatar May 16 '22 09:05 CHEN031226

Does the object-C sample has this issue. Because when you quit the page, the listener would be removed.

DJI-William avatar May 17 '22 09:05 DJI-William