MCPTTManager
Created by streamwide on 17/11/16.
Properties
Functions
Link copied to clipboard
open fun addKmsKeysMapEntry(@NonNull key: ByteBuffer, @NonNull value: KeyData)
Content copied to clipboard
Link copied to clipboard
open fun addVoipCall( @NonNull context: Context, @NonNull parameters: Parameters, @NonNull caller: PhoneItem, callerLevel: Double, isOutgoing: Boolean, @Nullable receptionTime: String, isManDownCall: Boolean, callPriority: Int, @Nullable callTransferor: String): STWVCall
Content copied to clipboard
open fun addVoipCall( @NonNull context: Context, @NonNull parameters: Parameters, @NonNull caller: PhoneItem, callerLevel: Double, isOutgoing: Boolean, @Nullable receptionTime: String, @Nullable call: Call, isInLargeGroup: Boolean, isManDownCall: Boolean, callPriority: Double, @Nullable callTransferor: String): STWVCall
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
nummber of voip sessions
Link copied to clipboard
Link copied to clipboard
open fun currentActiveEmergencyAmbientListeningSessionsList(isOutgoing: Boolean): List<STWVCall>
Content copied to clipboard
Link copied to clipboard
open fun currentActiveEmergencyPttSessionsList(isOutgoing: Boolean): List<STWVCall>
Content copied to clipboard
Link copied to clipboard
open fun currentActivePttSessionsList(isChannelSession: Boolean): List<STWPTTCall>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun currentActiveSessionsListWithCallStatus(callStatus: Int): List<STWVCall>
Content copied to clipboard
Link copied to clipboard
open fun currentVoipSessionActiveOtherThanChannelAndStreamingSession(): List<STWVCall>
Content copied to clipboard
Link copied to clipboard
Sets the audio panning configuration in the stack VoIP
Link copied to clipboard
exist active channel session
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun existActiveMediaAudioSession(ignoreWalkieTalkieSessions: Boolean): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun existActiveSessionsListBySessionAndMediaType(@NonNull sessionType: SessionType, @NonNull mediaType: MediaType): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun existVoipSessionActiveOtherThanChannelAndStreamingSession(): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
retreive the current channel session
Link copied to clipboard
retreive the current free call session
Link copied to clipboard
retreive the current free call /walkie session
Link copied to clipboard
open fun getCurrentVoipSessionOtherThanChannelAndVideoStreaming(): STWVCall
Content copied to clipboard
Link copied to clipboard
retreive the current walkie talkie session
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
MCPTTManager singleton getter application context
Link copied to clipboard
Link copied to clipboard
Call this method to get the current active call Use this method in case of : - Channel is connected but onHold and active session is a free call.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
retreive the current channel session
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun handleAudioOutputLoudnessGain(@Nullable vCall: STWVCall, volumeGain: Int)
Content copied to clipboard
Link copied to clipboard
open fun handleChangeActiveCallId(@Nullable oldLocalID: String, @NonNull newLocalId: String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
When VOIP_SERVER_FQDN is changed, must to stop all channels in reconnecting state and restart them after 2 sec to let voip stack take into account new voip server list
Link copied to clipboard
Link copied to clipboard
Stop, if needed, geolocation high speed emergency mode if an outgoing emergency call has been ended
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun handleVideoStreamingSource(@NonNull liveStreamCall: STWLiveStreamCall, videoCaptureSource: Int)
Content copied to clipboard
Link copied to clipboard
open fun handleVoipSessionClosed(@NonNull voipSessionItem: VoipSessionItem, isOutgoing: Boolean)
Content copied to clipboard
called when recieved end of session from SIP
Link copied to clipboard
called when recieved end of session from SIP
Link copied to clipboard
Link copied to clipboard
open fun hasVCallWithCallStatus(callStatus: Int, ignoreVideoStreamingSession: Boolean): Boolean
Content copied to clipboard
Check whether session holder exist with call status passed as parameter
Link copied to clipboard
Check if user is talking in any WalkieTalkie (PTT/Channel) session
Link copied to clipboard
init log in file for voip stack
Link copied to clipboard
open fun instantiateNewVCall( @NonNull context: Context, @Nullable call: Call, @NonNull parameters: Parameters, @Nullable threadId: Integer, @NonNull callerParticipant: VoipParticipant, @NonNull calleeParticipantList: List<VoipParticipant>, isOutgoing: Boolean, isLargeGroup: Boolean, @Nullable callTransferor: VoipParticipant, callPriority: Integer): STWVCall
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
session is inactive if the attending participant list is empty
Link copied to clipboard
either al session is reconnecting or not
Link copied to clipboard
open fun refreshAudioPanningForAllConnectedChannels(channelDivision: Int, @Nullable channelID: String)
Content copied to clipboard
Call this method to refresh the audio panning for all connected channels.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeVoIPSession(@NonNull context: Context, @Nullable vCall: STWVCall)
Content copied to clipboard
Link copied to clipboard
Invoke this method to reset all VoIP connections (UA and all VoIP sessions)
Link copied to clipboard
open fun retrieveConferenceSessionByThreadId(@Nullable threadGroupId: String): STWConferenceCall
Content copied to clipboard
Link copied to clipboard
open fun retrieveGroupPttSessionByThreadId(@Nullable threadGroupId: String): STWPTTCall
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setSpeakerState(@Nullable vCall: STWVCall, speakerState: Boolean)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun startChannelSession( @NonNull context: Context, @NonNull params: Parameters, @NonNull callerParticipant: VoipParticipant, isVisitorChannel: Boolean): STWVCall
Content copied to clipboard
Link copied to clipboard
open fun startVideoStreaming( @NonNull context: Context, @Nullable phoneItemList: List<PhoneItem>, @Nullable contactItemList: List<ContactItem>, @NonNull priority: SessionSipPriority): STWLiveStreamCall
Content copied to clipboard
start video session -create STWLiveStreamCall if not created -create stack if not created -start the session
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
stop all session
Link copied to clipboard
open fun stopVoipSession(@NonNull context: Context, @Nullable vCall: STWVCall)
Content copied to clipboard
called to stop any session in any state : -
STWVCall.STWVCallConnectionStatus.STWVCallStartedStatus -STWVCall.STWVCallConnectionStatus.STWVCallCallingStatus -STWVCall.STWVCallConnectionStatus.STWVCallRingingStatusLink copied to clipboard
stop all session
Link copied to clipboard
open fun stopVoipSessionToMerge(@NonNull context: Context, @Nullable vCall: STWVCall)
Content copied to clipboard
called to stop live session (free call/ call-in/ call-out) in any state to start the merged call: -
STWVCall.STWVCallConnectionStatus.STWVCallStartedStatus -STWVCall.STWVCallConnectionStatus.STWVCallCallingStatus -STWVCall.STWVCallConnectionStatus.STWVCallRingingStatusLink copied to clipboard
connect and register UA for AlwaysConnected mode
Link copied to clipboard
Link copied to clipboard