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

#include <iaacaudioframereceiver.h>

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

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)=0
 

Static Public Member Functions

static ReceiverTypeId GetReceiverTypeId ()
 

Detailed Description

Receives AAC audio data.

Member Typedef Documentation

◆ ReceiverTypeId

Member Function Documentation

◆ GetReceiverTypeId()

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

◆ PackageFrame()

virtual TTV_ErrorCode ttv::broadcast::IAacAudioFrameReceiver::PackageFrame ( const std::vector< uint8_t > &  sampleBuffer,
uint32_t  numSamples,
uint32_t  numChannels,
uint64_t  timeStamp,
std::shared_ptr< AudioFrame > &  result 
)
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.

Implemented in ttv::broadcast::AacReceiver.


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