dji-sdk / Mobile-UXSDK-iOS

DJI Mobile UXSDK is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.
Other
73 stars 43 forks source link

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

Open zahiruddin-aerodyne opened 11 months ago

zahiruddin-aerodyne commented 11 months ago

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?

dji-dev commented 11 months ago

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!

°°°

zahiruddin-aerodyne commented 11 months ago

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

dji-dev commented 11 months ago

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.

°°°