Click or drag to resize
SDPMediaHelperCreateFrom Method (AAudioEncoderBase, Int32, Int32)
Attempts to create an SDPMedia object from a AudioEncoderBase interface instance.

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

Parameters

encoder
Type: StreamCoders.EncoderAAudioEncoderBase
Encoder instance.
trackId
Type: SystemInt32
SDP control track for media description.
payloadType
Type: SystemInt32
Payload type of media.

Return Value

Type: SdpMedia
Returns SDPMedia object on success, otherwise null.
Remarks
CreateFrom currently supports AACEncoder instances.
See Also