Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

activePublishers - Variable in class com.opentok.android.Session
 
activeStreams - Variable in class com.opentok.android.Session
 
activeSubscribers - Variable in class com.opentok.android.Session
 
apiKey - Variable in class com.opentok.android.Session
 
archiveListener - Variable in class com.opentok.android.Session
 
ARGB - Static variable in class com.opentok.android.BaseVideoCapturer
Defines the value for the ARGB pixel format used by the BaseVideoCapturer.CaptureSettings.format property.
attachToSession(Session) - Method in class com.opentok.android.PublisherKit
 
attachToSession(Session) - Method in class com.opentok.android.SubscriberKit
 
audioBytesReceived - Variable in class com.opentok.android.SubscriberKit.SubscriberAudioStats
The total number of audio bytes received by the subscriber.
AudioDeviceManager - Class in com.opentok.android
Use the AudioDeviceManager to set a custom audio device to be used by the app.
AudioDeviceManager() - Constructor for class com.opentok.android.AudioDeviceManager
 
audioLevelListener - Variable in class com.opentok.android.PublisherKit
 
audioLevelListener - Variable in class com.opentok.android.SubscriberKit
 
audioPacketsLost - Variable in class com.opentok.android.SubscriberKit.SubscriberAudioStats
The total number of audio packets lost by the subscriber.
audioPacketsReceived - Variable in class com.opentok.android.SubscriberKit.SubscriberAudioStats
The total number of audio packets lost by the subscriber.
AudioSettings(int, int) - Constructor for class com.opentok.android.BaseAudioDevice.AudioSettings
 
audioTrack(boolean) - Method in class com.opentok.android.Publisher.Builder
Sets whether to include an audio track in the published stream (true, the default) or not (false).
audioTrack(boolean) - Method in class com.opentok.android.PublisherKit.Builder
Sets whether to include an audio track in the published stream (true, the default) or not (false).

B

BaseAudioDevice - Class in com.opentok.android
Defines an audio device for use in a session.
BaseAudioDevice() - Constructor for class com.opentok.android.BaseAudioDevice
 
BaseAudioDevice.AudioBus - Class in com.opentok.android
The audio bus marshals audio data between the network and the audio device.
BaseAudioDevice.AudioSettings - Class in com.opentok.android
Defines the format of the audio when a custom audio driver is used.
BaseAudioDevice.OutputMode - Enum in com.opentok.android
Defines values for the BaseAudioDevice.setOutputMode(OutputMode mode) method.
BaseVideoCapturer - Class in com.opentok.android
Defines a video capturer to be used by a PublisherKit object.
BaseVideoCapturer() - Constructor for class com.opentok.android.BaseVideoCapturer
 
BaseVideoCapturer.CaptureSettings - Class in com.opentok.android
Defines the capture settings for a video capturer.
BaseVideoCapturer.CaptureSwitch - Interface in com.opentok.android
An interface for defining how the BaseVideoCapturer.CaptureSwitch.cycleCamera() method of a Publisher object that implements a custom video capturer.
BaseVideoRenderer - Class in com.opentok.android
Defines a video renderer to be used by a PublisherKit object or a SubscriberKit object.
BaseVideoRenderer() - Constructor for class com.opentok.android.BaseVideoRenderer
 
BaseVideoRenderer.Frame - Class in com.opentok.android
Defines a frame of a video stream.
buffer - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 
build() - Method in class com.opentok.android.Publisher.Builder
Returns a new Publisher instance based on the Publisher.Builder settings.
build() - Method in class com.opentok.android.PublisherKit.Builder
Returns a new PublisherKit instance based on the PublisherKit.Builder settings.
build() - Method in class com.opentok.android.Session.Builder
Returns a new Session instance based on the Session.Builder settings.
build() - Method in class com.opentok.android.Subscriber.Builder
Returns a new Subscriber instance based on the Builder settings.
build() - Method in class com.opentok.android.SubscriberKit.Builder
Returns a new SubscriberKit instance based on the Builder settings.
Builder(Context) - Constructor for class com.opentok.android.Publisher.Builder
Instantiates a Publisher.Builder object.
Builder(Context) - Constructor for class com.opentok.android.PublisherKit.Builder
Instantiates a PublisherKit.Builder object.
Builder(Context, String, String) - Constructor for class com.opentok.android.Session.Builder
Use this builder to create a Session instance.
Builder(Context, Stream) - Constructor for class com.opentok.android.Subscriber.Builder
Instantiates a Subscriber.Builder object.
Builder(Context, Stream) - Constructor for class com.opentok.android.SubscriberKit.Builder
Instantiates a SubscriberKit.Builder object.

C

cameraFrameRate - Variable in class com.opentok.android.Publisher
 
cameraListener - Variable in class com.opentok.android.Publisher
 
cameraResolution - Variable in class com.opentok.android.Publisher
 
canPublish - Variable in class com.opentok.android.Session.Capabilities
Whether the client can publish streams to the session (true) or not (false).
canSubscribe - Variable in class com.opentok.android.Session.Capabilities
Whether the client can subscribe to streams in the session (true) or not (false).
Capabilities() - Constructor for class com.opentok.android.Session.Capabilities
 
capturer(BaseVideoCapturer) - Method in class com.opentok.android.Publisher.Builder
Sets the video capturer to use for the publisher.
capturer(BaseVideoCapturer) - Method in class com.opentok.android.PublisherKit.Builder
Sets the video capturer to use for the publisher.
capturer - Variable in class com.opentok.android.PublisherKit
 
CaptureSettings() - Constructor for class com.opentok.android.BaseVideoCapturer.CaptureSettings
 
com.opentok.android - package com.opentok.android
 
compareTo(Connection) - Method in class com.opentok.android.Connection
 
compareTo(Stream) - Method in class com.opentok.android.Stream
 
connect(String) - Method in class com.opentok.android.Session
Connects to the OpenTok session provided in the Session constructor, using the provided authentication token.
Connection - Class in com.opentok.android
Represents a connection between a client and an OpenTok session.
Connection(String, long, String) - Constructor for class com.opentok.android.Connection
 
connection - Variable in class com.opentok.android.Session
 
connection - Variable in class com.opentok.android.Stream
 
connectionEventsSuppressed(Boolean) - Method in class com.opentok.android.Session.Builder
Prevent connection events (such as Session.ConnectionListener.onConnectionCreated(Session session, Connection connection)) from being dispatched.
connectionEventsSuppressed - Variable in class com.opentok.android.Session
 
connectionId - Variable in class com.opentok.android.Connection
 
connectionListener - Variable in class com.opentok.android.Session
 
constructRenderer(Context) - Static method in class com.opentok.android.VideoRenderFactory
Returns a renderer based on session preferences.
context - Variable in class com.opentok.android.PublisherKit
 
creationTime - Variable in class com.opentok.android.Connection
 
creationTime - Variable in class com.opentok.android.Stream
 
cycleCamera() - Method in interface com.opentok.android.BaseVideoCapturer.CaptureSwitch
Defines the behavior of the Publisher.cycleCamera() method for a Publisher object that uses the custom video capturer.
cycleCamera() - Method in class com.opentok.android.Publisher
Cycles between cameras, if there are multiple cameras on the device.

D

d(String, Object...) - Static method in class com.opentok.android.OtLog
 
d(Throwable, String, Object...) - Static method in class com.opentok.android.OtLog
 
d(String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
d(Throwable, String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
data - Variable in class com.opentok.android.Connection
 
DefaultSessionOptions() - Constructor for class com.opentok.android.Session.DefaultSessionOptions
 
destroy() - Method in class com.opentok.android.BaseVideoCapturer
Destroys the BaseVideoCapturer object.
destroy() - Method in class com.opentok.android.Publisher
 
destroy() - Method in class com.opentok.android.PublisherKit
Releases this object, including all hardware and UI resources bound to it.
destroy() - Method in class com.opentok.android.SubscriberKit
Releases this object, including all hardware and UI resources bound to it.
destroyCapturer() - Method in class com.opentok.android.BaseAudioDevice
Stops the audio capturer thread.
destroyRenderer() - Method in class com.opentok.android.BaseAudioDevice
Stops the audio renderer thread.
detachFromSession(Session) - Method in class com.opentok.android.PublisherKit
 
detachFromSession(Session) - Method in class com.opentok.android.SubscriberKit
 
disconnect() - Method in class com.opentok.android.Session
Disconnects from this session.

E

e(String, Object...) - Static method in class com.opentok.android.OtLog
 
e(Throwable, String, Object...) - Static method in class com.opentok.android.OtLog
 
e(String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
e(Throwable, String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
equals(Object) - Method in class com.opentok.android.Connection
 
equals(Object) - Method in class com.opentok.android.Stream
 
equals(int, int) - Method in class com.opentok.android.VideoUtils.Size
Checks to see if the Size object matches the specified height and width.
equals(Object) - Method in class com.opentok.android.VideoUtils.Size
Checks to see if this Size object has the same dimensions as the Size object passed in.
errorCode - Variable in class com.opentok.android.OpentokError
 
errorDomain - Variable in class com.opentok.android.OpentokError
 
errorMessage - Variable in class com.opentok.android.OpentokError
 
expectedDelay - Variable in class com.opentok.android.BaseVideoCapturer.CaptureSettings
The estimated capture delay, in milliseconds, of the video.

F

finalize() - Method in class com.opentok.android.BaseAudioDevice
 
finalize() - Method in class com.opentok.android.BaseVideoCapturer
 
finalize() - Method in class com.opentok.android.BaseVideoRenderer.Frame
 
finalize() - Method in class com.opentok.android.Publisher
 
finalize() - Method in class com.opentok.android.PublisherKit
 
finalize() - Method in class com.opentok.android.Session
 
finalize() - Method in class com.opentok.android.SubscriberKit
 
format - Variable in class com.opentok.android.BaseVideoCapturer.CaptureSettings
The pixel format.
format - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 
fps - Variable in class com.opentok.android.BaseVideoCapturer.CaptureSettings
The estimated number of frames per second in the video.
Frame() - Constructor for class com.opentok.android.BaseVideoRenderer.Frame
 
frameRate(Publisher.CameraCaptureFrameRate) - Method in class com.opentok.android.Publisher.Builder
Sets the frame rate of the published video.
fromTypeCode(int) - Static method in enum com.opentok.android.OpentokError.ErrorCode
Build Type from error code.

G

getAudioBus() - Method in class com.opentok.android.BaseAudioDevice
Gets the AudioBus instance that this audio device uses.
getAudioDevice() - Static method in class com.opentok.android.AudioDeviceManager
Gets the BaseAudioDevice instance.
getAudioFallbackEnabled() - Method in class com.opentok.android.PublisherKit
Whether the stream uses the audio-fallback feature (true) or not (false).
getBuffer() - Method in class com.opentok.android.BaseVideoRenderer.Frame
Returns the byte buffer containing the video frame data, which is in I420 format.
getCameraId() - Method in class com.opentok.android.Publisher
Deprecated.
getCameraIndex() - Method in interface com.opentok.android.BaseVideoCapturer.CaptureSwitch
Defines the behavior of the deprecated Publisher.getCameraId() method for a Publisher object that uses the custom video capturer.
getCapabilities() - Method in class com.opentok.android.Session
Indicates whether the client can publish and subscribe to streams in the session, based on the role assigned to the token used to connect to the session.
getCapturer() - Method in class com.opentok.android.PublisherKit
Returns the video capturer used by this publisher.
getCaptureSettings() - Method in class com.opentok.android.BaseAudioDevice
Returns the AudioSettings object defining the audio capture settings used by this device.
getCaptureSettings() - Method in class com.opentok.android.BaseVideoCapturer
Returns the settings for the video capturer.
getConnection() - Method in class com.opentok.android.Session
Returns the Connection corresponding to this client's connection to this Session.
getConnection() - Method in class com.opentok.android.Stream
Returns the Connection object corresponding to this Stream.
getConnectionId() - Method in class com.opentok.android.Connection
The unique ID for this connection.
getCreationTime() - Method in class com.opentok.android.Connection
Returns the time at which the connection was created on the OpenTok server.
getCreationTime() - Method in class com.opentok.android.Stream
Returns the time when this stream first joined the OpenTok session.
getData() - Method in class com.opentok.android.Connection
A string containing metadata describing the connection.
getErrorCode() - Method in enum com.opentok.android.OpentokError.ErrorCode
Returns errorCode.
getErrorCode() - Method in class com.opentok.android.OpentokError
Returns the error code.
getErrorDomain() - Method in class com.opentok.android.OpentokError
Returns the error domain.
getEstimatedCaptureDelay() - Method in class com.opentok.android.BaseAudioDevice
The estimated capturing delay in ms.
getEstimatedRenderDelay() - Method in class com.opentok.android.BaseAudioDevice
Returns the estimated rendering delay in ms.
getHeight() - Method in class com.opentok.android.BaseVideoRenderer.Frame
Returns the height of the video frame, in pixels.
getMessage() - Method in class com.opentok.android.OpentokError
 
getName() - Method in class com.opentok.android.PublisherKit
The stream name.
getName() - Method in class com.opentok.android.Stream
The name of the stream.
getNumChannels() - Method in class com.opentok.android.BaseAudioDevice.AudioSettings
Returns the number of audio channels.
getOutputMode() - Method in class com.opentok.android.BaseAudioDevice
Returns the audio output mode for the app.
getPreferredFrameRate() - Method in class com.opentok.android.SubscriberKit
Returns the preferred frame rate for the subscriber's stream.
getPreferredResolution() - Method in class com.opentok.android.SubscriberKit
Returns the preferred resolution for the subscriber's stream.
getPublishAudio() - Method in class com.opentok.android.PublisherKit
Whether the Publisher is publishing audio (true) or not ( false).
getPublisherVideoType() - Method in class com.opentok.android.PublisherKit
Returns the type of video for this publisher.
getPublishVideo() - Method in class com.opentok.android.PublisherKit
Whether the Publisher is publishing video (true) or not ( false).
getRenderer() - Method in class com.opentok.android.PublisherKit
Returns the video renderer for this publisher.
getRenderer() - Method in class com.opentok.android.SubscriberKit
Returns the video renderer for this subscriber.
getRenderSettings() - Method in class com.opentok.android.BaseAudioDevice
Returns the AudioSettings object defining the audio rendering settings used by this device.
getSampleRate() - Method in class com.opentok.android.BaseAudioDevice.AudioSettings
Returns the sample rate (in samples per second).
getSession() - Method in class com.opentok.android.PublisherKit
Returns the Session bound to this Publisher instance.
getSession() - Method in class com.opentok.android.Stream
The session (an Session object) the stream is bound to.
getSession() - Method in class com.opentok.android.SubscriberKit
Returns the Session that the subscriber is bound to (by calling the connect() method of the Session object).
getSessionId() - Method in class com.opentok.android.Session
Returns the Session ID passed in during instantiation.
getStream() - Method in class com.opentok.android.PublisherKit
Returns the stream object corresponding the the Publisher's stream.
getStream() - Method in class com.opentok.android.SubscriberKit
Returns the Stream that this instance is bound to.
getStreamId() - Method in class com.opentok.android.Stream
Gets a unique identifier for this stream.
getStreamVideoType() - Method in class com.opentok.android.Stream
Specifies the type of video for this stream.
getSubscribeToAudio() - Method in class com.opentok.android.SubscriberKit
Whether the Subscriber is subscribing to audio or not.
getSubscribeToVideo() - Method in class com.opentok.android.SubscriberKit
Whether the Subscriber is subscribing to audio or not.
getVideoHeight() - Method in class com.opentok.android.Stream
The height of the stream, in pixels.
getVideoType() - Method in enum com.opentok.android.PublisherKit.PublisherKitVideoType
 
getVideoType() - Method in enum com.opentok.android.Stream.StreamVideoType
 
getVideoWidth() - Method in class com.opentok.android.Stream
The width of the stream, in pixels.
getView() - Method in class com.opentok.android.BaseVideoRenderer
Returns the View containing the video.
getView() - Method in class com.opentok.android.PublisherKit
Returns the android.view.View object that contains the Publisher video.
getView() - Method in class com.opentok.android.SubscriberKit
Returns the android.view.View object that contains the Subscriber video.
getView() - Method in class com.opentok.android.TextureViewRenderer
 
getWidth() - Method in class com.opentok.android.BaseVideoRenderer.Frame
Returns the width of the video frame, in pixels.

H

handler - Variable in class com.opentok.android.PublisherKit
 
hasAudio - Variable in class com.opentok.android.Stream
 
hasAudio() - Method in class com.opentok.android.Stream
Whether this stream has audio (true) or not (false).
hashCode() - Method in class com.opentok.android.Connection
 
hashCode() - Method in class com.opentok.android.Stream
 
hasVideo - Variable in class com.opentok.android.Stream
 
hasVideo() - Method in class com.opentok.android.Stream
Whether this stream has video (true) or not (false).
height - Variable in class com.opentok.android.BaseVideoCapturer.CaptureSettings
The height of the video, in pixels.
height - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 
height - Variable in class com.opentok.android.VideoUtils.Size
The height, in pixels.

I

i(String, Object...) - Static method in class com.opentok.android.OtLog
 
i(Throwable, String, Object...) - Static method in class com.opentok.android.OtLog
 
i(String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
i(Throwable, String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
init() - Method in class com.opentok.android.BaseVideoCapturer
Initializes the video capturer.
initCapturer() - Method in class com.opentok.android.BaseAudioDevice
Requests the audio device to initialize itself for audio sampling.
initCapturerNative(BaseVideoCapturer) - Method in class com.opentok.android.PublisherKit
 
initRenderer() - Method in class com.opentok.android.BaseAudioDevice
Requests the audio device to initialize itself for rendering.
initRendererNative(BaseVideoRenderer) - Method in class com.opentok.android.PublisherKit
 
internalBuffer - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 
isCamera2Capable() - Method in class com.opentok.android.Session.DefaultSessionOptions
 
isCamera2Capable() - Method in class com.opentok.android.Session.SessionOptions
Return true for devices that can use the Camera2 API for capturing images.
isCaptureStarted() - Method in class com.opentok.android.BaseVideoCapturer
Whether video is being captured (true) or not (false).
isHwDecodingSupported() - Method in class com.opentok.android.Session.ConfigurableSessionOptions
 
isHwDecodingSupported() - Method in class com.opentok.android.Session.DefaultSessionOptions
 
isHwDecodingSupported() - Method in class com.opentok.android.Session.SessionOptions
Return true for devices that should use the Android MediaCodec class to decode video.
isHwDecodingSupported() - Method in interface com.opentok.android.Session.SessionOptionsProvider
Deprecated.
Return true for devices that should use the Android MediaCodec class to decode video.
isMirroredX() - Method in class com.opentok.android.BaseVideoRenderer.Frame
Whether the video frame is mirrored about the x-axis (true) or not (false).

L

LogToken() - Constructor for class com.opentok.android.OtLog.LogToken
 
LogToken(boolean) - Constructor for class com.opentok.android.OtLog.LogToken
 
LogToken(String, boolean) - Constructor for class com.opentok.android.OtLog.LogToken
 

M

mirrored - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 

N

name(String) - Method in class com.opentok.android.Publisher.Builder
Sets the name of the published video.
name(String) - Method in class com.opentok.android.PublisherKit.Builder
Sets the name of the published video.
name - Variable in class com.opentok.android.Stream
 
NO_PREFERRED_FRAMERATE - Static variable in class com.opentok.android.SubscriberKit
Defines a reset value to passed into the SubscriberKit.setPreferredFrameRate(float preferredFrameRate) method.
NO_PREFERRED_RESOLUTION - Static variable in class com.opentok.android.SubscriberKit
Defines a reset value to passed into the SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution) method.
NV21 - Static variable in class com.opentok.android.BaseVideoCapturer
Defines the value for the NV21 pixel format used by the BaseVideoCapturer.CaptureSettings.format property.

O

onArchiveStarted(Session, String, String) - Method in interface com.opentok.android.Session.ArchiveListener
Called when an archive of the session starts recording.
onArchiveStarted(String, String) - Method in class com.opentok.android.Session
Called when an archive of the session starts recording.
onArchiveStopped(Session, String) - Method in interface com.opentok.android.Session.ArchiveListener
Called when an archive of the session stops being recorded.
onArchiveStopped(String) - Method in class com.opentok.android.Session
Called when an archive of the session stops being recorded.
onAudioLevelUpdated(PublisherKit, float) - Method in interface com.opentok.android.PublisherKit.AudioLevelListener
Called periodically to report the audio level of the publisher.
onAudioLevelUpdated(SubscriberKit, float) - Method in interface com.opentok.android.SubscriberKit.AudioLevelListener
Called periodically to report the audio level of the subscriber.
onAudioStats(SubscriberKit, SubscriberKit.SubscriberAudioStats) - Method in interface com.opentok.android.SubscriberKit.AudioStatsListener
Called periodically to report audio statistics for the subscriber.
onCameraChanged(Publisher, int) - Method in interface com.opentok.android.Publisher.CameraListener
Invoked when the publisher changes the active camera.
onCameraChanged(int) - Method in class com.opentok.android.Publisher
Invoked when the publisher changes the active camera.
onCameraError(Publisher, OpentokError) - Method in interface com.opentok.android.Publisher.CameraListener
 
onCameraError(OpentokError) - Method in class com.opentok.android.Publisher
 
onConnected() - Method in class com.opentok.android.Session
Invoked when the client connects to the OpenTok session.
onConnected(Session) - Method in interface com.opentok.android.Session.SessionListener
Invoked when the client connects to the OpenTok session.
onConnected() - Method in class com.opentok.android.SubscriberKit
Invoked when the instance has successfully connected to the stream and begins playing media.
onConnected(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.SubscriberListener
Invoked when the instance has successfully connected to the stream and begins playing media.
onConnectionCreated(Session, Connection) - Method in interface com.opentok.android.Session.ConnectionListener
Invoked when another client connects to the session.
onConnectionCreated(Connection) - Method in class com.opentok.android.Session
Invoked when another client connects to the session.
onConnectionDestroyed(Session, Connection) - Method in interface com.opentok.android.Session.ConnectionListener
Invoked when another client leaves the session.
onConnectionDestroyed(Connection) - Method in class com.opentok.android.Session
Invoked when another client leaves the session.
onDisconnected() - Method in class com.opentok.android.Session
Invoked when the client is no longer connected to the OpenTok session.
onDisconnected(Session) - Method in interface com.opentok.android.Session.SessionListener
Invoked when the client is no longer connected to the OpenTok session.
onDisconnected() - Method in class com.opentok.android.SubscriberKit
Invoked when the instance has successfully destroyed.
onDisconnected(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.StreamListener
Called when the subscriber's stream has been interrupted.
onDisconnected(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.SubscriberListener
Invoked when the instance has successfully destroyed.
onError(OpentokError) - Method in class com.opentok.android.PublisherKit
Invoked when the publisher fails.
onError(PublisherKit, OpentokError) - Method in interface com.opentok.android.PublisherKit.PublisherListener
Invoked when the publisher fails.
onError(OpentokError) - Method in class com.opentok.android.Session
Invoked when something goes wrong when connecting or connected to the session.
onError(Session, OpentokError) - Method in interface com.opentok.android.Session.SessionListener
Invoked when something goes wrong when connecting or connected to the session.
onError(OpentokError) - Method in class com.opentok.android.SubscriberKit
Invoked when a subscriber has failed to connect to the OpenTok server.
onError(SubscriberKit, OpentokError) - Method in interface com.opentok.android.SubscriberKit.SubscriberListener
Invoked when a subscriber has failed to connect to the OpenTok server.
onFrame(BaseVideoRenderer.Frame) - Method in class com.opentok.android.BaseVideoRenderer
Called when a frame is rendered for the stream.
onFrame(BaseVideoRenderer.Frame) - Method in class com.opentok.android.TextureViewRenderer
 
onPause() - Method in class com.opentok.android.BaseAudioDevice
Call this method when the activity pauses.
onPause() - Method in class com.opentok.android.BaseVideoCapturer
Call this method when the activity pauses.
onPause() - Method in class com.opentok.android.BaseVideoRenderer
Call this method when the activity pauses.
onPause() - Method in class com.opentok.android.PublisherKit
Do not call directly; call Session.onPause() instead.
onPause() - Method in class com.opentok.android.Session
Call this method when the app's activity pauses.
onPause() - Method in class com.opentok.android.TextureViewRenderer
 
onReconnected() - Method in class com.opentok.android.Session
Invoked when the local client has reconnected to the OpenTok session after its connection was lost temporarily.
onReconnected(Session) - Method in interface com.opentok.android.Session.ReconnectionListener
Invoked when the local client has reconnected to the OpenTok session after its network connection was lost temporarily.
onReconnected(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.StreamListener
Called when the subscriber's stream has resumed, after the SubscriberKit.SubscriberListener.onDisconnected(SubscriberKit subscriber) method is called.
onReconnecting() - Method in class com.opentok.android.Session
Invoked when the local client has lost its connection to an OpenTok session and is trying to reconnect.
onReconnecting(Session) - Method in interface com.opentok.android.Session.ReconnectionListener
Invoked when the local client has lost its connection to an OpenTok session and is trying to reconnect.
onResume() - Method in class com.opentok.android.BaseAudioDevice
Call this method when the activity resumes.
onResume() - Method in class com.opentok.android.BaseVideoCapturer
Call this method when the activity resumes.
onResume() - Method in class com.opentok.android.BaseVideoRenderer
Call this method when the activity resumes.
onResume() - Method in class com.opentok.android.PublisherKit
Do not call directly; call Session.onResume() instead.
onResume() - Method in class com.opentok.android.Session
Call this method when the app's activity resumes.
onResume() - Method in class com.opentok.android.TextureViewRenderer
 
onSignalReceived(String, String, Connection) - Method in class com.opentok.android.Session
Called when a signal is received in the session.
onSignalReceived(Session, String, String, Connection) - Method in interface com.opentok.android.Session.SignalListener
Called when a signal is received in the session.
onStreamCreated(Stream) - Method in class com.opentok.android.PublisherKit
Invoked when the publisher's stream is created.
onStreamCreated(PublisherKit, Stream) - Method in interface com.opentok.android.PublisherKit.PublisherListener
Invoked when the publisher's stream is created.
onStreamDestroyed(Stream) - Method in class com.opentok.android.PublisherKit
Invoked when the publisher's stream is destroyed.
onStreamDestroyed(PublisherKit, Stream) - Method in interface com.opentok.android.PublisherKit.PublisherListener
Invoked when the publisher's stream is destroyed.
onStreamDisconnected() - Method in class com.opentok.android.SubscriberKit
Called when the subscriber's stream has been interrupted.
onStreamDropped(Stream) - Method in class com.opentok.android.Session
Invoked when another client stops publishing a stream to this OpenTok session.
onStreamDropped(Session, Stream) - Method in interface com.opentok.android.Session.SessionListener
Invoked when another client stops publishing a stream to this OpenTok session.
onStreamHasAudioChanged(Stream, int) - Method in class com.opentok.android.Session
Called when a stream in the session changes between having audio and not having audio.
onStreamHasAudioChanged(Session, Stream, boolean) - Method in interface com.opentok.android.Session.StreamPropertiesListener
Called when a stream in the session changes between having audio and not having audio.
onStreamHasVideoChanged(Stream, int) - Method in class com.opentok.android.Session
Called when a stream in the session changes between having video and not having video.
onStreamHasVideoChanged(Session, Stream, boolean) - Method in interface com.opentok.android.Session.StreamPropertiesListener
Called when a stream in the session changes between having video and not having video.
onStreamReceived(Stream) - Method in class com.opentok.android.Session
Invoked when a there is a new stream published by another client in this OpenTok session.
onStreamReceived(Session, Stream) - Method in interface com.opentok.android.Session.SessionListener
Invoked when a there is a new stream published by another client in this OpenTok session.
onStreamReconnected() - Method in class com.opentok.android.SubscriberKit
Called when the subscriber's stream has resumed, after the SubscriberKit.onStreamDisconnected() method is called.
onStreamVideoDimensionsChanged(Stream, int, int) - Method in class com.opentok.android.Session
Called when the video dimensions of a stream in the session change.
onStreamVideoDimensionsChanged(Session, Stream, int, int) - Method in interface com.opentok.android.Session.StreamPropertiesListener
Called when the video dimensions of a stream in the session change.
onStreamVideoTypeChanged(Stream, Stream.StreamVideoType) - Method in class com.opentok.android.Session
Called when the video type of a stream in the session change.
onStreamVideoTypeChanged(Session, Stream, Stream.StreamVideoType) - Method in interface com.opentok.android.Session.StreamPropertiesListener
Called when the video type of a stream in the session change.
onVideoDataReceived() - Method in class com.opentok.android.SubscriberKit
Invoked when an subscriber initially receives video data.
onVideoDataReceived(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.VideoListener
Invoked when an subscriber initially receives video data.
onVideoDisabled(String) - Method in class com.opentok.android.SubscriberKit
Called when the subscriber stops receiving video.
onVideoDisabled(SubscriberKit, String) - Method in interface com.opentok.android.SubscriberKit.VideoListener
Called when the subscriber stops receiving video.
onVideoDisableWarning() - Method in class com.opentok.android.SubscriberKit
Called when the OpenTok Media Router determines that the stream quality has degraded and the video will be disabled if the quality degrades further.
onVideoDisableWarning(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.VideoListener
Called when the OpenTok Media Router determines that the stream quality has degraded and the video will be disabled if the quality degrades further.
onVideoDisableWarningLifted() - Method in class com.opentok.android.SubscriberKit
Called when the OpenTok Media Router determines that the stream quality has improved to the point at which the video being disabled is not an immediate risk.
onVideoDisableWarningLifted(SubscriberKit) - Method in interface com.opentok.android.SubscriberKit.VideoListener
Called when the OpenTok Media Router determines that the stream quality has improved to the point at which the video being disabled is not an immediate risk.
onVideoEnabled(String) - Method in class com.opentok.android.SubscriberKit
Called when the subscriber's video stream starts (when there previously was no video) or resumes (after video was disabled).
onVideoEnabled(SubscriberKit, String) - Method in interface com.opentok.android.SubscriberKit.VideoListener
Called when the subscriber's video stream starts (when there previously was no video) or resumes (after video was disabled).
onVideoPropertiesChanged(boolean) - Method in class com.opentok.android.BaseVideoRenderer
Called when the stream changes between having video and not having video (audio-only).
onVideoPropertiesChanged(boolean) - Method in class com.opentok.android.TextureViewRenderer
 
onVideoStats(SubscriberKit, SubscriberKit.SubscriberVideoStats) - Method in interface com.opentok.android.SubscriberKit.VideoStatsListener
Called periodically to report video statistics for the subscriber.
OpentokError - Class in com.opentok.android
Defines errors thrown by the OpenTok Android SDK.
OpentokError(OpentokError.Domain, int, String) - Constructor for class com.opentok.android.OpentokError
Builds an OpentokError based on its domain, error code and message.
OpentokError.Domain - Enum in com.opentok.android
Defines error domains values for OpentokError objects.
OpentokError.ErrorCode - Enum in com.opentok.android
Defines error code values for OpentokError objects.
OtLog - Class in com.opentok.android
 
OtLog() - Constructor for class com.opentok.android.OtLog
 
OtLog.LogToken - Class in com.opentok.android
 

P

provideBufferFrame(ByteBuffer, int, int, int, int, boolean) - Method in class com.opentok.android.BaseVideoCapturer
Provide a frame of video as a byte buffer.
provideBufferFramePlanar(ByteBuffer, ByteBuffer, ByteBuffer, int, int, int, int, int, int, int, int, int, boolean) - Method in class com.opentok.android.BaseVideoCapturer
 
provideByteArrayFrame(byte[], int, int, int, int, boolean) - Method in class com.opentok.android.BaseVideoCapturer
Provide a frame of video as a byte array.
provideIntArrayFrame(int[], int, int, int, int, boolean) - Method in class com.opentok.android.BaseVideoCapturer
Provide a frame of video as an array of integers.
publish(PublisherKit) - Method in class com.opentok.android.Session
Starts a Publisher streaming to the session.
Publisher - Class in com.opentok.android
Used to capture an audio-video stream from the device's microphone and camera for use in an OpenTok session.
Publisher(Context) - Constructor for class com.opentok.android.Publisher
Creates a new Publisher instance.
Publisher(Context, String) - Constructor for class com.opentok.android.Publisher
Deprecated.
Publisher(Context, String, BaseVideoCapturer) - Constructor for class com.opentok.android.Publisher
Deprecated.
Publisher(Context, String, boolean, boolean) - Constructor for class com.opentok.android.Publisher
Deprecated.
Publisher(Context, String, Publisher.CameraCaptureResolution, Publisher.CameraCaptureFrameRate) - Constructor for class com.opentok.android.Publisher
Deprecated.
Publisher(Context, String, boolean, boolean, BaseVideoCapturer, Publisher.CameraCaptureResolution, Publisher.CameraCaptureFrameRate, BaseVideoRenderer) - Constructor for class com.opentok.android.Publisher
Returns a new Publisher instance based on the Publisher.Builder settings.
Publisher.Builder - Class in com.opentok.android
Used to build a Publisher object.
Publisher.CameraCaptureFrameRate - Enum in com.opentok.android
Defines values for the frameRate parameter of the Publisher.Builder.frameRate(Publisher.CameraCaptureFrameRate frameRate) method.
Publisher.CameraCaptureResolution - Enum in com.opentok.android
Defines values for the resolution parameter of the Publisher.Builder.resolution(Publisher.CameraCaptureResolution resolution) method.
Publisher.CameraListener - Interface in com.opentok.android
Monitors when the camera used by the publisher changes.
PublisherKit - Class in com.opentok.android
A publisher captures an audio-video stream from the sources you specify.
PublisherKit(Context, String, boolean, boolean, BaseVideoCapturer, BaseVideoRenderer) - Constructor for class com.opentok.android.PublisherKit
Creates a new PublisherKit instance.
PublisherKit(Context, String, boolean, boolean) - Constructor for class com.opentok.android.PublisherKit
Deprecated.
PublisherKit(Context) - Constructor for class com.opentok.android.PublisherKit
Deprecated.
PublisherKit(Context, String) - Constructor for class com.opentok.android.PublisherKit
Deprecated.
PublisherKit.AudioLevelListener - Interface in com.opentok.android
Monitors changes in the audio level of the publisher.
PublisherKit.Builder - Class in com.opentok.android
Used to build a PublisherKit object.
PublisherKit.PublisherKitVideoType - Enum in com.opentok.android
PublisherKit.PublisherListener - Interface in com.opentok.android
Monitors when a publisher starts and stops streaming to the session.
publisherListener - Variable in class com.opentok.android.PublisherKit
 

R

readRenderData(ByteBuffer, int) - Method in class com.opentok.android.BaseAudioDevice.AudioBus
Retrieves unrendered audio samples from the session.
readRenderData(ShortBuffer, int) - Method in class com.opentok.android.BaseAudioDevice.AudioBus
Retrieves unrendered audio samples from the session.
reconnectionListener - Variable in class com.opentok.android.Session
 
recycle() - Method in class com.opentok.android.BaseVideoRenderer.Frame
Frees the internal allocated buffer for the frame and marks the object as reusable for storing a new frame.
renderer(BaseVideoRenderer) - Method in class com.opentok.android.Publisher.Builder
Sets the video renderer to use for the publisher.
renderer(BaseVideoRenderer) - Method in class com.opentok.android.PublisherKit.Builder
Sets the video renderer to use for the publisher.
renderer - Variable in class com.opentok.android.PublisherKit
 
renderer(BaseVideoRenderer) - Method in class com.opentok.android.Subscriber.Builder
Sets the video renderer to use for the subscriber.
renderer(BaseVideoRenderer) - Method in class com.opentok.android.SubscriberKit.Builder
Sets the video renderer to use for the publisher.
renderer - Variable in class com.opentok.android.SubscriberKit
 
reportIssue() - Method in class com.opentok.android.Session
Report that your app experienced an issue.
resolution(Publisher.CameraCaptureResolution) - Method in class com.opentok.android.Publisher.Builder
Sets the video resolution of the published video.

S

sendSignal(String, String) - Method in class com.opentok.android.Session
Sends a signal to all clients in a session.
sendSignal(String, String, boolean) - Method in class com.opentok.android.Session
Sends a signal to all clients in a session.
sendSignal(String, String, Connection) - Method in class com.opentok.android.Session
Sends a signal to a specific client in a session.
sendSignal(String, String, Connection, boolean) - Method in class com.opentok.android.Session
Sends a signal to a specific client in a session.This version of the method includes a retryAfterReconnect parameter.
session - Variable in class com.opentok.android.PublisherKit
 
Session - Class in com.opentok.android
Represents an OpenTok session in which the client is participating.
Session(Context, String, String) - Constructor for class com.opentok.android.Session
Deprecated.
Session(Context, String, String, Session.SessionOptionsProvider) - Constructor for class com.opentok.android.Session
Deprecated.
Session(Context, String, String, Session.SessionOptions) - Constructor for class com.opentok.android.Session
Deprecated.
Session(Context, String, String, boolean, Session.SessionOptions) - Constructor for class com.opentok.android.Session
 
session - Variable in class com.opentok.android.Stream
 
session - Variable in class com.opentok.android.SubscriberKit
 
Session.ArchiveListener - Interface in com.opentok.android
Monitors when an archive recording of the session starts and stops.
Session.Builder - Class in com.opentok.android
 
Session.Capabilities - Class in com.opentok.android
Defines the value returned by the Session.getCapabilities() method.
Session.ConfigurableSessionOptions - Class in com.opentok.android
 
Session.ConnectionListener - Interface in com.opentok.android
Monitors when other clients connect and disconnect to the session.
Session.DefaultSessionOptions - Class in com.opentok.android
 
Session.ReconnectionListener - Interface in com.opentok.android
Monitors when an a client tries to automatically reconnect after losing its connection to an OpenTok session.
Session.SessionListener - Interface in com.opentok.android
Monitors state changes in a Session object.
Session.SessionOptions - Class in com.opentok.android
A base class for defining advanced session options with the Session.Builder.sessionOptions(Session.SessionOptions sessionOptions) method.
Session.SessionOptionsProvider - Interface in com.opentok.android
Deprecated.
Session.SignalListener - Interface in com.opentok.android
Monitors when a signal is sent in the session.
Session.StreamPropertiesListener - Interface in com.opentok.android
Monitors when properties of streams in the session change.
sessionId - Variable in class com.opentok.android.Session
 
sessionListener - Variable in class com.opentok.android.Session
 
sessionOptions(Session.SessionOptions) - Method in class com.opentok.android.Session.Builder
Sets advanced options for the session.
SessionOptions() - Constructor for class com.opentok.android.Session.SessionOptions
 
set(int, int) - Method in class com.opentok.android.VideoUtils.Size
Changes the dimensions of the Size object.
set(VideoUtils.Size) - Method in class com.opentok.android.VideoUtils.Size
Changes the dimensions of the Size object to match the dimensions of an existing Size object.
setArchiveListener(Session.ArchiveListener) - Method in class com.opentok.android.Session
Sets an Session.ArchiveListener object to monitor when an archive recording starts or stops in this session.
setAudioDevice(BaseAudioDevice) - Static method in class com.opentok.android.AudioDeviceManager
Sets the audio device to be used.
setAudioFallbackEnabled(boolean) - Method in class com.opentok.android.PublisherKit
Whether the stream will use the audio-fallback feature (true) or not (false).
setAudioLevelListener(PublisherKit.AudioLevelListener) - Method in class com.opentok.android.PublisherKit
Binds an PublisherKit.AudioLevelListener to this PublisherKit instance to monitor audio level updates.
setAudioLevelListener(SubscriberKit.AudioLevelListener) - Method in class com.opentok.android.SubscriberKit
Binds an SubscriberKit.AudioLevelListener to this SubscriberKit instance to monitor audio level updates.
setAudioStatsListener(SubscriberKit.AudioStatsListener) - Method in class com.opentok.android.SubscriberKit
Sets up a listener for subscriber audio statistics.
setCameraId(int) - Method in class com.opentok.android.Publisher
Deprecated.
setCameraListener(Publisher.CameraListener) - Method in class com.opentok.android.Publisher
Sets a Publisher.CameraListener object to monitor when the camera used by the publisher changes.
setCapturer(BaseVideoCapturer) - Method in class com.opentok.android.PublisherKit
Deprecated.
setConnectionListener(Session.ConnectionListener) - Method in class com.opentok.android.Session
Sets a Session.ConnectionListener object to monitor when other clients connect and disconnect from this session.
setName(String) - Method in class com.opentok.android.PublisherKit
Set the name for this stream.
setNumChannels(int) - Method in class com.opentok.android.BaseAudioDevice.AudioSettings
Sets the number of audio channels.
setOutputMode(BaseAudioDevice.OutputMode) - Method in class com.opentok.android.BaseAudioDevice
Set the audio output mode for the app: video (the default) or voice.
setPreferredFrameRate(float) - Method in class com.opentok.android.SubscriberKit
Sets the preferred frame rate for the subscriber's stream.
setPreferredResolution(VideoUtils.Size) - Method in class com.opentok.android.SubscriberKit
Sets the preferred resolution for the subscriber's stream.
setPublishAudio(boolean) - Method in class com.opentok.android.PublisherKit
Toggles publishing of audio on or off, based on the value passed in.
setPublisherKit(PublisherKit) - Method in class com.opentok.android.BaseVideoCapturer
 
setPublisherListener(PublisherKit.PublisherListener) - Method in class com.opentok.android.PublisherKit
Binds a PublisherKit.PublisherListener to this Publisher instance to monitor state changes.
setPublisherVideoType(PublisherKit.PublisherKitVideoType) - Method in class com.opentok.android.PublisherKit
Specifies the type of video for this stream.
setPublishVideo(boolean) - Method in class com.opentok.android.PublisherKit
Toggles publishing of video on or off, based on the value passed in.
setReconnectionListener(Session.ReconnectionListener) - Method in class com.opentok.android.Session
Sets a Session.ReconnectionListener object to be notified when the client is attempting to reconnect or reconnected to an OpenTok session.
setRenderer(BaseVideoRenderer) - Method in class com.opentok.android.PublisherKit
Deprecated.
setRenderer(BaseVideoRenderer) - Method in class com.opentok.android.SubscriberKit
Deprecated.
setSampleRate(int) - Method in class com.opentok.android.BaseAudioDevice.AudioSettings
Sets the sample rate (in samples per second).
setSessionListener(Session.SessionListener) - Method in class com.opentok.android.Session
Sets a Session.SessionListener object to monitor state changes for this Session object.
setSignalListener(Session.SignalListener) - Method in class com.opentok.android.Session
Sets a Session.SignalListener object to monitor when signals are sent in this session.
setStreamListener(SubscriberKit.StreamListener) - Method in class com.opentok.android.SubscriberKit
Sets up a listener for events related to the subscriber's stream being interrupted and resuming.
setStreamPropertiesListener(Session.StreamPropertiesListener) - Method in class com.opentok.android.Session
Sets a Session.StreamPropertiesListener object to monitor properties of streams in this session change.
setStyle(String, String) - Method in class com.opentok.android.BaseVideoRenderer
Set a style for this video renderer.
setStyle(String, String) - Method in class com.opentok.android.PublisherKit
Sets a style for the video renderer used by this publisher.
setStyle(String, String) - Method in class com.opentok.android.SubscriberKit
Set a style used by this subscriber.
setStyle(String, String) - Method in class com.opentok.android.TextureViewRenderer
 
setSubscriberListener(SubscriberKit.SubscriberListener) - Method in class com.opentok.android.SubscriberKit
Sets a SubscriberKit.SubscriberListener object to monitor state changes.
setSubscribeToAudio(boolean) - Method in class com.opentok.android.SubscriberKit
Whether to subscribe to the stream's audio (true) or not (false).
setSubscribeToVideo(boolean) - Method in class com.opentok.android.SubscriberKit
Whether to subscribe to the stream's video (true) or not (false).
setVideoListener(SubscriberKit.VideoListener) - Method in class com.opentok.android.SubscriberKit
Sets a SubscriberKit.VideoListener object to monitor when the subscriber starts and stops receiving video.
setVideoStatsListener(SubscriberKit.VideoStatsListener) - Method in class com.opentok.android.SubscriberKit
Sets up a listener for subscriber video statistics.
signalListener - Variable in class com.opentok.android.Session
 
Size() - Constructor for class com.opentok.android.VideoUtils.Size
 
Size(int, int) - Constructor for class com.opentok.android.VideoUtils.Size
Constructs a Size object, to be used when setting the preferred resolution using the SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution) method.
Size(VideoUtils.Size) - Constructor for class com.opentok.android.VideoUtils.Size
Constructs a new Size object, based on the dimensions of an existing Size object.
startCapture() - Method in class com.opentok.android.BaseVideoCapturer
Starts capturing video.
startCapturer() - Method in class com.opentok.android.BaseAudioDevice
Requests that the device start capturing audio samples.
startPreview() - Method in class com.opentok.android.Publisher
Call to display the camera's video in the Publisher's view before the it starts streaming video.
startRenderer() - Method in class com.opentok.android.BaseAudioDevice
Requests that the device start rendering audio.
stopCapture() - Method in class com.opentok.android.BaseVideoCapturer
Stops capturing video.
stopCapturer() - Method in class com.opentok.android.BaseAudioDevice
Requests that the device stop sampling audio.
stopRenderer() - Method in class com.opentok.android.BaseAudioDevice
Requests that the device stop rendering audio.
Stream - Class in com.opentok.android
Represents an audio-video stream in an OpenTok session.
Stream(String, String, Date, int, int, boolean, boolean, Connection, Session, int) - Constructor for class com.opentok.android.Stream
 
stream - Variable in class com.opentok.android.SubscriberKit
 
Stream.StreamVideoType - Enum in com.opentok.android
Defines values for the Stream.getStreamVideoType() method.
streamId - Variable in class com.opentok.android.Stream
 
streamListener - Variable in class com.opentok.android.SubscriberKit
 
streamPropertiesListener - Variable in class com.opentok.android.Session
 
STYLE_VIDEO_FILL - Static variable in class com.opentok.android.BaseVideoRenderer
A value for the STYLE_VIDEO_SCALE style, specfying that the video scales to fill the entire area of the renderer, with cropping as needed).
STYLE_VIDEO_FIT - Static variable in class com.opentok.android.BaseVideoRenderer
A value for the STYLE_VIDEO_SCALE style, specfying that the video shrinks, as needed, so that the entire video is visible with pillarboxing.
STYLE_VIDEO_SCALE - Static variable in class com.opentok.android.BaseVideoRenderer
A value for the key parameter of the BaseVideoRenderer.setStyle(String key, String value), SubscriberKit.setStyle(String key, String value), and PublisherKit.setStyle(String key, String value) methods, used to determine the scaling of the video.
subscribe(SubscriberKit) - Method in class com.opentok.android.Session
Start receiving and rendering audio-video stream data for the specified subscriber.
Subscriber - Class in com.opentok.android
Used to consume an audio-video stream in the OpenTok session.
Subscriber(Context, Stream, BaseVideoRenderer) - Constructor for class com.opentok.android.Subscriber
Creates a new subscriber for a given stream.
Subscriber(Context, Stream) - Constructor for class com.opentok.android.Subscriber
Deprecated.
Subscriber.Builder - Class in com.opentok.android
Used to build a Subscriber object.
SubscriberAudioStats() - Constructor for class com.opentok.android.SubscriberKit.SubscriberAudioStats
 
SubscriberKit - Class in com.opentok.android
An SubscriberKit (subscriber) object render media data bound to a Stream The SubscriberKit class lets you set a custom video renderer for the video stream.
SubscriberKit(Context, Stream) - Constructor for class com.opentok.android.SubscriberKit
Deprecated.
SubscriberKit(Context, Stream, BaseVideoRenderer) - Constructor for class com.opentok.android.SubscriberKit
Creates a new subscriber for a given stream.
SubscriberKit.AudioLevelListener - Interface in com.opentok.android
Monitors changes in the audio level of the subscriber.
SubscriberKit.AudioStatsListener - Interface in com.opentok.android
Defines the listener object for getting subscriber audio statistcs.
SubscriberKit.Builder - Class in com.opentok.android
Used to build a SubscriberKit object.
SubscriberKit.StreamListener - Interface in com.opentok.android
Monitors when the subscriber's stream is interrupted and resumes.
SubscriberKit.SubscriberAudioStats - Class in com.opentok.android
Defines audio statistics for a subscriber.
SubscriberKit.SubscriberListener - Interface in com.opentok.android
Monitors state changes of a SubscriberKit instance.
SubscriberKit.SubscriberVideoStats - Class in com.opentok.android
Defines video statistics for a subscriber.
SubscriberKit.VideoListener - Interface in com.opentok.android
Monitors when the subscriber starts and stops receiving video data.
SubscriberKit.VideoStatsListener - Interface in com.opentok.android
Defines the listener object for getting subscriber video statistcs.
subscriberListener - Variable in class com.opentok.android.SubscriberKit
 
SubscriberVideoStats() - Constructor for class com.opentok.android.SubscriberKit.SubscriberVideoStats
 
swapCamera(int) - Method in interface com.opentok.android.BaseVideoCapturer.CaptureSwitch
Defines the behavior of the deprecated Publisher.swapCamera() method for a Publisher object that uses the custom video capturer.
swapCamera() - Method in class com.opentok.android.Publisher
Deprecated.

T

TextureViewRenderer - Class in com.opentok.android
Created by rpc on 24/10/2016.
TextureViewRenderer(Context) - Constructor for class com.opentok.android.TextureViewRenderer
Create a new textureview renderer.
timeStamp - Variable in class com.opentok.android.SubscriberKit.SubscriberAudioStats
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
timeStamp - Variable in class com.opentok.android.SubscriberKit.SubscriberVideoStats
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
toString() - Method in class com.opentok.android.Session.Capabilities
 
toString() - Method in class com.opentok.android.Stream
 

U

unpublish(PublisherKit) - Method in class com.opentok.android.Session
Disconnects the Publisher from the session.
unsubscribe(SubscriberKit) - Method in class com.opentok.android.Session
Stops subscribing (receiving a stream) to a specified subscriber in the session.
useTextureViews() - Method in class com.opentok.android.Session.SessionOptions
Return true if you want publishers and subscriber to use TextureViews instead of GLSurfaceViews.
useTextureViews(boolean) - Static method in class com.opentok.android.VideoRenderFactory
 

V

v(String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
v(Throwable, String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
v(String, Object...) - Static method in class com.opentok.android.OtLog
 
v(Throwable, String, Object...) - Static method in class com.opentok.android.OtLog
 
valueOf(String) - Static method in enum com.opentok.android.BaseAudioDevice.OutputMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.OpentokError.Domain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.OpentokError.ErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.Publisher.CameraCaptureFrameRate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.Publisher.CameraCaptureResolution
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.PublisherKit.PublisherKitVideoType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.opentok.android.Stream.StreamVideoType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.opentok.android.BaseAudioDevice.OutputMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.OpentokError.Domain
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.OpentokError.ErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.Publisher.CameraCaptureFrameRate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.Publisher.CameraCaptureResolution
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.PublisherKit.PublisherKitVideoType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.opentok.android.Stream.StreamVideoType
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO_REASON_PUBLISH_VIDEO - Static variable in class com.opentok.android.SubscriberKit
The video event was caused by the stream's publisher starting or stopping the video stream.
VIDEO_REASON_QUALITY - Static variable in class com.opentok.android.SubscriberKit
The video event was caused by a change to the video stream quality.
VIDEO_REASON_SUBSCRIBE_TO_VIDEO - Static variable in class com.opentok.android.SubscriberKit
The video event was caused by a call to the SubscriberKit.setSubscribeToVideo(boolean subscribeToVideo) method.
videoBytesReceived - Variable in class com.opentok.android.SubscriberKit.SubscriberVideoStats
The total number of video bytes received by the subscriber.
videoHeight - Variable in class com.opentok.android.Stream
 
videoListener - Variable in class com.opentok.android.SubscriberKit
 
videoPacketsLost - Variable in class com.opentok.android.SubscriberKit.SubscriberVideoStats
The total number of video packets lost by the subscriber.
videoPacketsReceived - Variable in class com.opentok.android.SubscriberKit.SubscriberVideoStats
The total number of video packets received by the subscriber.
VideoRenderFactory - Class in com.opentok.android
Created by rpc on 25/10/2016.
VideoRenderFactory() - Constructor for class com.opentok.android.VideoRenderFactory
 
videoTrack(boolean) - Method in class com.opentok.android.Publisher.Builder
Sets whether to include an video track in the published stream (true, the default) or not (false).
videoTrack(boolean) - Method in class com.opentok.android.PublisherKit.Builder
Sets whether to include an video track in the published stream (true, the default) or not (false).
videoType - Variable in class com.opentok.android.Stream
 
VideoUtils - Class in com.opentok.android
Includes a VideoUtils class, used when setting the preferred resolution using the SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution) method.
VideoUtils() - Constructor for class com.opentok.android.VideoUtils
 
VideoUtils.Size - Class in com.opentok.android
Defines a video resolution to be used when setting the preferred resolution using the SubscriberKit.setPreferredResolution(VideoUtils.Size preferredResolution) method.
videoWidth - Variable in class com.opentok.android.Stream
 

W

w(String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
w(Throwable, String, Object...) - Method in class com.opentok.android.OtLog.LogToken
 
w(String, Object...) - Static method in class com.opentok.android.OtLog
 
w(Throwable, String, Object...) - Static method in class com.opentok.android.OtLog
 
width - Variable in class com.opentok.android.BaseVideoCapturer.CaptureSettings
The width of the video, in pixels.
width - Variable in class com.opentok.android.BaseVideoRenderer.Frame
 
width - Variable in class com.opentok.android.VideoUtils.Size
The width, in pixels.
writeCaptureData(ByteBuffer, int) - Method in class com.opentok.android.BaseAudioDevice.AudioBus
Passes audio data to transmit to a session.
writeCaptureData(ShortBuffer, int) - Method in class com.opentok.android.BaseAudioDevice.AudioBus
Passes audio data to transmit to a session.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links