Halyri  0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
Halyri.AudioVideoManagers.AudioVideoPlaybackManager Class Reference

Handles playback of incoming audio and picture data. Currently only performs the playback of speex encoded audio using XNA sound effect instances. More...

Public Member Functions

 AudioVideoPlaybackManager ()
 Initializes a new AudioVideoPlaybackManager instance. More...
 
void Enable ()
 Enables the media playback using this instance. Currently only the playback of speex compressed audio fragments is available. More...
 
void Disable ()
 Disables the media playback at this instance. More...
 
void HandleIncomingMedia (MediaPacket mediaPacket)
 Handles audio and video data received from the remote client. Corrently handles only speex encoded audio. More...
 

Detailed Description

Handles playback of incoming audio and picture data. Currently only performs the playback of speex encoded audio using XNA sound effect instances.

<author>Veli-Mikko Puupponen</author> Note: this class should be converted to work with a MediaStreamSource rather than playing the samples using XNA audio effect instances.

Constructor & Destructor Documentation

Halyri.AudioVideoManagers.AudioVideoPlaybackManager.AudioVideoPlaybackManager ( )

Initializes a new AudioVideoPlaybackManager instance.

Member Function Documentation

void Halyri.AudioVideoManagers.AudioVideoPlaybackManager.Disable ( )

Disables the media playback at this instance.

void Halyri.AudioVideoManagers.AudioVideoPlaybackManager.Enable ( )

Enables the media playback using this instance. Currently only the playback of speex compressed audio fragments is available.

void Halyri.AudioVideoManagers.AudioVideoPlaybackManager.HandleIncomingMedia ( MediaPacket  mediaPacket)

Handles audio and video data received from the remote client. Corrently handles only speex encoded audio.

Parameters
mediaPacketMedia packet containing audio or video data

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