H264FrameCreatorCreateFrame Method |
Creates an RTP frame according to Packetization Mode 1 specification coming from an encoder.
Namespace: StreamCoders.RtpAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public override RtpFrame CreateFrame(
MediaBuffer<byte> inputData
)
Public Overrides Function CreateFrame (
inputData As MediaBuffer(Of Byte)
) As RtpFrame
public:
virtual RtpFrame^ CreateFrame(
MediaBuffer<unsigned char>^ inputData
) override
abstract CreateFrame :
inputData : MediaBuffer<byte> -> RtpFrame
override CreateFrame :
inputData : MediaBuffer<byte> -> RtpFrame
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