Halyri - Häke  0.9.1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Hake_WPF.AudioVideoManagers.AudioVideoTransferManager Class Reference

Class for processing incoming and outgoing audio and images. Handles media data received from the server. Reproduces speex encoded audio and Wave file segments using the primary audio output device in the system. More...

Public Member Functions

 AudioVideoTransferManager (Connection c)
 Initializes a new AudioVideoTransferManager that uses the provided connection to receive and transmit audio and pictures. More...
 
void EnableOutgoingAudio ()
 Enables audio recording and publishing to the server from the primary audio capture in the system. More...
 
void DisableOutgoingAudio ()
 Stops recording audio and publishing it to the server. More...
 
void EnableIncomingAudio ()
 Starts receiving audio from the server and reproducing it using the primary audio output device in the system. More...
 
void DisableIncomingAudio ()
 Stops receiving and reproducing audio. More...
 

Public Attributes

JpgImageReceived JpgImageReceivedEvent
 

Properties

bool UseOutgoingUdp [get, set]
 

Detailed Description

Class for processing incoming and outgoing audio and images. Handles media data received from the server. Reproduces speex encoded audio and Wave file segments using the primary audio output device in the system.

<author>Veli-Mikko Puupponen</author> Captures audio from the dafault audio input device in the system using a NAudio WaveIn instance. If outgoing audio is enabled, uploads the captured audio in a speex encoded format to the server.

Publishes a JpgImageReceivedEvent upon receiving an image from the server.

Constructor & Destructor Documentation

Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.AudioVideoTransferManager ( Connection  c)

Initializes a new AudioVideoTransferManager that uses the provided connection to receive and transmit audio and pictures.

Parameters
cValid Connection instance.

Member Function Documentation

void Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.DisableIncomingAudio ( )

Stops receiving and reproducing audio.

void Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.DisableOutgoingAudio ( )

Stops recording audio and publishing it to the server.

void Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.EnableIncomingAudio ( )

Starts receiving audio from the server and reproducing it using the primary audio output device in the system.

void Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.EnableOutgoingAudio ( )

Enables audio recording and publishing to the server from the primary audio capture in the system.

Member Data Documentation

JpgImageReceived Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.JpgImageReceivedEvent

Property Documentation

bool Hake_WPF.AudioVideoManagers.AudioVideoTransferManager.UseOutgoingUdp
getset

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