Class VideoRtpReceiver
Base class for classes that receive encoded RTP packets
Inherited Members
Namespace: SipLib.Video
Assembly: SipLib.dll
Syntax
public class VideoRtpReceiver
Constructors
| Edit this page View SourceVideoRtpReceiver()
Constructor
Declaration
public VideoRtpReceiver()
Methods
| Edit this page View SourceProcessRtpPacket(RtpPacket)
Processes a single RTP packet containing encoded video data.
Declaration
public virtual byte[]? ProcessRtpPacket(RtpPacket rtpPacket)
Parameters
Type | Name | Description |
---|---|---|
RtpPacket | rtpPacket | Input RTP packet that has been received from the network. |
Returns
Type | Description |
---|---|
byte[] | Returns a byte array containing the encoded video for a complete video frame. Returns null if a full encoded frame is not ready yet. |