MeetingSDK

open class MeetingSDK

The MeetingSDK class is the entry point to the Visionable Android SDK. It is a singleton that provides static access to all methods. It must be initialized through initializeSDK method and released using destroySDK to ensure all resources allocated will be released.

Types

ConnectionStatus
Link copied to clipboard
enum ConnectionStatus
DebugLevel
Link copied to clipboard
enum DebugLevel
NetworkQuality
Link copied to clipboard
enum NetworkQuality
TYPE
Link copied to clipboard
enum TYPE

Functions

audioSetTraceLevel
Link copied to clipboard
open fun audioSetTraceLevel(level: MeetingSDK.DebugLevel)
audioSetTraceLevelSets the trace debug level for audio library
audioTraceOutputHistory
Link copied to clipboard
open fun audioTraceOutputHistory(filename: String)
Write audio log messages from native libraries to file specified.
coreMeetingTraceOutputHistory
Link copied to clipboard
open fun coreMeetingTraceOutputHistory(filename: String)
Write CoreMeeting/MeetingSDK log messages from native libraries to file specified.
deleteAllLogFiles
Link copied to clipboard
open fun deleteAllLogFiles(): Boolean
Delete all .
deleteLogFile
Link copied to clipboard
open fun deleteLogFile(fileName: String): Boolean
Delete the specified log file.
destroySDK
Link copied to clipboard
open fun destroySDK()
Cleans up low level audio and video.
disableAudioInput
Link copied to clipboard
open fun disableAudioInput(): Boolean
Disables the input microphone for the device.
open fun disableAudioInput(deviceName: String): Boolean
Disables the input microphone for the specfied device.
disableAudioInputPreview
Link copied to clipboard
open fun disableAudioInputPreview(device: String): Boolean
Disables (stops) preview mode for Audio Input.
disableAudioOutput
Link copied to clipboard
open fun disableAudioOutput(): Boolean
Disables the audio output for the last device enabled , essentially muting all other participants in the meeting.
open fun disableAudioOutput(deviceName: String): Boolean
Disables the audio output for the specified device, essentially muting all other participants in the meeting.
disableAudioOutputPreview
Link copied to clipboard
open fun disableAudioOutputPreview(device: String): Boolean
Disables preview mode for Audio Output.
disableImageCapture
Link copied to clipboard
open fun disableImageCapture(deviceId: Int): Boolean
disableNetworkVideo
Link copied to clipboard
open fun disableNetworkVideo(url: String): Boolean
Disables streaming video from a network camera.
disableScreenCapture
Link copied to clipboard
open fun disableScreenCapture(): Boolean
Stops capturing local screen.After disabling capture, the application will receive a notification that the stream has been removed and can remove its container view.Please see the FAQ section on "Screen Sharing" for further instructions.
disableVideoCapture
Link copied to clipboard
open fun disableVideoCapture(deviceName: String): Boolean
Stops capturing local video.After disabling capture, the application will receive a notification that the stream has been removed and can remove its container view.
disableVideoPreview
Link copied to clipboard
open fun disableVideoPreview(deviceName: String): Boolean
Stops local video preview for specified device
disableVideoStream
Link copied to clipboard
open fun disableVideoStream(streamId: String): Boolean
Disables showing the participant's video stream.A disabled stream will not show up again until re-enabled.
enableActiveLogging
Link copied to clipboard
open fun enableActiveLogging(filename: String)
enableActiveLoggingSet whether or not you'd like all log messages to be written to a file as they come in.
enableAudio
Link copied to clipboard
open fun enableAudio(): Boolean
Enables both audio input and output for your device.
enableAudioInput
Link copied to clipboard
open fun enableAudioInput(deviceName: String): Boolean
Enables the input microphone for the device.
enableAudioInputPreview
Link copied to clipboard
open fun enableAudioInputPreview(device: String): Boolean
Enables preview mode for Audio Input.
enableAudioOutput
Link copied to clipboard
open fun enableAudioOutput(deviceName: String): Boolean
Enables the audio output for the device, allowing the local participant to hear other participants in the meeting.Must be one of the device names returned by getAudioOutputDevices.
enableAudioOutputPreview
Link copied to clipboard
open fun enableAudioOutputPreview(device: String, soundPath: String): Boolean
Enables preview mode for Audio Output.
enableCombinedLogs
Link copied to clipboard
open fun enableCombinedLogs(enable: Boolean)
enableCombinedLogsSet whether or not you'd like IGAudio/IGVideo/CoreMeeting/MeetingSDK log messages to all be returned (and possibly buffered)to the same location
enableImageCapture
Link copied to clipboard
open fun enableImageCapture(displayName: String, directory: String, mode: String): Int
enableLogForwarding
Link copied to clipboard
open fun enableLogForwarding(enable: Boolean)
enableLogForwardingSet whether or not you'd like IGAudio/IGVideo messages to be returned to you a line at a time via the INotificationCallback onLogMessage method.
enableNetworkVideo
Link copied to clipboard
open fun enableNetworkVideo(url: String, resolution: String, name: String): Boolean
Enables streaming video from a network camera.
enableScreenCapture
Link copied to clipboard
open fun enableScreenCapture()
open fun enableScreenCapture(deviceName: String, resolution: String): Boolean
Enables sharing local device screen with desired resolution.
enableVideoCapture
Link copied to clipboard
open fun enableVideoCapture(deviceName: String, resolution: String, blurring: Boolean): Boolean
Enables video to be captured and shared in meeting on specified device using the specified resolution.
enableVideoPreview
Link copied to clipboard
open fun enableVideoPreview(deviceName: String, resolution: String): Boolean
Enables a video preview on specified device using the specified resolution and NO blurring.
open fun enableVideoPreview(deviceName: String, resolution: String, enableBlurring: Boolean): Boolean
Enables a video preview on specified device using the specified resolution.
enableVideoStream
Link copied to clipboard
open fun enableVideoStream(participant: Participant, streamId: String): Boolean
Enable showing the participant's video stream.Whenever a new video stream becomes available in the meeting, the application will receive a notification of a new participant stream.The stream must be enabled by application using this function before it can be displayed on screen.
exitMeeting
Link copied to clipboard
open fun exitMeeting()
Exit meeting and clean up any resources allocated.
findParticipantByUUID
Link copied to clipboard
open fun findParticipantByUUID(uuid: String): Participant
Returns a Participant object corresponding to the passed UUID, null otherwise
flushCurrentLogFile
Link copied to clipboard
open fun flushCurrentLogFile(): Boolean
Forces any current buffered log messages to be written to the current log file
getAudioInputDevices
Link copied to clipboard
open fun getAudioInputDevices(devices: ArrayList<String>): String
Returns a list of the available local audio input devices.
getAudioOutputDevices
Link copied to clipboard
open fun getAudioOutputDevices(devices: ArrayList<String>): String
Returns a list of the available local audio output devices.
getLocalParticipant
Link copied to clipboard
open fun getLocalParticipant(): Participant
Retrieve the local participant, the user of device - this can be called anytime after joinMeeting returns successfully.
getLogFiles
Link copied to clipboard
open fun getLogFiles(logFiles: ArrayList<String>): Boolean
Retrieve an array of all the log files (.
getParticipantByAudioStreamId
Link copied to clipboard
open fun getParticipantByAudioStreamId(streamId: String): Participant
Retrieve meeting participant using a audio streamId.
getParticipantByVideoStreamId
Link copied to clipboard
open fun getParticipantByVideoStreamId(streamId: String): Participant
Retrieve meeting participant using a video streamId.
getParticipants
Link copied to clipboard
open fun getParticipants(): ArrayList<Participant>
Retrieves list of participants in meeting.
getSupportedVideoSendResolutions
Link copied to clipboard
open fun getSupportedVideoSendResolutions(deviceName: String): Array<String>
Retrieves codecs/resolutions supported by the device name specified
getTimeZone
Link copied to clipboard
open fun getTimeZone(): String
Returns the current time zone ID
getVideoDevices
Link copied to clipboard
open fun getVideoDevices(devices: ArrayList<String>, screens: ArrayList<String>)
Gets available video devices.
getVideoInfoByStreamId
Link copied to clipboard
open fun getVideoInfoByStreamId(streamId: String): VideoInfo
Retrieve VideoInfo using a video streamId.
imageCapturePutImage
Link copied to clipboard
open fun imageCapturePutImage(deviceId: Int, imageBuffer: Array<Byte>, width: Int, height: Int, size: Int): Boolean
initializeSDK
Link copied to clipboard
open fun initializeSDK(context: Context): Boolean
Creates MeetingSDK singleton and loads native libraries.This must be called before any other SDK methods.
isScreenShare
Link copied to clipboard
open fun isScreenShare(streamId: String): Boolean
Returns true if the streamId specified represents a screen share.
joinMeeting
Link copied to clipboard
open fun joinMeeting(server: String, meetingUUID: String, key: String, userUUID: String, name: String, joinDoneCallback: IJoinMeetingCompleteCallback)
Adds you as a participant in the meeting and set up your device to connect with audio and video services.Assumes you are connecting to a V2 serverIf method succeeds your application will begin to receive notifications when new participants are added to the meeting,when participant's audio and video streams are available, and when the participants leave the meeting.
joinMeetingWithToken
Link copied to clipboard
open fun joinMeetingWithToken(server: String, meetingUUID: String, token: String, userUUID: String, name: String, joinDoneCallback: IJoinMeetingCompleteCallback)
Adds you as a participant in the meeting and set up your device to connect with audio and video services.Assumes you are connecting to a V3 or later serverIf method succeeds your application will begin to receive notifications when new participants are added to the meeting,when participant's audio and video streams are available, and when the participants leave the meeting.
joinMeetingWithTokenAndJWT
Link copied to clipboard
open fun joinMeetingWithTokenAndJWT(server: String, meetingUUID: String, token: String, jwt: String, name: String, joinDoneCallback: IJoinMeetingCompleteCallback)
logMemoryStats
Link copied to clipboard
open fun logMemoryStats(when: String)
pauseVideoFrameProcessing
Link copied to clipboard
open fun pauseVideoFrameProcessing(streamId: String)
Pauses video frame processing for the given stream id.
playSound
Link copied to clipboard
open fun playSound(soundBytes: Array<Byte>, len: Int): Long
Plays sound (WAV data) through underlying Audio library (takes advantage ofecho cancellation logic)
resetCurrentLogFile
Link copied to clipboard
open fun resetCurrentLogFile(): Boolean
Remove all logging entries from the current log file, but allow future logging to continue into the file
resumeVideoFrameProcessing
Link copied to clipboard
open fun resumeVideoFrameProcessing(streamId: String)
Resumes video frame processing for the given stream id.
screenCaptureCancelled
Link copied to clipboard
open fun screenCaptureCancelled()
called by ScreenShareActvity when user cancelled request to share
sendLogMessage
Link copied to clipboard
open fun sendLogMessage(message: String)
setAudioInputVolume
Link copied to clipboard
open fun setAudioInputVolume(volume: Int): Boolean
Sets audio input volume for device.Currently not implemented on Android or IOS and will always return false.
setAudioOutputVolume
Link copied to clipboard
open fun setAudioOutputVolume(volume: Int): Boolean
Sets audio output volume for device.Currently not implemented on Android or IOS and will always return false.
setAudioStreamVolume
Link copied to clipboard
open fun setAudioStreamVolume(streamID: String, volume: Int): Boolean
Adjusts the volume for the provided audio stream.
setDelegate
Link copied to clipboard
open fun setDelegate(@Nullable() delegate: MeetingSDKDelegate)
Sets the delegate class instance (implementation of INotificationCallback protocol)to be used to receive messages from SDKMessages will be received in the thread managed by JNI C++ code
open fun setDelegate(@Nullable() delegate: MeetingSDKDelegate, looper: Looper)
Sets the delegate class instance (implementation of INotificationCallback protocol)to be used to receive messages from SDKMessages will be received in the thread managed by passed Looper object
setDeviceRotation
Link copied to clipboard
open fun setDeviceRotation()
Method to notify SDK that device has changed its orientation.The SDK will determine the device's current rotation.
setLogDirectory
Link copied to clipboard
open fun setLogDirectory(path: String): Boolean
Set the directory to which active logging will take place.
setTraceLevel
Link copied to clipboard
open fun setTraceLevel(level: MeetingSDK.DebugLevel)
setTraceLevelSets the trace debug level for both audio, video and CoreMeeting libraries
stopSound
Link copied to clipboard
open fun stopSound(id: Long): Boolean
Stops playback of sound currently being played with specified id
trimCurrentLogFile
Link copied to clipboard
open fun trimCurrentLogFile(numBytes: Int): Boolean
Removes all but the most recent "numBytes" from the current log file
videoSetTraceLevel
Link copied to clipboard
open fun videoSetTraceLevel(level: MeetingSDK.DebugLevel)
videoSetTraceLevelSets the trace debug level for video library
videoTraceOutputHistory
Link copied to clipboard
open fun videoTraceOutputHistory(filename: String)
Write video log messages from native libraries to file specified.

Properties

ANDROID_BACK_CAMERA
Link copied to clipboard
val ANDROID_BACK_CAMERA: String
String representing the back facing camera on your device
ANDROID_FRONT_CAMERA
Link copied to clipboard
val ANDROID_FRONT_CAMERA: String
String representing the front facing camera on your device
ANDROID_SCREEN_CAPTURE
Link copied to clipboard
val ANDROID_SCREEN_CAPTURE: String
String representing the local screen capture on your device
AUDIO_DEFAULT_DEVICE
Link copied to clipboard
val AUDIO_DEFAULT_DEVICE: String
H_261_Standard
Link copied to clipboard
val H_261_Standard: String
HD
Link copied to clipboard
val HD: String
HD1_NAME
Link copied to clipboard
val HD1_NAME: String
HD2_NAME
Link copied to clipboard
val HD2_NAME: String
HD3_NAME
Link copied to clipboard
val HD3_NAME: String
HIGH_4K_NAME
Link copied to clipboard
val HIGH_4K_NAME: String
LARGE_NAME
Link copied to clipboard
val LARGE_NAME: String
lastError
Link copied to clipboard
private open val lastError: String
MEDIUM_NAME
Link copied to clipboard
val MEDIUM_NAME: String
ROTATIONS
Link copied to clipboard
open val ROTATIONS: Array<Int>
Array representing the Android system rotation angles
SD
Link copied to clipboard
val SD: String
SMALL_NAME
Link copied to clipboard
val SMALL_NAME: String
TAG
Link copied to clipboard
val TAG: String