Agora RTC Objective-C API Reference
Refactor
|
The IRtmpLocalUser class defines the behavior and state of the RTMP user.
Once connected, a RTMP connection has its own user. Apps can get the user object using IRtmpConnection::getUser.
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Publishes a local audio track to the RTMP connection.
audioTrack | The local audio track to be published: ILocalAudioTrack. |
|
pure virtual |
Stops publishing the local audio track to the RTMP connection.
audioTrack | The local audio track that you want to stop publishing: ILocalAudioTrack. |
|
pure virtual |
Publishes a media player local audio track to the RTMP connection.
audioTrack | The local audio track to be published: ILocalAudioTrack. |
playerId | The player source ID. |
|
pure virtual |
Stops publishing the media player local audio track to the RTMP connection.
audioTrack | The local audio track that you want to stop publishing: ILocalAudioTrack. |
playerId | The player source ID. |
|
pure virtual |
Publishes a local video track to the RTMP connection.
videoTrack | The local video track to be published: ILocalVideoTrack. |
|
pure virtual |
Stops publishing the local video track to the RTMP connection.
videoTrack | The local video track that you want to stop publishing: ILocalVideoTrack.
|
|
pure virtual |
Registers a RTMP user observer object.
You need to implement the IRtmpLocalUserObserver class in this method. Once registered, the IRtmpLocalUserObserver receives events sent by the IRtmpLocalUser object.
observer | The pointer to the IRtmpLocalUserObserver object. |
|
pure virtual |
Releases the IRtmpLocalUserObserver object previously registered using registerRtmpUserObserver().
observer | The pointer to the IRtmpLocalUserObserver object that you want to release. |
|
pure virtual |
Registers an audio frame observer object.
observer | A pointer to the audio frame observer object: IAudioFrameObserver. |
|
pure virtual |
Unregisters an audio frame observer object.
observer | A pointer to the audio frame observer object: IAudioFrameObserver. |
|
pure virtual |
Registers a video frame observer object.
observer | A pointer to the video frame observer: IVideoFrameObserver. |
|
pure virtual |
Unregisters a video frame observer object.
observer | A pointer to the video frame observer: IVideoFrameObserver. |