Open IbrahimSulai opened 4 years ago
objc publish has an onSuccess callback, this can get OWTConferencePublication object, than you can call mute/unmute
@flyhuan I am performing a P2P connection. I didn't find the methods in the SDK to mute/unmute the audio/video.
Could you please help us with API in the SDK to execute the unmute/mute the audio/video in the P2P connection.
Here is answer for your question
mute/unmute only supported in conference mode here is mute/unmute description mute:onSuccess:onFailure: : OWTConferencePublication , OWTConferenceSubscription unmute:onSuccess:onFailure: : OWTConferencePublication , OWTConferenceSubscription
update event also only supported in conference mode Generally speaking, if the stream which published e.g for iOS sides, if screen rotation happen at publisher sides, the remote stream at receiver sides will updated, it will trigger streamDidUpdate event . Constraints for creating the stream. The stream will not be impacted if changing constraints after it is created. https://software.intel.com/sites/products/documentation/webrtc/ios/interface_o_w_t_local_stream.html#aff07178e7c47abd327faab446c0f7822
@yanbin7 - Thanks for the clarifications.
Hi,
My requirement is to mute/unmute the video while publishing the data.
How we can update the localStream using the OWTLocalStream constratins, while publishing data.