FrameCreatorCreateFrame Method |
Implements the creation of an RTP frame with respect to MTU size.
Timing information for each frame must be provided by the input buffer.
Namespace: StreamCoders.RtpAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic virtual RtpFrame CreateFrame(
MediaBuffer<byte> inputData
)
Public Overridable Function CreateFrame (
inputData As MediaBuffer(Of Byte)
) As RtpFrame
public:
virtual RtpFrame^ CreateFrame(
MediaBuffer<unsigned char>^ inputData
)
abstract CreateFrame :
inputData : MediaBuffer<byte> -> RtpFrame
override CreateFrame :
inputData : MediaBuffer<byte> -> RtpFrame
Parameters
- inputData
- Type: StreamCodersMediaBufferByte
Input buffer containing the payload to be packetized.
Return Value
Type:
RtpFrame
A new frame split into 1 or more RTP packets.
See Also