Package-level declarations
AudioTrack
and VideoTrack
are the classes that represent the types of media streams that can be subscribed and published.
Types
Link copied to clipboard
A class representing an audio track.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LocalAudioTrack @AssistedInject constructor(@Assisted name: String, @Assisted mediaTrack: AudioTrack, @Assisted options: LocalAudioTrackOptions, audioProcessingController: AudioProcessingController, @Named(value = "dispatcher_default" ) dispatcher: CoroutineDispatcher, @Named(value = "local_audio_record_samples_dispatcher" ) audioRecordSamplesDispatcher: AudioRecordSamplesDispatcher, @Named(value = "local_audio_record_samples_dispatcher" ) audioBufferCallbackDispatcher: AudioBufferCallbackDispatcher) : AudioTrack
Represents a local audio track (generally using the microphone as input).
Link copied to clipboard
Link copied to clipboard
class LocalScreencastVideoTrack @AssistedInject constructor(@Assisted capturer: VideoCapturer, @Assisted source: VideoSource, @Assisted name: String, @Assisted options: LocalVideoTrackOptions, @Assisted rtcTrack: VideoTrack, @Assisted mediaProjectionCallback: LocalScreencastVideoTrack.MediaProjectionCallback, peerConnectionFactory: PeerConnectionFactory, context: Context, eglBase: EglBase, defaultsManager: DefaultsManager, videoTrackFactory: LocalVideoTrack.Factory) : LocalVideoTrack
Link copied to clipboard
class LocalTrackPublication(info: <Error class: unknown class>, track: Track, participant: LocalParticipant, val options: TrackPublishOptions) : TrackPublication
Link copied to clipboard
open class LocalVideoTrack @AssistedInject constructor(@Assisted capturer: VideoCapturer, @Assisted source: VideoSource, @Assisted name: String, @Assisted options: LocalVideoTrackOptions, @Assisted rtcTrack: VideoTrack, peerConnectionFactory: PeerConnectionFactory, context: Context, eglBase: EglBase, defaultsManager: DefaultsManager, trackFactory: LocalVideoTrack.Factory, @Assisted dispatchObserver: CaptureDispatchObserver? = null) : VideoTrack
A representation of a local video track (generally input coming from camera or screen).
Link copied to clipboard
data class LocalVideoTrackOptions(val isScreencast: Boolean = false, val deviceId: String? = null, val position: CameraPosition? = CameraPosition.FRONT, val captureParams: VideoCaptureParameter = VideoPreset169.H720.capture)
Link copied to clipboard
A representation of a remote audio track.
Link copied to clipboard
class RemoteTrackPublication(info: <Error class: unknown class>, track: Track? = null, participant: RemoteParticipant, @Named(value = "dispatcher_io" ) ioDispatcher: CoroutineDispatcher) : TrackPublication
Link copied to clipboard
class RemoteVideoTrack(name: String, val rtcTrack: VideoTrack, val autoManageVideo: Boolean = false, @Named(value = "dispatcher_default" ) dispatcher: CoroutineDispatcher, receiver: RtpReceiver) : VideoTrack
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class TrackPublication(info: <Error class: unknown class>, track: Track?, participant: Participant)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface VideoPreset
Link copied to clipboard
16:9 Video presets along with suggested bitrates
Link copied to clipboard
4:3 Video presets along with suggested bitrates
Link copied to clipboard
Link copied to clipboard