Click or drag to resize
SDPMediaHelperCreateFrom Method (ISpeechEncoder, Int32)
Attempts to create an SDPMedia object from a SpeechEncoder instance. Currently supported codecs: AMR-NB, AMR-WB, G.711A, G.711U, Speex-nb, Speex-wb, G.723, G.722, G.729(A), G.728

Namespace: StreamCoders.Sdp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static SdpMedia CreateFrom(
	ISpeechEncoder encoder,
	int trackId
)

Parameters

encoder
Type: StreamCoders.EncoderISpeechEncoder
Encoder instance.
trackId
Type: SystemInt32
SDP control track for media description.

Return Value

Type: SdpMedia
See Also