Twitch SDK (Internal)
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ttv::broadcast::AacReceiver Class Reference

#include <aacaudioframe.h>

Inheritance diagram for ttv::broadcast::AacReceiver:
ttv::broadcast::IAacAudioFrameReceiver ttv::broadcast::IAudioFrameReceiver

Public Types

typedef size_t ReceiverTypeId
 

Public Member Functions

virtual TTV_ErrorCode PackageFrame (const std::vector< uint8_t > &sampleBuffer, uint32_t numSamples, uint32_t numChannels, uint64_t timeStamp, std::shared_ptr< AudioFrame > &result) override
 

Static Public Member Functions

static ReceiverTypeId GetReceiverTypeId ()
 

Member Typedef Documentation

◆ ReceiverTypeId

Member Function Documentation

◆ GetReceiverTypeId()

static ReceiverTypeId ttv::broadcast::IAacAudioFrameReceiver::GetReceiverTypeId ( )
inlinestaticinherited

◆ PackageFrame()

virtual TTV_ErrorCode ttv::broadcast::AacReceiver::PackageFrame ( const std::vector< uint8_t > &  sampleBuffer,
uint32_t  numSamples,
uint32_t  numChannels,
uint64_t  timeStamp,
std::shared_ptr< AudioFrame > &  result 
)
overridevirtual

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.

Implements ttv::broadcast::IAacAudioFrameReceiver.


The documentation for this class was generated from the following file: