STWLiveStreamCall

open class STWLiveStreamCall : STWVCall

Types

Link copied to clipboard
interface FeedCallback

Functions

Link copied to clipboard
open fun getCallerVideoCaptureSource(): Int
Link copied to clipboard
open fun getStreamingViewerCount(): Int
Link copied to clipboard
open fun getVideoStreamingForwardedFrom(): String
Link copied to clipboard
open fun getVideoStreamingForwardedName(): String
Link copied to clipboard
open fun isDispatcherSession(): Boolean
session configured for dispatcher dispatcher session do not handel the participant event
Link copied to clipboard
open fun isStreaming(): Boolean
Link copied to clipboard
open fun resumeSession()
the only function to resume a session
Link copied to clipboard
open fun setDisplay(@Nullable display: STWSurfaceView): Boolean
Link copied to clipboard
open fun setPreviewDisplay(@Nullable display: STWSurfaceView): Boolean
set the preview Display for the current video stack
Link copied to clipboard
open fun setVideoStreamingForwardedFrom(@Nullable videoStreamingForwardedFrom: String)
Link copied to clipboard
open fun setVideoStreamingForwardedName(@Nullable videoStreamingForwardedName: String)
Link copied to clipboard
open fun startSession()
Link copied to clipboard
open fun startStreamWithouSurface(@Nullable sourceSize: Size, @Nullable feedCallback: STWLiveStreamCall.FeedCallback)
Link copied to clipboard
open fun toggleCamera()

Inherited functions

Link copied to clipboard
open fun canBeMerged(): Boolean
Link copied to clipboard
open fun checkSameRecipient(@NonNull recipients: List<STWRecipient>): Boolean
Link copied to clipboard
open fun enableNoiseReduction(enable: Boolean)
Link copied to clipboard
open fun enableProximitySensor(enable: Boolean)
Link copied to clipboard
open fun enqueueDtmf(dtmf: Int)
Send DTMF signals while connected to a Call Out via PBX
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun exitBustRecorded(): Boolean
Link copied to clipboard
open fun getActiveCamera(): STWCamera
Call this method to get the active camera
Link copied to clipboard
open fun getAllParticipantPhoneItems(): ArrayList<PhoneItem>
get all the participants in this call session
Link copied to clipboard
open fun getAllParticipants(): Array<String>
get all the participants in this call session
Link copied to clipboard
open fun getAllParticipantsCount(): Int
get count of all the participants in this call session
Link copied to clipboard
open fun getAllVoipParticipants(): List<VoipParticipant>
get all the participants in this call session
Link copied to clipboard
open fun getAttendingLinkedChannel(): ArrayList<String>
get all the connected linked Channel
Link copied to clipboard
get all the connected user
Link copied to clipboard
open fun getAttendingParticipants(): Array<String>
get all the connected user
Link copied to clipboard
open fun getAttendingParticipantsCount(): Int
get count of all the connected user
Link copied to clipboard
open fun getAttendingVoipParticipants(): List<VoipParticipant>
get all the connected user
Link copied to clipboard
open fun getAudioVolumeCapture(): Int
Returns the Volume level of the capture audio stream
Link copied to clipboard
open fun getAudioVolumePlay(): Int
Returns the Volume level of the played audio stream
Link copied to clipboard
open fun getAvailableCamera(): List<STWCamera>
This method get the list of available camera Note : Session type should support video
Link copied to clipboard
open fun getBusyParticipantPhoneItems(): ArrayList<PhoneItem>
get all the users who decline the call because they are busy
Link copied to clipboard
open fun getBusyParticipants(): Array<String>
get all the users who decline the call because they are busy
Link copied to clipboard
open fun getBusyParticipantsCount(): Int
get count of all the users who decline the call because they are busy
Link copied to clipboard
open fun getBusyVoipParticipants(): List<VoipParticipant>
get all the users who decline the call because they are busy
Link copied to clipboard
open fun getCallerLevel(): Double
Link copied to clipboard
open fun getCallerParticipant(): VoipParticipant
Link copied to clipboard
open fun getCallerPhoneItem(): PhoneItem
Link copied to clipboard
open fun getCallStatus(): Int
Link copied to clipboard
open fun getCallTransferor(): String
Get the call transferor, if any
Link copied to clipboard
open fun getCallTransferorParticipant(): VoipParticipant
Get the call transferor, if any
Link copied to clipboard
open fun getCallTransferorPhoneNumber(): String
Get the call transferor phone number if exist, null otherwise
Link copied to clipboard
open fun getCallTransferSubType(): String
Link copied to clipboard
open fun getChannelEmergencyInitiator(): String
Link copied to clipboard
open fun getCountParticipantAttendingInSession(): Int
Returns the count of all attending participants ATTENDING ATTENDING_ONHOLD RECONNECTING
Link copied to clipboard
open fun getCountParticipantByState(state: Int): Int
Link copied to clipboard
open fun getCountParticipantInSession(): Int
returns the count of all active participants ATTENDING ATTENDING_ONHOLD RECONNECTING INVITED
Link copied to clipboard
get all the the user that cannot reach the call because they are not allowed (CUG Denied).
Link copied to clipboard
open fun getCugDeniedParticipants(): Array<String>
get all the the user that cannot reach the call because they are not allowed (CUG Denied).
Link copied to clipboard
open fun getCugDeniedParticipantsCount(): Int
get count of all the the user that cannot reach the call because they are not allowed (CUG Denied).
Link copied to clipboard
open fun getCugDeniedVoipParticipants(): List<VoipParticipant>
get all the the user that cannot reach the call because they are not allowed (CUG Denied).
Link copied to clipboard
open fun getCurrentCallType(): Int
Link copied to clipboard
open fun getCurrentParticipantName(@Nullable participant: String): String
Link copied to clipboard
get all the users who decline the call
Link copied to clipboard
open fun getDeclinedParticipants(): Array<String>
get all the users who decline the call
Link copied to clipboard
open fun getDeclinedParticipantsCount(): Int
get count of all the users who decline the call
Link copied to clipboard
open fun getDeclinedVoipParticipants(): List<VoipParticipant>
get all the users who decline the call
get all the the user that cannot reach the call because they are not allowed (Feature not activated).
Link copied to clipboard
open fun getFeatureNotAllowedParticipants(): Array<String>
get all the the user that cannot reach the call because they are not allowed (Feature not activated).
Link copied to clipboard
open fun getFeatureNotAllowedParticipantsCount(): Int
get count of all the the user that cannot reach the call because they are not allowed (Feature not activated).
Link copied to clipboard
open fun getFeatureNotAllowedVoipParticipants(): List<VoipParticipant>
get all the the user that cannot reach the call because they are not allowed (Feature not activated).
Link copied to clipboard
open fun getGroupId(): String
Link copied to clipboard
open fun getHangUpLinkedChannel(): ArrayList<String>
get all the linked channels who hang up
Link copied to clipboard
open fun getHangUpParticipantPhoneItems(): ArrayList<PhoneItem>
get all the users who hang up
Link copied to clipboard
open fun getHangUpParticipants(): Array<String>
get all the user who hang up
Link copied to clipboard
open fun getHangUpParticipantsCount(): Int
get count of all the userwho hang up
Link copied to clipboard
open fun getHangUpVoipParticipants(): List<VoipParticipant>
get all the user who hang up
Link copied to clipboard
Link copied to clipboard
open fun getInvitedLinkedChannel(): ArrayList<String>
get all the invited linked channel to the call (and they are not yet joined or declined the call)
Link copied to clipboard
open fun getInvitedParticipantPhoneItems(): ArrayList<PhoneItem>
get all the invited users to the call (and they are not yet joined or declined the call)
Link copied to clipboard
open fun getInvitedParticipants(): Array<String>
get all the invited users to the call (and they are not yet joined or declined the call)
Link copied to clipboard
open fun getInvitedParticipantsCount(): Int
get count of all the invited users to the call (and they are not yet joined or declined the call)
Link copied to clipboard
open fun getInvitedVoipParticipants(): List<VoipParticipant>
get all the invited users to the call (and they are not yet joined or declined the call)
Link copied to clipboard
open fun getLinkedChannelByState(state: Int): ArrayList<String>
Link copied to clipboard
open fun getLocalID(): String
Link copied to clipboard
open fun getOnHoldLinkedChannel(): ArrayList<String>
get all the on hold linked channel
Link copied to clipboard
open fun getOnHoldParticipantPhoneItems(): ArrayList<PhoneItem>
get all the on hold user
Link copied to clipboard
open fun getOnHoldParticipants(): Array<String>
get all the on hold user
Link copied to clipboard
open fun getOnHoldParticipantsCount(): Int
get count of all the on hold user
Link copied to clipboard
open fun getOnHoldVoipParticipants(): List<VoipParticipant>
get all the on hold user
Link copied to clipboard
open fun getParameters(): Parameters
Link copied to clipboard
open fun getParticipantByState(state: Int): ArrayList<PhoneItem>
Link copied to clipboard
open fun getParticipantNames(): String
Link copied to clipboard
open fun getParticipantType(@Nullable participant: String): Int
Use this method to retrieve the participant type
Link copied to clipboard
open fun getPriority(): Double
Link copied to clipboard
open fun getPriorityLevel(): Int
Use this method to retrieve the priority of the call
Link copied to clipboard
open fun getQosIndicator(): Int
Returns a global qos indicator
Link copied to clipboard
open fun getReceptionTime(): String
Link copied to clipboard
open fun getReconnectingLinkedChannel(): ArrayList<String>
get all the linked channel with reconnecting status, they have a network a problem and they try to reconnect.
Link copied to clipboard
get all the user with reconnecting status, they have a network a problem and they try to reconnect.
Link copied to clipboard
open fun getReconnectingParticipants(): Array<String>
get all the user with reconnecting status, they have a network a problem and they try to reconnect.
Link copied to clipboard
open fun getReconnectingParticipantsCount(): Int
get count of all the user with reconnecting status
Link copied to clipboard
open fun getReconnectingVoipParticipants(): List<VoipParticipant>
get all the user with reconnecting status, they have a network a problem and they try to reconnect.
Link copied to clipboard
open fun getSessionID(): String
Link copied to clipboard
open fun getSessionIdentifier(): String
Link copied to clipboard
open fun getSpeakerState(): Boolean
get speaker state for session ptt voice settings audio output options handled by STWAudioUtil
Link copied to clipboard
open fun getStartCallTime(): Long
Call this method to get the started VoIP call timestamp
Link copied to clipboard
open fun getThreadId(): Integer

open fun getThreadId(@NonNull context: Context): String
Call this method to retrieve the related thread conversation linked to a specific VoIP call Note that : this method has access to data base to retrieve the thread ID
Link copied to clipboard
open fun getTransferToParticipant(): VoipParticipant
Link copied to clipboard
get all the users who did not answer the call
Link copied to clipboard
open fun getUnansweringParticipants(): Array<String>
get all the users who did not answer the call
Link copied to clipboard
open fun getUnansweringParticipantsCount(): Int
get count of all the users who did not answer the call
Link copied to clipboard
open fun getUnansweringVoipParticipants(): List<VoipParticipant>
get all the users who did not answer the call
Link copied to clipboard
open fun getVideoCameraId(): Int
Call this method to get the active camera id
Link copied to clipboard
open fun getVoipParticipantList(): VoipParticipantList
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun iAmOnHold(): Boolean
The user himself is on hold
Link copied to clipboard
open fun isAllOtherParticipantsOnHold(): Boolean
All the others participants are on hold
Link copied to clipboard
open fun isAllParticipantReconnecting(): Boolean
Link copied to clipboard
open fun isAnEmergency(): Boolean
Link copied to clipboard
open fun isCallIn(): Boolean
Link copied to clipboard
open fun isCallOut(): Boolean
Link copied to clipboard
open fun isInLargeGroup(): Boolean
Link copied to clipboard
open fun isManDownCall(): Boolean
Link copied to clipboard
open fun isMaxParticipantToDisplayNotReached(): Boolean
Link copied to clipboard
open fun isMute(): Boolean
Link copied to clipboard
open fun isNoiseReductionEnabled(): Boolean
Link copied to clipboard
open fun isParticipantReachedReceived(): Boolean
participant reached is received when session is outgoing and at least one called party has been reached (that is has received the VoIP session invitation)
Link copied to clipboard
open fun isPrearrangedGroupCall(): Boolean
The pre-arranged PPT group call is a call to a group of which the subscriber is a member of it.
Link copied to clipboard
open fun isReconnecting(): Boolean
Link copied to clipboard
open fun isSessionOnHold(): Boolean
all participants are on hold
Link copied to clipboard
open fun isSessionOutgoing(): Boolean
Link copied to clipboard
open fun isSessionTransferredToExternal(): Boolean
Returns if the session is transferred to an external in order to update the view accordingly: Scenario: User A invites user B User B invites an external user C For user A, the session is not with an external (he was put on hold) For user B, the session is with an external When the user B left the session, for user A the session is now with an external
Link copied to clipboard
open fun isUserAlreadyInSession(@NonNull phoneNumber: String): Boolean
Check whether the user is already in the session or not
Link copied to clipboard
open fun mute(): Boolean
make the call mute
Link copied to clipboard
open fun putOnHold()
the only function that put the stack on hold
Link copied to clipboard
open fun registerForVoipCallTimerListener(@Nullable voipTimerObserver: VoIPTimerObserver)
Call this method to register for VoIP call timer callbacks (on start / on stop / on tick)
Link copied to clipboard
open fun requestParticipantListUpdate(): Boolean
Call this method to request participant list in case of large group call The result will be dispatched with the event com.streamwide.smartms.lib.core.api_ktx.call.events.ParticipantListUpdated
Link copied to clipboard
open fun resetAudio(): Boolean
destroy and restart both speakers and mics
Link copied to clipboard
open fun setAudioCaptureListner(audioCaptureListner: AudioCaptureListner)
Link copied to clipboard
open fun setAudioCaptureSource(audioSource: Int)
Call this method to change the audio Source for the ongoing call.
Link copied to clipboard
open fun setAudioPlayListner(audioPlayListner: AudioPlayListner)
Link copied to clipboard
open fun setAudioPlayUsage(usage: Int)
Call this method to change the usage for the ongoing call.
Link copied to clipboard
open fun setInitialVoipParticipantList(@Nullable voipParticipantList: VoipParticipantList)
Link copied to clipboard
open fun setIsCallIn(isCallIn: Boolean)
Link copied to clipboard
open fun setQosListener(qosListener: QosListener)
Link copied to clipboard
open fun setVideoCameraId(@NonNull camera: STWCamera): Boolean
Use this method to change the camera, Note : Session type should support video
Link copied to clipboard
open fun setVideoCaptureCamera(@NonNull camera: STWCamera): Boolean
Call this method to change the active camera Note : use this method for call type that support use of camera : - Video call : [STWVCallType.STWVCallLiveVideoCallType] - Live streaming : [STWVCallType.
Link copied to clipboard
open fun startFloorControlSound(    @NonNull voipRingtonePath: String,     isLooping: Boolean,     isAsset: Boolean)
Link copied to clipboard
open fun stopFloorControlSound()
Stop floor sound
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun transfer(    @NonNull context: Context,     @Nullable msisdn: String,     isTransferToExternal: Boolean,     isAnonymous: Boolean): Boolean
Call this method to transfer the call to a target participant
Link copied to clipboard
open fun unMute(): Boolean
make the call unmute
Link copied to clipboard
open fun unregisterForVoipCallTimerListener(@Nullable voipTimerObserver: VoIPTimerObserver)
Call this method to unregister from VoIP call timer callbacks (on start / on stop / on tick)
Link copied to clipboard
open fun updateCallParameter(isEmergency: Boolean, isAutomaticFloorRequest: Boolean): Boolean
methode added to the feature "raise channel to emergency mode"
Link copied to clipboard
open fun updateOpenIDToken(): Boolean