Package com.opentok.android
Class Subscriber
java.lang.Object
com.opentok.android.SubscriberKit
com.opentok.android.Subscriber
- All Implemented Interfaces:
Observer
Used to consume an audio-video stream in the OpenTok session. Subscribers are
created by passing a valid
Stream instance into the Subscriber constructor.
Subscribers can connect to receive media when you call the
Session.subscribe(SubscriberKit subscriber) method.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.opentok.android.SubscriberKit
SubscriberKit.AudioLevelListener, SubscriberKit.AudioStatsListener, SubscriberKit.CaptionsListener, SubscriberKit.SenderStats, SubscriberKit.StreamListener, SubscriberKit.SubscriberAudioStats, SubscriberKit.SubscriberListener, SubscriberKit.SubscriberRtcStatsReportListener, SubscriberKit.SubscriberVideoStats, SubscriberKit.VideoListener, SubscriberKit.VideoStatsListener -
Field Summary
Fields inherited from class com.opentok.android.SubscriberKit
audioLevelListener, audioStatsListener, captionsListener, NO_PREFERRED_FRAMERATE, NO_PREFERRED_RESOLUTION, renderer, rtcStatsReportListener, session, stream, streamListener, subscriberListener, VIDEO_REASON_CODEC_NOT_SUPPORTED, VIDEO_REASON_PUBLISH_VIDEO, VIDEO_REASON_QUALITY, VIDEO_REASON_SUBSCRIBE_TO_VIDEO, videoListener, videoStatsListener -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.opentok.android.SubscriberKit
attachToSession, destroy, detachFromSession, finalize, getAudioVolume, getPreferredFrameRate, getPreferredResolution, getRenderer, getRtcStatsReport, getSession, getStream, getSubscribeToAudio, getSubscribeToCaptions, getSubscribeToVideo, getView, onAudioDisabled, onAudioEnabled, onAudioLevelUpdated, onCaptionText, onConnected, onDisconnected, onError, onPause, onResume, onRtcStatsReport, onStreamDisconnected, onStreamReconnected, onVideoDataReceived, onVideoDisabled, onVideoDisableWarning, onVideoDisableWarningLifted, onVideoEnabled, setAudioLevelListener, setAudioStatsListener, setAudioVolume, setCaptionsListener, setPreferredFrameRate, setPreferredResolution, setRenderer, setRtcStatsReportListener, setStreamListener, setStyle, setSubscriberListener, setSubscribeToAudio, setSubscribeToCaptions, setSubscribeToVideo, setVideoListener, setVideoStatsListener, update
-
Constructor Details
-
Subscriber
-