Class VideoReceiver
Class that processes received RTP packets containing fragmented encoded video frame data. This class decodes the data and fires an event when a Bitmap for a full frame of video has been received.
Inherited Members
Namespace: SipLib.Video.Windows
Assembly: SipLib.Video.Windows.dll
Syntax
public class VideoReceiver
Constructors
VideoReceiver(MediaDescription, RtpChannel)
Constructor.
Declaration
public VideoReceiver(MediaDescription VideoMd, RtpChannel rtpChannel)
Parameters
| Type | Name | Description |
|---|---|---|
| MediaDescription | VideoMd | MediaDescription that describes the negotiated video codec. |
| RtpChannel | rtpChannel | RtpChannel that the video data packets will be received on. |
Methods
Dispose()
Releases resources held by the decoder.
Declaration
public void Dispose()
Shutdown()
This method must be called before the RtpChannel has been shut down. After this method is called, shutdown the RtpChannel, then call the Dispose() method.
Declaration
public void Shutdown()
Events
FrameReady
This event is fired when a Bitmap for a full video frame is ready.
Declaration
public event FrameBitmapReadyDelegate? FrameReady
Event Type
| Type | Description |
|---|---|
| FrameBitmapReadyDelegate |