Edit

Share via


Sdp<TGlobalDescription,TMediaDescription>.GetBytes Method

Definition

Creates an array of bytes containing a valid SDP that is ready to be transmitted. This function calls Write() and then converts the result to an array of bytes using the UTF-8 character set.

public:
 cli::array <System::Byte> ^ GetBytes();
public byte[] GetBytes ();
member this.GetBytes : unit -> byte[]
Public Function GetBytes () As Byte()

Returns

Byte[]

Returns SDP as a new instance of a byte array.

Exceptions

Thrown when the SDP cannot be composed in its current state.

Applies to