- 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
-
- 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.
- getException() - Method in class com.opentok.android.OpentokError
-
- 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
-
- getMetadata() - Method in class com.opentok.android.BaseVideoRenderer.Frame
-
Returns the metadata associated with the frame if any, as a byte array.
- 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.
- getSupportedCodecs(Context) - Static method in class com.opentok.android.MediaUtils
-
Returns an object that lists video codecs (for encoding and decoding)
supported on the device.
- getUvStride() - Method in class com.opentok.android.BaseVideoRenderer.Frame
-
- getValue() - Method in enum com.opentok.android.MediaUtils.VideoCodecType
-
- getValue(int) - Static method in enum com.opentok.android.MediaUtils.VideoCodecType
-
- 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.
- getWidth() - Method in class com.opentok.android.BaseVideoRenderer.Frame
-
Returns the width of the video frame, in pixels.
- getYstride() - Method in class com.opentok.android.BaseVideoRenderer.Frame
-
- onArchiveStarted(Session, String, String) - Method in interface com.opentok.android.Session.ArchiveListener
-
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.
- onAudioLevelUpdated(PublisherKit, float) - Method in interface com.opentok.android.PublisherKit.AudioLevelListener
-
Called periodically to report the audio level of the publisher.
- onAudioLevelUpdated(float) - Method in class com.opentok.android.PublisherKit
-
- onAudioLevelUpdated(SubscriberKit, float) - Method in interface com.opentok.android.SubscriberKit.AudioLevelListener
-
Called periodically to report the audio level of the subscriber.
- onAudioStats(PublisherKit, PublisherKit.PublisherAudioStats[]) - Method in interface com.opentok.android.PublisherKit.AudioStatsListener
-
Called periodically to report audio statistics for the publisher.
- 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(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.
- onConnectionDestroyed(Session, Connection) - Method in interface com.opentok.android.Session.ConnectionListener
-
Invoked when another client leaves the 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(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.
- 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
-
- onPause() - Method in class com.opentok.android.Session
-
Call this method when the app's activity pauses.
- 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
-
- 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
-
- onResume() - Method in class com.opentok.android.Session
-
Call this method when the app's activity resumes.
- 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(Session, Stream) - Method in interface com.opentok.android.Session.SessionListener
-
Invoked when another client stops publishing a stream to this
OpenTok session.
- 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(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(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
-
- 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(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).
- onVideoStats(PublisherKit, PublisherKit.PublisherVideoStats[]) - Method in interface com.opentok.android.PublisherKit.VideoStatsListener
-
Called periodically to report video statistics for the publisher.
- 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(OpentokError.Domain, int, Exception) - 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.
- 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, Session.Builder.TransportPolicy, Session.Builder.IncludeServers, Session.Builder.IceServer[], URL) - Constructor for class com.opentok.android.Session
-
- 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.Builder.IceServer - Class in com.opentok.android
-
This feature is available for
enterprise accounts only.
- Session.Builder.IncludeServers - Enum in com.opentok.android
-
This feature is available for
enterprise accounts only.
- Session.Builder.TransportPolicy - Enum in com.opentok.android
-
This feature is available for
enterprise accounts only.
- Session.Capabilities - Class in com.opentok.android
-
- 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.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
-
- 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.
- 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.
- setApiUrl(URL) - Method in class com.opentok.android.Session.Builder
-
This feature is available for
enterprise accounts only.
- setArchiveListener(Session.ArchiveListener) - Method in class com.opentok.android.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
-
- setAudioLevelListener(SubscriberKit.AudioLevelListener) - Method in class com.opentok.android.SubscriberKit
-
- setAudioStatsListener(PublisherKit.AudioStatsListener) - Method in class com.opentok.android.PublisherKit
-
Sets up a listener for publisher audio statistics.
- 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
-
- setCapturer(BaseVideoCapturer) - Method in class com.opentok.android.PublisherKit
-
Deprecated.
- setConnectionListener(Session.ConnectionListener) - Method in class com.opentok.android.Session
-
- setCustomIceServers(List<Session.Builder.IceServer>, Session.Builder.IncludeServers) - Method in class com.opentok.android.Session.Builder
-
This feature is available for
enterprise accounts only.
- setIceRouting(Session.Builder.TransportPolicy) - Method in class com.opentok.android.Session.Builder
-
This feature is available for
enterprise accounts only.
- setName(String) - Method in class com.opentok.android.PublisherKit
-
Deprecated.
- 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
-
- 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
-
- 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
-
- setSignalListener(Session.SignalListener) - Method in class com.opentok.android.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
-
- 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.
- setSubscriberListener(SubscriberKit.SubscriberListener) - Method in class com.opentok.android.SubscriberKit
-
- 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
-
- setVideoStatsListener(PublisherKit.VideoStatsListener) - Method in class com.opentok.android.PublisherKit
-
Sets up a listener for publisher video statistics.
- 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
-
- 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.
- startTime - Variable in class com.opentok.android.PublisherKit.PublisherAudioStats
-
The timestamp, in milliseconds since the Unix epoch, from which
the cumulative totals started accumulating.
- startTime - Variable in class com.opentok.android.PublisherKit.PublisherVideoStats
-
The timestamp, in milliseconds since the Unix epoch, from which
the cumulative totals started accumulating.
- 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.StreamVideoType - Enum in com.opentok.android
-
- 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
-
- 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
-
- SubscriberAudioStats() - Constructor for class com.opentok.android.SubscriberKit.SubscriberAudioStats
-
- subscriberId - Variable in class com.opentok.android.PublisherKit.PublisherAudioStats
-
The subscriber ID of the client subscribing to the stream
(in a relayed session).
- subscriberId - Variable in class com.opentok.android.PublisherKit.PublisherVideoStats
-
The subscriber ID of the client subscribing to the stream
(in a relayed session).
- SubscriberKit - Class in com.opentok.android
-
A SubscriberKit (subscriber) object renders 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
-
- 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
-
- 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
-
- SupportedCodecs() - Constructor for class com.opentok.android.MediaUtils.SupportedCodecs
-
- 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.
- 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.MediaUtils.VideoCodecType
-
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.Session.Builder.IncludeServers
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.opentok.android.Session.Builder.TransportPolicy
-
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.MediaUtils.VideoCodecType
-
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.Session.Builder.IncludeServers
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.opentok.android.Session.Builder.TransportPolicy
-
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_CODEC_NOT_SUPPORTED - Static variable in class com.opentok.android.SubscriberKit
-
The video event was caused when video in the the subscriber stream
was disabled because the stream uses a video codec (such as H.264)
not supported on the device.
- 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
-
- videoBytesReceived - Variable in class com.opentok.android.SubscriberKit.SubscriberVideoStats
-
The total number of video bytes received by the subscriber.
- videoBytesSent - Variable in class com.opentok.android.PublisherKit.PublisherVideoStats
-
The total number of video bytes bytes sent to the subscriber
(or to the OpenTok Media Router).
- videoDecoderCodecs - Variable in class com.opentok.android.MediaUtils.SupportedCodecs
-
- videoEncoderCodecs - Variable in class com.opentok.android.MediaUtils.SupportedCodecs
-
- videoListener - Variable in class com.opentok.android.SubscriberKit
-
- videoPacketsLost - Variable in class com.opentok.android.PublisherKit.PublisherVideoStats
-
The total number of video packets packets that did not reach
the subscriber (or the OpenTok Media Router).
- 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.
- videoPacketsSent - Variable in class com.opentok.android.PublisherKit.PublisherVideoStats
-
The total number of video packets sent sent to the subscriber
(or to the OpenTok Media Router).
- videoStatsListener - Variable in class com.opentok.android.PublisherKit
-
- videoStatsListener - Variable in class com.opentok.android.SubscriberKit
-
- 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
).
- VideoUtils - Class in com.opentok.android
-
- VideoUtils() - Constructor for class com.opentok.android.VideoUtils
-
- VideoUtils.Size - Class in com.opentok.android
-