#include <videoframequeue.h>
◆ VideoFrameQueue()
| ttv::broadcast::VideoFrameQueue::VideoFrameQueue |
( |
| ) |
|
◆ AddFrame()
◆ GetNextFrame()
| std::shared_ptr<VideoFrame> ttv::broadcast::VideoFrameQueue::GetNextFrame |
( |
uint64_t |
currentTime | ) |
|
◆ SetAllowFrameDroppingAndReuse()
| void ttv::broadcast::VideoFrameQueue::SetAllowFrameDroppingAndReuse |
( |
bool |
allow | ) |
|
|
inline |
Frame dropping and reuse should be allowed for scenarios that have real encoders encoding frames. When using passthrough capturers and encodeers this should be false so that no frames are dropped or submitted multiple times.
◆ SetFPS()
| void ttv::broadcast::VideoFrameQueue::SetFPS |
( |
uint |
fps | ) |
|
◆ Shutdown()
| void ttv::broadcast::VideoFrameQueue::Shutdown |
( |
| ) |
|
◆ mAllowFrameDroppingAndReuse
| bool ttv::broadcast::VideoFrameQueue::mAllowFrameDroppingAndReuse |
|
private |
◆ mFrameDuration
| uint64_t ttv::broadcast::VideoFrameQueue::mFrameDuration |
|
private |
◆ mLastProcessedFrame
| std::shared_ptr<VideoFrame> ttv::broadcast::VideoFrameQueue::mLastProcessedFrame |
|
private |
◆ mMutex
| std::shared_ptr<IMutex> ttv::broadcast::VideoFrameQueue::mMutex |
|
private |
◆ mNumFramesDropped
| uint ttv::broadcast::VideoFrameQueue::mNumFramesDropped |
|
private |
◆ mNumFramesProcessed
| uint ttv::broadcast::VideoFrameQueue::mNumFramesProcessed |
|
private |
◆ mQueuedVideoFrames
| std::list< std::shared_ptr<VideoFrame> > ttv::broadcast::VideoFrameQueue::mQueuedVideoFrames |
|
private |
◆ mTimeOfLastSubmittedFrame
| uint64_t ttv::broadcast::VideoFrameQueue::mTimeOfLastSubmittedFrame |
|
private |
◆ mTimeOfNextFrame
| uint64_t ttv::broadcast::VideoFrameQueue::mTimeOfNextFrame |
|
private |
◆ mTimeOfNextKeyFrame
| uint64_t ttv::broadcast::VideoFrameQueue::mTimeOfNextKeyFrame |
|
private |
The documentation for this class was generated from the following file:
- modules/broadcast/broadcast_common/include/twitchsdk/broadcast/internal/videoframequeue.h