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

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

Parameters

encoder
Type: StreamCoders.EncoderAVideoEncoderBase
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 MPEG-4.2 and MPEG-4.10 (H.264, AVC) encoder instances.
See Also