#include <rtmpstream.h>
◆ RtmpStream()
| ttv::broadcast::RtmpStream::RtmpStream |
( |
std::shared_ptr< StreamStats > |
streamStats | ) |
|
◆ ~RtmpStream()
| ttv::broadcast::RtmpStream::~RtmpStream |
( |
| ) |
|
|
inline |
◆ AddFLVData()
| TTV_ErrorCode ttv::broadcast::RtmpStream::AddFLVData |
( |
const uint8_t * |
data, |
|
|
size_t |
length |
|
) |
| |
◆ BeginFLVChunk()
◆ ChangeState()
| bool ttv::broadcast::RtmpStream::ChangeState |
( |
| ) |
|
|
private |
◆ EndFLVChunk()
◆ GetAverageSendBitRate()
| TTV_ErrorCode ttv::broadcast::RtmpStream::GetAverageSendBitRate |
( |
uint64_t |
measurementWindowMilliseconds, |
|
|
uint64_t & |
bitsPerSecond |
|
) |
| const |
|
inline |
Returns the average sending bit rate in bits per second over a sliding window.
◆ GetCongestionLevel()
| TTV_ErrorCode ttv::broadcast::RtmpStream::GetCongestionLevel |
( |
uint64_t |
measurementWindowMilliseconds, |
|
|
double & |
congestionLevel |
|
) |
| const |
|
inline |
Returns the fraction of time spent blocking on the socket over a sliding window.
◆ GetError()
If in the error state then this will return the error.
◆ Start()
| void ttv::broadcast::RtmpStream::Start |
( |
const std::string & |
url | ) |
|
◆ Stop()
| void ttv::broadcast::RtmpStream::Stop |
( |
| ) |
|
◆ Update()
| void ttv::broadcast::RtmpStream::Update |
( |
| ) |
|
◆ mChunkDetails
◆ mContext
◆ mStates
The documentation for this class was generated from the following file:
- modules/broadcast/broadcast_common/include/twitchsdk/broadcast/internal/muxers/rtmpstream.h