|
Agora RTC Objective-C API Reference
Refactor
|
onRemoteVideoStateChanged:REMOTE_VIDEO_STATE_STOPPED(0) and REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED(5).REMOTE_VIDEO_STATE_DECODING(2) and REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED(6). LOCAL_VIDEO_STREAM_STATE_CAPTURING(1) in onLocalVideoStateChanged instead. LOCAL_VIDEO_STREAM_STATE_STOPPED(0) in the onLocalVideoStateChanged callback instead. onConnectionStateChanged instead. onConnectionStateChanged instead. onRemoteAudioStateChanged instead. onRemoteAudioStateChanged instead. onRemoteAudioStats instead. onRemoteVideoStats instead. setAudioProfile(AUDIO_PROFILE_TYPE profile) = 0 method instead. To set the audio scenario, call the initialize method and pass value in the audioScenario member in the RtcEngineContext struct. context in initialize to set up the log file path. logConfig in initialize to set the log filter. context in initialize to set the log level. logConfig in initialize to set the log file size. setLocalRenderMode(RENDER_MODE_TYPE renderMode, VIDEO_MIRROR_MODE_TYPE mirrorMode) instead. setupLocalVideo or setLocalRenderMode instead. setDualStreamMode instead. setDualStreamMode instead. IMediaEngine::createLoopbackAudioTrack to create a loopback audio track, then use ChannelMediaOptions::publishLoopbackAudioTrackIds to publish it. Use IMediaEngine::adjustLoopbackAudioPublishVolume to adjust its volume. onConnectionStateChanged instead. onRemoteAudioStateChanged instead. onRemoteAudioStateChanged instead. The SDK triggers this callback under one of the following circumstances:onRemoteAudioStats instead. onRemoteVideoStats instead. IMediaEngine::createLoopbackAudioTrack to create a loopback audio track, then use the connection's channel media options and publishLoopbackAudioTrackIds to publish it. Use IMediaEngine::adjustLoopbackAudioPublishVolume to adjust its volume. config in sharedEngineWithConfig:delegate: to set the log file instead. logconfig in sharedEngineWithConfig instead. logconfig in sharedEngineWithConfig:delegate: to set the log file size instead.