Click or drag to resize
H264FrameCreatorCreateFrame Method
Creates an RTP frame according to Packetization Mode 1 specification coming from an encoder.

Namespace: StreamCoders.Rtp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public override RtpFrame CreateFrame(
	MediaBuffer<byte> inputData
)

Parameters

inputData
Type: StreamCodersMediaBufferByte
Encoded H.264 NAL unit that must be prefixed with H.264 startcodes.

Return Value

Type: RtpFrame
Returns a frame containing packets with regard to MTU size and packetization mode 1 (NAL, FU-A, STAP-A) specified in RFC 3984, otherwise null.
See Also