C# Class SpeechRecognizer.UDPClient

Connects to an RTP stream and listens for data
Show file Open project: rit-sse-mycroft/app-speech-to-text Class Usage Examples

Public Methods

Method Description
StartClient ( ) : void

Creates a connection to the RTP stream

StopClient ( ) : void

Tells the UDP client to stop listening for packets.

UDPClient ( int port ) : System

RTP Client for receiving an RTP stream containing a WAVE audio stream

Private Methods

Method Description
ReceiveCallback ( ) : void

Handles the receiving of UDP packets from the RTP stream

Method Details

StartClient() public method

Creates a connection to the RTP stream
public StartClient ( ) : void
return void

StopClient() public method

Tells the UDP client to stop listening for packets.
public StopClient ( ) : void
return void

UDPClient() public method

RTP Client for receiving an RTP stream containing a WAVE audio stream
public UDPClient ( int port ) : System
port int The port to listen on
return System