C# Class Yodiwo.Services.Media.Audio.YAudioServer

Exibir arquivo Open project: yodiwo/plegma

Public Properties

Property Type Description
YPort int

Public Methods

Method Description
AddNewFeed ( string audiotoken, AudioInfo audioinfo ) : void
GetAudioPipe ( string token ) : AudioInfo
RemoveFeed ( string audiotoken ) : void
YAudioServer ( int yport = 6517 ) : System
serverChannel_OnOpenEvent ( Yodiwo channel ) : void
serverNegotiation ( Yodiwo channel ) : bool
serverOnMessageReceived ( Yodiwo channel, Yodiwo msg ) : void
startServer ( X509Certificate2 certificate = null ) : void

Method Details

AddNewFeed() public method

public AddNewFeed ( string audiotoken, AudioInfo audioinfo ) : void
audiotoken string
audioinfo AudioInfo
return void

GetAudioPipe() public method

public GetAudioPipe ( string token ) : AudioInfo
token string
return AudioInfo

RemoveFeed() public method

public RemoveFeed ( string audiotoken ) : void
audiotoken string
return void

YAudioServer() public method

public YAudioServer ( int yport = 6517 ) : System
yport int
return System

serverChannel_OnOpenEvent() public method

public serverChannel_OnOpenEvent ( Yodiwo channel ) : void
channel Yodiwo
return void

serverNegotiation() public method

public serverNegotiation ( Yodiwo channel ) : bool
channel Yodiwo
return bool

serverOnMessageReceived() public method

public serverOnMessageReceived ( Yodiwo channel, Yodiwo msg ) : void
channel Yodiwo
msg Yodiwo
return void

startServer() public method

public startServer ( X509Certificate2 certificate = null ) : void
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
return void

Property Details

YPort public_oe property

public int YPort
return int