djiuser_vgGdOtlP90d0
New
Flight distance : 62986 ft
China
Offline
|
I encountered the same problem as you. I found that self.rtmpMuxer? .Start () always returns false, resulting in the DJIRtmpMuxerState_Stoped state. After debugging, the reason was found because the _enableAudio in the satart method was false. The solution is to add the settings below the podfile in the official code:
# Please remove the code below if you don't want to implement the SDK Live Stream feature.
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
if target.name == 'DJIWidget'
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'ENABLED_LIVESTREAM_AUDIO_INPUT=1']
end
end
end
end
|
|