Partilhar via


RemoteMediaFlowState Enumeration

Provides hint for the state of the media flow between remote participants of a back to back call.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Enumeration RemoteMediaFlowState
'Usage
Dim instance As RemoteMediaFlowState
public enum RemoteMediaFlowState

Members

Member name Description
Unknown Media state is unknown.
Connecting Media state is Connecting.
Connected Media state is Connected.

Remarks

The state is inferred primarily based on offer/answer renegotiation for audio video calls. If there is no known way to determine when the media can flow between the remote endpoints, this state will remain Unknown. If the state goes to Connected, it will stay in that state even after the back to back call is terminated. This hint is mainly provided to avoid media clipping for the scenario where one of the call legs is on a conference and a different conversation contains an audio video call to play message for the user involved in this back to back call. If the hint changes to Connecting before the back to back call is established, it is recommended that the application wait for the Connected state before playing any content on the conference. This property will remain in Unknown state if no hint can be inferred. Currently, only AudioVideoCall with default media provider supports this.

See Also

Reference

Microsoft.Rtc.Collaboration Namespace