EMIPLIB
|
Creates RTP packets for 16 bit signed big endian encoded audio packets. More...
#include <miprtpl16encoder.h>
Public Member Functions | |
bool | init (bool stereo, int sampRate=44100) |
Initializes the encoder for mono or stereo audio messages. |
This component accepts incoming mono or stereo audio packets (16 bit signed big endian) of a specific sampling rate and generates MIPRTPSendMessage objects which can then be transferred to a MIPRTPComponent instance. The default sampling rate is 44100 Hz, which corresponds to a predefined payload type in RFC 3551.
bool MIPRTPL16Encoder::init | ( | bool | stereo, |
int | sampRate = 44100 |
||
) |