Halyri - Häke
0.9.1
|
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] |
Gets and sets UseOutGoingUdp. More... | |
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.
Initializes a new AudioVideoTransferManager that uses the provided connection to receive and transmit audio and pictures.
c | Valid Connection instance. |
void DisableIncomingAudio | ( | ) |
Stops receiving and reproducing audio.
void DisableOutgoingAudio | ( | ) |
Stops recording audio and publishing it to the server.
void EnableIncomingAudio | ( | ) |
Starts receiving audio from the server and reproducing it using the primary audio output device in the system.
void EnableOutgoingAudio | ( | ) |
Enables audio recording and publishing to the server from the primary audio capture in the system.
|
getset |
Gets and sets UseOutGoingUdp.