C# Class ChatterBox.Client.Universal.Background.Voip.VoipCoordinator

Inheritance: IVoipCoordinator
Exibir arquivo Open project: openpeer/ChatterBox Class Usage Examples

Public Methods

Method Description
SetActiveCall ( OutgoingCallRequest request ) : void
SetActiveIncomingCall ( RelayMessage message, bool videoEnabled ) : void
StartIncomingCall ( RelayMessage message ) : void
StartOutgoingCall ( OutgoingCallRequest request ) : void
StartVoipTask ( ) : System.Threading.Tasks.Task
StopVoip ( ) : void

Private Methods

Method Description
Call_AnswerRequested ( VoipPhoneCall sender, CallAnswerEventArgs args ) : void
Call_EndRequested ( VoipPhoneCall sender, CallStateChangeEventArgs args ) : void
Call_HoldRequested ( VoipPhoneCall sender, CallStateChangeEventArgs args ) : void
Call_RejectRequested ( VoipPhoneCall sender, CallRejectEventArgs args ) : void
Call_ResumeRequested ( VoipPhoneCall sender, CallStateChangeEventArgs args ) : void
SetActiveCall ( string userId, string userName, bool addVideoCaps ) : void
SubscribeToVoipCallEvents ( ) : void

Method Details

SetActiveCall() public method

public SetActiveCall ( OutgoingCallRequest request ) : void
request ChatterBox.Client.Common.Communication.Voip.Dto.OutgoingCallRequest
return void

SetActiveIncomingCall() public method

public SetActiveIncomingCall ( RelayMessage message, bool videoEnabled ) : void
message ChatterBox.Common.Communication.Messages.Relay.RelayMessage
videoEnabled bool
return void

StartIncomingCall() public method

public StartIncomingCall ( RelayMessage message ) : void
message ChatterBox.Common.Communication.Messages.Relay.RelayMessage
return void

StartOutgoingCall() public method

public StartOutgoingCall ( OutgoingCallRequest request ) : void
request ChatterBox.Client.Common.Communication.Voip.Dto.OutgoingCallRequest
return void

StartVoipTask() public method

public StartVoipTask ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StopVoip() public method

public StopVoip ( ) : void
return void