Reputation: 41
Is there any way to set audio/video codec preferences for RTP
sender in iOS WebRTC lib before SDP
creation?
RTCRtpSender -> parameters -> codecs
array is empty until the peer connection ice gathering state is complete
, but this state is only reported via callback after the SDP
creation.
Using M91 WebRTC.
Upvotes: 0
Views: 350
Reputation: 17305
In theory the transceiver.setCodecPreferences API can do that. It does not seem to be implemented in the iOS SDK though.
Upvotes: 1