次の方法で共有


HoldType Enumeration

Defines the type of hold AudioVideoFlow should use.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration HoldType
'Usage
Dim instance As HoldType
[FlagsAttribute]
public enum HoldType

Members

Member name Description
None Keep send and receive active.
RemoteEndpoint Stop only the incoming receive stream direction. Media received from the remote endpoint will be discarded.
BothEndpoints Stop both outgoing send and incoming receive streams. Media will not be sent to the remote endpoint. Media received from the remote endpoint will be discarded.
RemoteEndpointMusicOnHold Stop only the incoming receive stream direction and indicate to the remote endpoint to expect music or similar media while on hold. The application is responsible for playing the music using a Player object attached to the AudioVideoFlow. Media received from the remote endpoint will be discarded.
RemoteEndpointAllowTones Stop only the incoming receive stream direction while still allowing DTMF tones to be received and recognized by an attached ToneController object. Other media received from the remote endpoint will be discarded.

Remarks

Acts as a flag.

See Also

Reference

Microsoft.Rtc.Collaboration.AudioVideo Namespace