EMIPLIB
Public Types | Public Member Functions

MIPRTPVideoEncoder Class Reference

Creates RTP packets for incoming video packets. More...

#include <miprtpvideoencoder.h>

Inheritance diagram for MIPRTPVideoEncoder:
Inheritance graph
[legend]
Collaboration diagram for MIPRTPVideoEncoder:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
YUV420P 

Raw YUV420P messages.

H263 

H.263 encoded messages.


Member Function Documentation

bool MIPRTPVideoEncoder::init ( real_t  frameRate,
size_t  maxPayloadSize,
EncodingType  encType 
)

Initializes the encoder.

Parameters:
frameRateFrame rate of incoming video frames.
maxPayloadSizeMaximum size the payload of an RTP packet can be. If there's more data, it will be split over multiple RTP packets.
encTypeSpecifies the kind of messages that will be accepted as input in the 'push' method of this component.

The documentation for this class was generated from the following file: