DesktopEventCallbacks Class Reference
Inheritance diagram for DesktopEventCallbacks:
Collaboration diagram for DesktopEventCallbacks:

Public Member Functions

 DesktopEventCallbacks (Headunit *hu)
 
virtual int MediaPacket (int chan, uint64_t timestamp, const byte *buf, int len) override
 
virtual int MediaStart (int chan) override
 
virtual int MediaStop (int chan) override
 
virtual void MediaSetupComplete (int chan) override
 
virtual void DisconnectionOrError () override
 
virtual void CustomizeOutputChannel (int chan, HU::ChannelDescriptor::OutputStreamChannel &streamChannel) override
 
virtual void AudioFocusRequest (int chan, const HU::AudioFocusRequest &request) override
 
virtual void VideoFocusRequest (int chan, const HU::VideoFocusRequest &request) override
 
void VideoFocusHappened (bool hasFocus, bool unrequested)
 

Public Attributes

std::atomic< bool > connected
 
std::atomic< bool > videoFocus
 
std::atomic< bool > audioFocus
 

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