EMIPLIB
|
Creates RTP packets for incoming video packets. More...
#include <miprtpvideoencoder.h>
Public Types | |
enum | EncodingType { YUV420P, H263 } |
Specifies the kind of message that will be accepted as input. More... | |
Public Member Functions | |
bool | init (real_t frameRate, size_t maxPayloadSize, EncodingType encType) |
Initializes the encoder. |
This component accepts incoming video packets and generates MIPRTPSendMessage objects which can then be transferred to a MIPRTPComponent instance. This encoder uses an internal format to store data in RTP packets, this will not be compatible with other applications.
bool MIPRTPVideoEncoder::init | ( | real_t | frameRate, |
size_t | maxPayloadSize, | ||
EncodingType | encType | ||
) |
Initializes the encoder.
frameRate | Frame rate of incoming video frames. |
maxPayloadSize | Maximum size the payload of an RTP packet can be. If there's more data, it will be split over multiple RTP packets. |
encType | Specifies the kind of messages that will be accepted as input in the 'push' method of this component. |