Agora Java API Reference for Android
|
#include <IAgoraRtcEngine.h>
Public Member Functions | |
void | SetAll (const ChannelMediaOptions &change) |
bool | operator== (const ChannelMediaOptions &o) const |
ChannelMediaOptions & | operator= (const ChannelMediaOptions &replace) |
The channel media options.
Optional<bool> agora::rtc::ChannelMediaOptions::publishCameraTrack |
Determines whether to publish the video of the camera track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishSecondaryCameraTrack |
Determines whether to publish the video of the secondary camera track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishMicrophoneTrack |
Determines whether to publish the recorded audio of microphone.
Optional<bool> agora::rtc::ChannelMediaOptions::publishScreenTrack |
Determines whether to publish the video of the screen track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishSecondaryScreenTrack |
Determines whether to publish the video of the secondary screen track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishCustomAudioTrack |
Determines whether to publish the audio of the custom audio track.
Optional<int> agora::rtc::ChannelMediaOptions::publishCustomAudioSourceId |
The source id of the custom audio, default is 0.
Optional<bool> agora::rtc::ChannelMediaOptions::publishCustomAudioTrackEnableAec |
Determines whether to enable AEC when publish custom audio track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishDirectCustomAudioTrack |
Determines whether to publish custom audio track of microphone source.
Optional<bool> agora::rtc::ChannelMediaOptions::publishCustomAudioTrackAec |
Determines whether to publish AEC custom audio track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishCustomVideoTrack |
Determines whether to publish the video of the custom video track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishEncodedVideoTrack |
Determines whether to publish the video of the encoded video track.
Optional<bool> agora::rtc::ChannelMediaOptions::publishMediaPlayerAudioTrack |
Determines whether to publish the audio track of media player source.
Optional<bool> agora::rtc::ChannelMediaOptions::publishMediaPlayerVideoTrack |
Determines whether to publish the video track of media player source.
Optional<bool> agora::rtc::ChannelMediaOptions::publishTrancodedVideoTrack |
Determines whether to publish the local transcoded video track.
Optional<bool> agora::rtc::ChannelMediaOptions::autoSubscribeAudio |
Determines whether to subscribe all remote audio streams automatically. It can replace calling setDefaultMuteAllRemoteAudioStreams before joining a channel.
Optional<bool> agora::rtc::ChannelMediaOptions::autoSubscribeVideo |
Determines whether to subscribe all remote video streams automatically. It can replace calling setDefaultMuteAllRemoteVideoStreams before joining a channel.
Optional<bool> agora::rtc::ChannelMediaOptions::enableAudioRecordingOrPlayout |
Determines whether to enable audio recording or playout.
Optional<int> agora::rtc::ChannelMediaOptions::publishMediaPlayerId |
Determines which media player source should be published. You can get the MediaPlayerId after calling getMediaPlayerId() of AgoraMediaPlayer.
Optional<CLIENT_ROLE_TYPE> agora::rtc::ChannelMediaOptions::clientRoleType |
The client role type. See CLIENT_ROLE_TYPE. Default is CLIENT_ROLE_AUDIENCE.
Optional<AUDIENCE_LATENCY_LEVEL_TYPE> agora::rtc::ChannelMediaOptions::audienceLatencyLevel |
The audience latency level type. See AUDIENCE_LATENCY_LEVEL_TYPE. Default is AUDIENCE_LATENCY_LEVEL_ULTRA_LOW_LATENCY.
Optional<VIDEO_STREAM_TYPE> agora::rtc::ChannelMediaOptions::defaultVideoStreamType |
The default video stream type. See VIDEO_STREAM_TYPE. Default is VIDEO_STREAM_HIGH.
Optional<CHANNEL_PROFILE_TYPE> agora::rtc::ChannelMediaOptions::channelProfile |
The channel profile. See CHANNEL_PROFILE_TYPE. Default is CHANNEL_PROFILE_LIVE_BROADCASTING.
Optional<int> agora::rtc::ChannelMediaOptions::audioDelayMs |
The delay in ms for sending audio frames. This is used for explicit control of A/V sync. To switch off the delay, set the value to zero.
Optional<int> agora::rtc::ChannelMediaOptions::mediaPlayerAudioDelayMs |
The delay in ms for sending media player audio frames. This is used for explicit control of A/V sync. To switch off the delay, set the value to zero.
Optional<const char*> agora::rtc::ChannelMediaOptions::token |
The token to be renewed.
Optional<bool> agora::rtc::ChannelMediaOptions::enableBuiltInMediaEncryption |
Enable media packet encryption. It will be ignored when calling function updateChannelMediaOptions().
Optional<bool> agora::rtc::ChannelMediaOptions::publishRhythmPlayerTrack |
Determines whether to publish the sound of the rhythm player to remote users.
Optional<bool> agora::rtc::ChannelMediaOptions::isInteractiveAudience |
This mode is only used for audience. In PK mode, client might join one channel as broadcaster, and join another channel as interactive audience to achieve low lentancy and smooth video from remote user.
Optional<video_track_id_t> agora::rtc::ChannelMediaOptions::customVideoTrackId |
The custom video track id which will used to publish or preview. You can get the VideoTrackId after calling createCustomVideoTrack() of IRtcEngine.
Optional<bool> agora::rtc::ChannelMediaOptions::isAudioFilterable |
Determines whether local audio stream can be filtered.