프로퍼티 | 타입 | 설명 | |
---|---|---|---|
connectedUsers | ObservableCollection |
메소드 | 설명 | |
---|---|---|
AudioRequestReceived ( string owner, bool isEnable ) : void |
Receive the audio request from other client.
|
|
AudioResponseReceived ( string owner, bool response ) : void |
Receives responese for a sent audio request.
|
|
CameraRequestReceived ( string owner, bool isEnable ) : void |
Receive the camera request from other connected client.
|
|
CameraResponseReceived ( string owner, bool response ) : void |
Receives responese for a sent camera request.
|
|
ConnectedClientsReceived ( string connectedUsers ) : void |
Receives the connected client list from server.
|
|
CreateAndSetupStreamReceiver ( string playerName, MediaType mediaType ) : void |
Initializes the MediaStreamReceiver for receive media data.
|
|
MainPage ( ) : System | ||
MainPage_Loaded ( object sender, |
It initializes the connection window and open it.
|
|
ReceiveMessage ( string owner, string message ) : void |
Receive messages from server.
|
|
conWindow_ConnectedSuccessfully ( object sender, GenericEventArgs |
It initializes set GUI component values and creates new instance of MediaStreamSender for send media data through server in further action.
|
|
streamReceiver_StreamStateChanged ( object sender, GenericEventArgs |
Indicates statechanges of streamReceiver object.
|
|
streamSender_StreamStateChanged ( object sender, GenericEventArgs |
Indicates statechanges of streamSender object.
|
|
winMedia_ResponseSelected ( object sender, |
Sends the selected response to the request owner who sent the media request and initializes the MediaStreamSender object to send audi/video data.
|
메소드 | 설명 | |
---|---|---|
DestroyStreamReceiver ( ) : void |
Reset streamReceiver object.
|
|
InitializeComponent ( ) : void | ||
btnAudio_Click ( object sender, |
Sends an audio conversation request to the selected client.
|
|
btnCameraTest_Click ( object sender, |
||
btnCamera_Click ( object sender, |
Send a video conversation request to the selected client.
|
|
btnSend_Click ( object sender, |
Send text message to the selected client.
|
|
txtMsgInput_KeyUp ( object sender, System.Windows.Input.KeyEventArgs e ) : void |
public AudioRequestReceived ( string owner, bool isEnable ) : void | ||
owner | string | The request owner who sent request. |
isEnable | bool | If true audio request received otherwise the audio conversation hang up by other party. |
리턴 | void |
public AudioResponseReceived ( string owner, bool response ) : void | ||
owner | string | The responding party nickname. |
response | bool | If true, camera request is accepted otherwise don't accepted. |
리턴 | void |
public CameraRequestReceived ( string owner, bool isEnable ) : void | ||
owner | string | The request owner who sent request. |
isEnable | bool | If true video request received otherwise the video conversation hang up by other party. |
리턴 | void |
public CameraResponseReceived ( string owner, bool response ) : void | ||
owner | string | The responding party nickname. |
response | bool | If true, camera request is accepted otherwise don't accepted. |
리턴 | void |
public ConnectedClientsReceived ( string connectedUsers ) : void | ||
connectedUsers | string | String array with connected client' nickname. |
리턴 | void |
public CreateAndSetupStreamReceiver ( string playerName, MediaType mediaType ) : void | ||
playerName | string | |
mediaType | MediaType | |
리턴 | void |
public MainPage_Loaded ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
public ReceiveMessage ( string owner, string message ) : void | ||
owner | string | The client who sent the message. |
message | string | Message data |
리턴 | void |
public conWindow_ConnectedSuccessfully ( object sender, GenericEventArgs |
||
sender | object | |
e | GenericEventArgs |
|
리턴 | void |
public streamReceiver_StreamStateChanged ( object sender, GenericEventArgs |
||
sender | object | |
e | GenericEventArgs |
|
리턴 | void |
public streamSender_StreamStateChanged ( object sender, GenericEventArgs |
||
sender | object | |
e | GenericEventArgs |
|
리턴 | void |
public winMedia_ResponseSelected ( object sender, |
||
sender | object | |
e | ||
리턴 | void |