|
Twitch SDK (Internal)
|
#include <imuxer.h>
Public Member Functions | |
| virtual | ~IMuxer ()=default |
| virtual TTV_ErrorCode | Start (const MuxerParameters ¶meters)=0 |
| virtual TTV_ErrorCode | WriteVideoPacket (const Packet &packet)=0 |
| virtual TTV_ErrorCode | WriteAudioPacket (const Packet &packet)=0 |
| virtual TTV_ErrorCode | WriteVideoSpsPps (const std::vector< uint8_t > &sps, const std::vector< uint8_t > &pps)=0 |
| virtual TTV_ErrorCode | Stop ()=0 |
Interface for implementations that can handle post-encoded stream data.
|
virtualdefault |
|
pure virtual |
Specifies that the encoding has begun.
| parameters | The parameters of the encoding. |
Implemented in ttv::broadcast::FlvMuxer.
|
pure virtual |
Specifies that the encoding has stopped.
Implemented in ttv::broadcast::FlvMuxer.
|
pure virtual |
Writes an audio packet to the stream.
| packet | The audio data. |
Implemented in ttv::broadcast::FlvMuxer.
|
pure virtual |
Writes a video packet to the stream.
| packet | The video data. |
Implemented in ttv::broadcast::FlvMuxer.
|
pure virtual |
Writes the video SPS and PPS to the stream. This needs to be done before an IDR frame that it applies to.
| sps | The video SPS data. |
| pps | The video PPS data. |
Implemented in ttv::broadcast::FlvMuxer.
1.8.13