|
Twitch SDK (Internal)
|
#include <icvpixelbuffervideoframereceiver.h>
Public Types | |
| typedef std::function< void(const CVPixelBufferRef buffer)> | UnlockFunc |
| typedef size_t | ReceiverTypeId |
Public Member Functions | |
| virtual TTV_ErrorCode | PackageFrame (const CVPixelBufferRef buffer, uint64_t timestamp, UnlockFunc unlockCallback, std::shared_ptr< VideoFrame > &result)=0 |
Static Public Member Functions | |
| static ReceiverTypeId | GetReceiverTypeId () |
The interface used for ICVPixelBufferVideoFrameGenerator to submit their frames to.
|
inherited |
| typedef std::function<void(const CVPixelBufferRef buffer)> ttv::broadcast::ICVPixelBufferVideoFrameReceiver::UnlockFunc |
|
inlinestatic |
|
pure virtual |
Packages the given frame data so it can be enqueued for encoding. When the frame processing of the frame is complete the unlockCallback will be called on an arbitrary thread.
1.8.13