Class H264RtpSender
Class that processes H264 encoded access units and packetizes H264 NAL units into RTP packets so the H264 encoded data can be sent over the network.
Inherited Members
Namespace: SipLib.Video
Assembly: SipLib.dll
Syntax
public class H264RtpSender : VideoRtpSender
Constructors
| Edit this page View SourceH264RtpSender(int, uint, RtpSendDelegate)
Constructor
Declaration
public H264RtpSender(int payloadType, uint frameRate, RtpSendDelegate sender)
Parameters
Type | Name | Description |
---|---|---|
int | payloadType | RTP payload number to use |
uint | frameRate | Video frame rate in frames per second |
RtpSendDelegate | sender | Delegate to use to send RTP packets. |
Methods
| Edit this page View SourceSendEncodedFrame(byte[])
Processes an H264 frame contained in an H264 Access Unit. An Access Unit can contain one or more NAL's. The NAL's have to be parsed in order to be able to package in RTP packets.
Declaration
public override void SendEncodedFrame(byte[] accessUnit)
Parameters
Type | Name | Description |
---|---|---|
byte[] | accessUnit | Input H264 access unit |