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

How to send live video feed from drone to RTMP server?

Open zahiruddin-aerodyne opened this issue 2 years ago • 3 comments

I would like to ask how to send live video feed from drone to RTMP server? Currently using this UXSDK i am able to get the live video feed from the screens, i found this line of code in DJIRtmpMuxer.m - in line 170 _serverURL = @""; I think something to play withthis but don't found any tutorial or solution on this. Anyone has idea?

zahiruddin-aerodyne avatar Aug 07 '23 03:08 zahiruddin-aerodyne

Agent comment from yating.liao in Zendesk ticket #88535:

I hope you're having a great day! I wanted to let you know that you can find an example code for live streaming in the demo using Objective language. The code is named VideoLiveStreamViewController. To start the live stream, you only need one parameter, which is the RTMP URL.

If you have any further questions or need assistance, please feel free to ask. Have a wonderful day!

°°°

dji-dev avatar Aug 07 '23 11:08 dji-dev

Yeahh sure i already find it in Objective C, but it will be easier if it has swift version

zahiruddin-aerodyne avatar Aug 09 '23 06:08 zahiruddin-aerodyne

Agent comment from yating.liao in Zendesk ticket #88535:

Sorry, there are currently no Swift sample codes for the live streaming feature. You can refer to the Objective C sample codes and then implement them in Swift.

°°°

dji-dev avatar Aug 09 '23 13:08 dji-dev