public class ChannelMediaOptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
audienceLatencyLevel
The audience latency level type:
- `AUDIENCE_LATENCY_LEVEL_LOW_LATENCY`(1): Low latency.
|
java.lang.Integer |
audioDelayMs
The delay in ms for sending audio frames.
|
java.lang.Boolean |
autoSubscribeAudio
Determines whether to subscribe all remote audio streams automatically.
|
java.lang.Boolean |
autoSubscribeVideo
Determines whether to subscribe all remote video streams automatically.
|
java.lang.Integer |
channelProfile
The channel profile:
- `CHANNEL_PROFILE_COMMUNICATION`(0): Communication.
|
java.lang.Integer |
clientRoleType
The client role type:
- `CLIENT_ROLE_BROADCASTER`(1): The broadcaster, who can both send and receive streams.
|
java.lang.Integer |
customVideoTrackId
The custom video track id which will used to publish or preview.
|
java.lang.Integer |
defaultVideoStreamType
The default video stream type to subscribe to:
- `VIDEO_STREAM_HIGH`(0): (Default) The high-stream video, that is, the video stream featuring
in high resolution and high bitrate.
|
java.lang.Boolean |
enableAudioRecordingOrPlayout
Determines whether to enable audio recording or playout.
|
java.lang.Boolean |
enableBuiltInMediaEncryption
Enable media packet encryption.
|
java.lang.Boolean |
isAudioFilterable
Determines whether local audio stream can be filtered.
|
java.lang.Boolean |
isInteractiveAudience
This mode is only used for audience.
|
java.lang.Integer |
mediaPlayerAudioDelayMs
The delay in ms for sending media player audio frames.
|
java.lang.String |
parameters
Provides the technical preview functionalities or special customizations by configuring the
SDK with JSON options.
|
java.lang.Boolean |
publishCameraTrack
Determines whether to publish the video of the camera track.
|
java.lang.Boolean |
publishCustomAudioTrack
Determines whether to publish the audio of the custom audio track.
|
java.lang.Integer |
publishCustomAudioTrackId
The custom audio track id.
|
java.lang.Boolean |
publishCustomVideoTrack
Determines whether to publish the video of the custom video track.
|
java.lang.Boolean |
publishEncodedVideoTrack
Determines whether to publish the video of the encoded video track.
|
java.lang.Boolean |
publishFourthCameraTrack
Whether to publish the video of the fourth camera track.
|
java.lang.Boolean |
publishLipSyncTrack
Whether to publish the local lip sync video track.
|
java.lang.Boolean |
publishMediaPlayerAudioTrack
Determines whether to publish the audio track of media player source.
|
java.lang.Integer |
publishMediaPlayerId
Determines which media player source should be published.
|
java.lang.Boolean |
publishMediaPlayerVideoTrack
Determines whether to publish the video track of media player source.
|
java.lang.Boolean |
publishMicrophoneTrack
Determines whether to publish the recorded audio of microphone.
|
java.lang.Boolean |
publishMixedAudioTrack
Whether to publish the local mixed audio track.
|
java.lang.Boolean |
publishRhythmPlayerTrack
Determines whether to publish the sound of the rhythm player to remote users.
|
java.lang.Boolean |
publishScreenCaptureAudio
Determines whether to publish the audio track of the screen capturer.
|
java.lang.Boolean |
publishScreenCaptureVideo
Determines whether to publish the video track of the capturer .
|
java.lang.Boolean |
publishSecondaryCameraTrack
Determines whether to publish the video of the secondary camera track.
|
java.lang.Boolean |
publishThirdCameraTrack
Whether to publish the video of the third camera track.
|
java.lang.Boolean |
publishTranscodedVideoTrack
Whether to publish the local transcoded video track.
|
java.lang.Boolean |
startPreview
Determines whether to start preview when join channel if canvas have been set.
|
java.lang.String |
token
The token to be renewed.
|
Constructor and Description |
---|
ChannelMediaOptions() |
ChannelMediaOptions(java.lang.Integer clientRoleType) |
public java.lang.Boolean publishCameraTrack
public java.lang.Boolean publishSecondaryCameraTrack
public java.lang.Boolean publishThirdCameraTrack
public java.lang.Boolean publishFourthCameraTrack
public java.lang.Boolean publishMicrophoneTrack
muteLocalAudioStream
before joining a channel.
- true: (Default) Publish the recorded audio of microphone.
- false: Do not publish the recorded audio of microphone.public java.lang.Boolean publishScreenCaptureVideo
public java.lang.Boolean publishScreenCaptureAudio
public java.lang.Boolean publishCustomAudioTrack
public java.lang.Integer publishCustomAudioTrackId
public java.lang.Boolean publishCustomVideoTrack
public java.lang.Boolean publishEncodedVideoTrack
public java.lang.Boolean publishMediaPlayerAudioTrack
public java.lang.Boolean publishMediaPlayerVideoTrack
public java.lang.Boolean publishTranscodedVideoTrack
public java.lang.Boolean publishMixedAudioTrack
public java.lang.Boolean publishLipSyncTrack
public java.lang.Boolean autoSubscribeAudio
public java.lang.Boolean autoSubscribeVideo
public java.lang.Boolean enableAudioRecordingOrPlayout
public java.lang.Integer publishMediaPlayerId
public java.lang.Integer clientRoleType
public java.lang.Integer audienceLatencyLevel
public java.lang.Integer defaultVideoStreamType
public java.lang.Integer channelProfile
public java.lang.Integer audioDelayMs
public java.lang.Integer mediaPlayerAudioDelayMs
public java.lang.String token
public java.lang.Boolean enableBuiltInMediaEncryption
public java.lang.Boolean publishRhythmPlayerTrack
public java.lang.Boolean isInteractiveAudience
public java.lang.Integer customVideoTrackId
public java.lang.Boolean isAudioFilterable
public java.lang.Boolean startPreview
public java.lang.String parameters
public ChannelMediaOptions()
public ChannelMediaOptions(java.lang.Integer clientRoleType)
public java.lang.Boolean isPublishCameraTrack()
public java.lang.Boolean isPublishSecondaryCameraTrack()
public java.lang.Boolean isPublishThirdCameraTrack()
public java.lang.Boolean isPublishFourthCameraTrack()
public java.lang.Boolean isPublishScreenCaptureVideo()
public java.lang.Boolean isPublishScreenCaptureAudio()
public java.lang.Boolean isPublishCustomAudioTrack()
public java.lang.Boolean isPublishCustomVideoTrack()
public java.lang.Boolean isPublishEncodedVideoTrack()
public java.lang.Boolean isPublishMediaPlayerAudioTrack()
public java.lang.Boolean isPublishMediaPlayerVideoTrack()
public java.lang.Boolean isPublishTranscodedVideoTrack()
public java.lang.Boolean isPublishMixedAudioTrack()
public java.lang.Boolean isPublishLipSyncTrack()
public java.lang.Integer getPublishMediaPlayerId()
public java.lang.Boolean isPublishMicrophoneTrack()
public java.lang.Boolean isAutoSubscribeAudio()
public java.lang.Boolean isAutoSubscribeVideo()
public java.lang.Boolean isStartPreview()
public java.lang.Boolean isEnableAudioRecordingOrPlayout()
public java.lang.Integer getClientRoleType()
public java.lang.Integer getAudienceLatencyLevel()
public java.lang.Integer getDefaultVideoStreamType()
public java.lang.Integer getChannelProfile()
public java.lang.Integer getAudioDelayMs()
public java.lang.Integer getMediaPlayerAudioDelayMs()
public java.lang.String getToken()
public java.lang.Boolean isEnableBuiltInMediaEncryption()
public java.lang.Boolean getPublishRhythmPlayerTrack()
public java.lang.Boolean getIsAudioFilterable()
public java.lang.Integer getPublishCustomAudioTrackId()
public java.lang.Integer getCustomVideoTrackId()
public java.lang.Boolean isInteractiveAudience()
public java.lang.String getParameters()
public java.lang.String toString()
toString
in class java.lang.Object