C# Class VATRP.Core.Services.LinphoneService

Inheritance: ILinphoneService
Afficher le fichier Open project: VTCSecureLLC/ace-windows

Méthodes publiques

Méthode Description
AcceptCall ( IntPtr callPtr, bool rttEnabled, bool muteMicrophone, bool muteSpeaker, bool enableVideo ) : void
AcceptRTTProposition ( IntPtr callPtr ) : void
CanMakeVideoCall ( ) : bool
CardDAVSync ( ) : void
ClearAccountInformation ( ) : void
ClearProxyInformation ( ) : void
DeclineCall ( IntPtr callPtr ) : void
EnableEchoCancellation ( bool enable ) : void
EnableSelfView ( bool enable ) : void
EnableVideo ( bool enable, bool automaticallyInitiate, bool automaticallyAccept ) : void
FillCodecsList ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : void
FindCall ( IntPtr callPtr ) : VATRP.Core.Model.VATRPCall
GetAVPFMode ( ) : int
GetAvailableCameras ( ) : List
GetAvailableMicrophones ( ) : List
GetAvailableSpeakers ( ) : List
GetCallAudioStats ( IntPtr callPtr, VATRP.LinphoneWrapper.Structs.LinphoneCallStats &stat ) : void
GetCallParams ( IntPtr callPtr ) : IntPtr
GetCallVideoStats ( IntPtr callPtr, VATRP.LinphoneWrapper.Structs.LinphoneCallStats &stat ) : void
GetFrameRate ( IntPtr curparams, bool sending ) : float
GetHistorySize ( string username ) : int
GetMediaEncryption ( IntPtr curparams ) : LinphoneMediaEncryption
GetMessageStatus ( IntPtr messagePtr ) : LinphoneChatMessageState
GetSelectedCamera ( ) : VATRP.Core.Model.VATRPDevice
GetSelectedMicrophone ( ) : VATRP.Core.Model.VATRPDevice
GetSelectedSpeakers ( ) : VATRP.Core.Model.VATRPDevice
GetTechnicalSupportInfo ( ) : string
GetTechnicalSupportInfo ( IntPtr callPtr ) : string
GetUsedAudioCodec ( IntPtr callParams ) : string
GetUsedPorts ( int &sipPort, int &rtpPort ) : void
GetUsedVideoCodec ( IntPtr callParams ) : string
GetVideoSize ( IntPtr curparams, bool sending ) : VATRP.LinphoneWrapper.Structs.MSVideoSizeDef
IsCallMuted ( ) : bool
IsCameraEnabled ( IntPtr callPtr ) : bool
IsEchoCancellationEnabled ( ) : bool
IsRttEnabled ( IntPtr callPtr ) : bool
IsSelfViewEnabled ( ) : bool
IsSpeakerMuted ( ) : bool
IsVideoEnabled ( VATRP.Core.Model.VATRPCall call ) : bool
LinphoneService ( VATRP.Core.Services.ServiceManagerBase manager ) : System
LoadChatRoom ( VATRPChat chat ) : void
LockCalls ( ) : void
MakeCall ( string destination, bool videoOn, bool rttEnabled, bool muteMicrophone, bool muteSpeaker, bool enableVideo, string geolocation ) : void
MarkChatAsRead ( IntPtr cr ) : void
MuteCall ( bool muteCall ) : void
MuteSpeaker ( bool muteSpeaker ) : void
PauseCall ( IntPtr callPtr ) : void
PlayDtmf ( char dtmf, int duration ) : void
Register ( ) : bool
RemoveCardDAVAuthInfo ( ) : void
ResumeCall ( IntPtr callPtr ) : void
SendCameraSwtichAsInfo ( IntPtr callPtr, bool muteCamera ) : void
SendChar ( uint charCode, IntPtr callPtr, IntPtr &chatRoomPtr, IntPtr &chatMsgPtr ) : bool
SendChatMessage ( VATRPChat chat, string message, IntPtr &msgPtr ) : bool
SendDtmf ( VATRP.Core.Model.VATRPCall call, char dtmf ) : void
SendDtmfAsSipInfo ( bool use_info ) : void
SendDtmfAsTelephoneEvent ( bool use_te ) : void
SendRTTProposition ( IntPtr callPtr ) : void
SetAVPFMode ( LinphoneAVPFMode mode, LinphoneRTCPMode rtcpMode ) : void
SetCamera ( string deviceId ) : void
SetCaptureDevice ( string deviceId ) : void
SetIncomingCallRingingTimeout ( int timeout ) : void
SetPreviewVideoSize ( MSVideoSize w, MSVideoSize h ) : void
SetPreviewVideoSizeByName ( string name ) : bool
SetRTCPFeedback ( string settingValue ) : void
SetSpeakers ( string deviceId ) : void
SetVideoCallWindowHandle ( IntPtr hWnd, bool reset = false ) : void
SetVideoPreviewWindowHandle ( IntPtr hWnd, bool reset = false ) : void
Start ( ) : bool
Start ( bool enableLogs ) : bool
Stop ( ) : bool
SubscribeForVideoMWI ( string newVideoMailUri ) : bool
SwitchSelfVideo ( ) : void
TerminateCall ( IntPtr callPtr, string message ) : bool
ToggleMute ( ) : void
ToggleVideo ( bool enableVideo, IntPtr callPtr ) : void
UnlockCalls ( ) : void
Unregister ( bool deferred ) : bool
UpdateAdvancedParameters ( VATRP.Core.Model.VATRPAccount account ) : bool
UpdateCodecsAccessibility ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : bool
UpdateMediaSettings ( VATRP.Core.Model.VATRPAccount account ) : void
UpdateNativeCodecs ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : bool
UpdateNetworkingParameters ( VATRP.Core.Model.VATRPAccount account ) : bool
UpdatePrivateDataPath ( ) : void
configureFmtpCodec ( ) : void

Private Methods

Méthode Description
DoUnregister ( ) : void
GetMd5Hash ( string user, string password, string realm ) : string
LinphoneMainLoop ( ) : void
LoadAudioCodecs ( ) : void
LoadVideoCodecs ( ) : void
OnCallLogUpdated ( IntPtr lc, IntPtr newcl ) : void
OnCallStateChanged ( IntPtr lc, IntPtr callPtr, LinphoneCallState cstate, string message ) : void
OnCallStatsUpdated ( IntPtr lc, IntPtr callPtr, IntPtr statsPtr ) : void
OnCardDAVContactCreated ( IntPtr list, IntPtr lf ) : void
OnCardDAVContactRemoved ( IntPtr list, IntPtr lf ) : void
OnCardDAVContactUpdated ( IntPtr list, IntPtr newFriend, IntPtr oldFriend ) : void
OnCardDAVSyncChanged ( IntPtr list, LinphoneFriendListSyncStatus status, IntPtr msgPtr ) : void
OnGlobalStateChanged ( IntPtr lc, LinphoneGlobalState gstate, string message ) : void
OnInfoEventReceived ( IntPtr lc, IntPtr callPtr, IntPtr msgPtr ) : void
OnIsComposingReceived ( IntPtr lc, IntPtr chatPtr ) : void
OnLinphoneLog ( IntPtr domain, OrtpLogLevel lev, IntPtr fmt, IntPtr args ) : void
OnMessageReceived ( IntPtr lc, IntPtr roomPtr, IntPtr message ) : void
OnMessageStatusChanged ( IntPtr msgPtr, LinphoneChatMessageState state ) : void
OnNetworkReachable ( IntPtr lc, bool reachable ) : void
OnNotifyEventReceived ( IntPtr lc, IntPtr eventPtr, string notified_event, IntPtr bodyPtr ) : void
OnRegistrationChanged ( IntPtr lc, IntPtr cfg, LinphoneRegistrationState cstate, string message ) : void
SetTimeout ( System.Action callback, int miliseconds ) : void
SetTimeout ( int miliseconds ) : void
UpdateMediaEncryption ( ) : void
setFmtpSetting ( IntPtr ptPtr, string sendFmtp, string recvFmtp ) : void

Method Details

AcceptCall() public méthode

public AcceptCall ( IntPtr callPtr, bool rttEnabled, bool muteMicrophone, bool muteSpeaker, bool enableVideo ) : void
callPtr System.IntPtr
rttEnabled bool
muteMicrophone bool
muteSpeaker bool
enableVideo bool
Résultat void

AcceptRTTProposition() public méthode

public AcceptRTTProposition ( IntPtr callPtr ) : void
callPtr System.IntPtr
Résultat void

CanMakeVideoCall() public méthode

public CanMakeVideoCall ( ) : bool
Résultat bool

CardDAVSync() public méthode

public CardDAVSync ( ) : void
Résultat void

ClearAccountInformation() public méthode

public ClearAccountInformation ( ) : void
Résultat void

ClearProxyInformation() public méthode

public ClearProxyInformation ( ) : void
Résultat void

DeclineCall() public méthode

public DeclineCall ( IntPtr callPtr ) : void
callPtr System.IntPtr
Résultat void

EnableEchoCancellation() public méthode

public EnableEchoCancellation ( bool enable ) : void
enable bool
Résultat void

EnableSelfView() public méthode

public EnableSelfView ( bool enable ) : void
enable bool
Résultat void

EnableVideo() public méthode

public EnableVideo ( bool enable, bool automaticallyInitiate, bool automaticallyAccept ) : void
enable bool
automaticallyInitiate bool
automaticallyAccept bool
Résultat void

FillCodecsList() public méthode

public FillCodecsList ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : void
account VATRP.Core.Model.VATRPAccount
codecType CodecType
Résultat void

FindCall() public méthode

public FindCall ( IntPtr callPtr ) : VATRP.Core.Model.VATRPCall
callPtr System.IntPtr
Résultat VATRP.Core.Model.VATRPCall

GetAVPFMode() public méthode

public GetAVPFMode ( ) : int
Résultat int

GetAvailableCameras() public méthode

public GetAvailableCameras ( ) : List
Résultat List

GetAvailableMicrophones() public méthode

public GetAvailableMicrophones ( ) : List
Résultat List

GetAvailableSpeakers() public méthode

public GetAvailableSpeakers ( ) : List
Résultat List

GetCallAudioStats() public méthode

public GetCallAudioStats ( IntPtr callPtr, VATRP.LinphoneWrapper.Structs.LinphoneCallStats &stat ) : void
callPtr System.IntPtr
stat VATRP.LinphoneWrapper.Structs.LinphoneCallStats
Résultat void

GetCallParams() public méthode

public GetCallParams ( IntPtr callPtr ) : IntPtr
callPtr System.IntPtr
Résultat System.IntPtr

GetCallVideoStats() public méthode

public GetCallVideoStats ( IntPtr callPtr, VATRP.LinphoneWrapper.Structs.LinphoneCallStats &stat ) : void
callPtr System.IntPtr
stat VATRP.LinphoneWrapper.Structs.LinphoneCallStats
Résultat void

GetFrameRate() public méthode

public GetFrameRate ( IntPtr curparams, bool sending ) : float
curparams System.IntPtr
sending bool
Résultat float

GetHistorySize() public méthode

public GetHistorySize ( string username ) : int
username string
Résultat int

GetMediaEncryption() public méthode

public GetMediaEncryption ( IntPtr curparams ) : LinphoneMediaEncryption
curparams System.IntPtr
Résultat LinphoneMediaEncryption

GetMessageStatus() public méthode

public GetMessageStatus ( IntPtr messagePtr ) : LinphoneChatMessageState
messagePtr System.IntPtr
Résultat LinphoneChatMessageState

GetSelectedCamera() public méthode

public GetSelectedCamera ( ) : VATRP.Core.Model.VATRPDevice
Résultat VATRP.Core.Model.VATRPDevice

GetSelectedMicrophone() public méthode

public GetSelectedMicrophone ( ) : VATRP.Core.Model.VATRPDevice
Résultat VATRP.Core.Model.VATRPDevice

GetSelectedSpeakers() public méthode

public GetSelectedSpeakers ( ) : VATRP.Core.Model.VATRPDevice
Résultat VATRP.Core.Model.VATRPDevice

GetTechnicalSupportInfo() public méthode

public GetTechnicalSupportInfo ( ) : string
Résultat string

GetTechnicalSupportInfo() public méthode

public GetTechnicalSupportInfo ( IntPtr callPtr ) : string
callPtr System.IntPtr
Résultat string

GetUsedAudioCodec() public méthode

public GetUsedAudioCodec ( IntPtr callParams ) : string
callParams System.IntPtr
Résultat string

GetUsedPorts() public méthode

public GetUsedPorts ( int &sipPort, int &rtpPort ) : void
sipPort int
rtpPort int
Résultat void

GetUsedVideoCodec() public méthode

public GetUsedVideoCodec ( IntPtr callParams ) : string
callParams System.IntPtr
Résultat string

GetVideoSize() public méthode

public GetVideoSize ( IntPtr curparams, bool sending ) : VATRP.LinphoneWrapper.Structs.MSVideoSizeDef
curparams System.IntPtr
sending bool
Résultat VATRP.LinphoneWrapper.Structs.MSVideoSizeDef

IsCallMuted() public méthode

public IsCallMuted ( ) : bool
Résultat bool

IsCameraEnabled() public méthode

public IsCameraEnabled ( IntPtr callPtr ) : bool
callPtr System.IntPtr
Résultat bool

IsEchoCancellationEnabled() public méthode

public IsEchoCancellationEnabled ( ) : bool
Résultat bool

IsRttEnabled() public méthode

public IsRttEnabled ( IntPtr callPtr ) : bool
callPtr System.IntPtr
Résultat bool

IsSelfViewEnabled() public méthode

public IsSelfViewEnabled ( ) : bool
Résultat bool

IsSpeakerMuted() public méthode

public IsSpeakerMuted ( ) : bool
Résultat bool

IsVideoEnabled() public méthode

public IsVideoEnabled ( VATRP.Core.Model.VATRPCall call ) : bool
call VATRP.Core.Model.VATRPCall
Résultat bool

LinphoneService() public méthode

public LinphoneService ( VATRP.Core.Services.ServiceManagerBase manager ) : System
manager VATRP.Core.Services.ServiceManagerBase
Résultat System

LoadChatRoom() public méthode

public LoadChatRoom ( VATRPChat chat ) : void
chat VATRPChat
Résultat void

LockCalls() public méthode

public LockCalls ( ) : void
Résultat void

MakeCall() public méthode

public MakeCall ( string destination, bool videoOn, bool rttEnabled, bool muteMicrophone, bool muteSpeaker, bool enableVideo, string geolocation ) : void
destination string
videoOn bool
rttEnabled bool
muteMicrophone bool
muteSpeaker bool
enableVideo bool
geolocation string
Résultat void

MarkChatAsRead() public méthode

public MarkChatAsRead ( IntPtr cr ) : void
cr System.IntPtr
Résultat void

MuteCall() public méthode

public MuteCall ( bool muteCall ) : void
muteCall bool
Résultat void

MuteSpeaker() public méthode

public MuteSpeaker ( bool muteSpeaker ) : void
muteSpeaker bool
Résultat void

PauseCall() public méthode

public PauseCall ( IntPtr callPtr ) : void
callPtr System.IntPtr
Résultat void

PlayDtmf() public méthode

public PlayDtmf ( char dtmf, int duration ) : void
dtmf char
duration int
Résultat void

Register() public méthode

public Register ( ) : bool
Résultat bool

RemoveCardDAVAuthInfo() public méthode

public RemoveCardDAVAuthInfo ( ) : void
Résultat void

ResumeCall() public méthode

public ResumeCall ( IntPtr callPtr ) : void
callPtr System.IntPtr
Résultat void

SendCameraSwtichAsInfo() public méthode

public SendCameraSwtichAsInfo ( IntPtr callPtr, bool muteCamera ) : void
callPtr System.IntPtr
muteCamera bool
Résultat void

SendChar() public méthode

public SendChar ( uint charCode, IntPtr callPtr, IntPtr &chatRoomPtr, IntPtr &chatMsgPtr ) : bool
charCode uint
callPtr System.IntPtr
chatRoomPtr System.IntPtr
chatMsgPtr System.IntPtr
Résultat bool

SendChatMessage() public méthode

public SendChatMessage ( VATRPChat chat, string message, IntPtr &msgPtr ) : bool
chat VATRPChat
message string
msgPtr System.IntPtr
Résultat bool

SendDtmf() public méthode

public SendDtmf ( VATRP.Core.Model.VATRPCall call, char dtmf ) : void
call VATRP.Core.Model.VATRPCall
dtmf char
Résultat void

SendDtmfAsSipInfo() public méthode

public SendDtmfAsSipInfo ( bool use_info ) : void
use_info bool
Résultat void

SendDtmfAsTelephoneEvent() public méthode

public SendDtmfAsTelephoneEvent ( bool use_te ) : void
use_te bool
Résultat void

SendRTTProposition() public méthode

public SendRTTProposition ( IntPtr callPtr ) : void
callPtr System.IntPtr
Résultat void

SetAVPFMode() public méthode

public SetAVPFMode ( LinphoneAVPFMode mode, LinphoneRTCPMode rtcpMode ) : void
mode LinphoneAVPFMode
rtcpMode LinphoneRTCPMode
Résultat void

SetCamera() public méthode

public SetCamera ( string deviceId ) : void
deviceId string
Résultat void

SetCaptureDevice() public méthode

public SetCaptureDevice ( string deviceId ) : void
deviceId string
Résultat void

SetIncomingCallRingingTimeout() public méthode

public SetIncomingCallRingingTimeout ( int timeout ) : void
timeout int
Résultat void

SetPreviewVideoSize() public méthode

public SetPreviewVideoSize ( MSVideoSize w, MSVideoSize h ) : void
w MSVideoSize
h MSVideoSize
Résultat void

SetPreviewVideoSizeByName() public méthode

public SetPreviewVideoSizeByName ( string name ) : bool
name string
Résultat bool

SetRTCPFeedback() public méthode

public SetRTCPFeedback ( string settingValue ) : void
settingValue string
Résultat void

SetSpeakers() public méthode

public SetSpeakers ( string deviceId ) : void
deviceId string
Résultat void

SetVideoCallWindowHandle() public méthode

public SetVideoCallWindowHandle ( IntPtr hWnd, bool reset = false ) : void
hWnd System.IntPtr
reset bool
Résultat void

SetVideoPreviewWindowHandle() public méthode

public SetVideoPreviewWindowHandle ( IntPtr hWnd, bool reset = false ) : void
hWnd System.IntPtr
reset bool
Résultat void

Start() public méthode

public Start ( ) : bool
Résultat bool

Start() public méthode

public Start ( bool enableLogs ) : bool
enableLogs bool
Résultat bool

Stop() public méthode

public Stop ( ) : bool
Résultat bool

SubscribeForVideoMWI() public méthode

public SubscribeForVideoMWI ( string newVideoMailUri ) : bool
newVideoMailUri string
Résultat bool

SwitchSelfVideo() public méthode

public SwitchSelfVideo ( ) : void
Résultat void

TerminateCall() public méthode

public TerminateCall ( IntPtr callPtr, string message ) : bool
callPtr System.IntPtr
message string
Résultat bool

ToggleMute() public méthode

public ToggleMute ( ) : void
Résultat void

ToggleVideo() public méthode

public ToggleVideo ( bool enableVideo, IntPtr callPtr ) : void
enableVideo bool
callPtr System.IntPtr
Résultat void

UnlockCalls() public méthode

public UnlockCalls ( ) : void
Résultat void

Unregister() public méthode

public Unregister ( bool deferred ) : bool
deferred bool
Résultat bool

UpdateAdvancedParameters() public méthode

public UpdateAdvancedParameters ( VATRP.Core.Model.VATRPAccount account ) : bool
account VATRP.Core.Model.VATRPAccount
Résultat bool

UpdateCodecsAccessibility() public méthode

public UpdateCodecsAccessibility ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : bool
account VATRP.Core.Model.VATRPAccount
codecType CodecType
Résultat bool

UpdateMediaSettings() public méthode

public UpdateMediaSettings ( VATRP.Core.Model.VATRPAccount account ) : void
account VATRP.Core.Model.VATRPAccount
Résultat void

UpdateNativeCodecs() public méthode

public UpdateNativeCodecs ( VATRP.Core.Model.VATRPAccount account, CodecType codecType ) : bool
account VATRP.Core.Model.VATRPAccount
codecType CodecType
Résultat bool

UpdateNetworkingParameters() public méthode

public UpdateNetworkingParameters ( VATRP.Core.Model.VATRPAccount account ) : bool
account VATRP.Core.Model.VATRPAccount
Résultat bool

UpdatePrivateDataPath() public méthode

public UpdatePrivateDataPath ( ) : void
Résultat void

configureFmtpCodec() public méthode

public configureFmtpCodec ( ) : void
Résultat void