Inherits <NSObject>.
Protocol providing the AgoraLivePublisher class with callbacks.
◆ rtcEngine:rtmpStreamingChangedToState:state:errCode:
Occurs when the state of the RTMP streaming changes.
- Parameters
-
engine | The AgoraRtcEngineKit object. |
url | Address to which the publisher publishes the stream. |
state | [AgoraRtmpStreamingState]([AgoraRtmpStreamingState]) |
errCode | [AgoraRtmpStreamingErrorCode]([AgoraRtmpStreamingErrorCode]) |
◆ publisher:streamPublishedWithUrl:error:
- (void) publisher: |
|
(AgoraLivePublisher *_Nonnull) |
publisher |
streamPublishedWithUrl: |
|
(NSString *_Nonnull) |
url |
error: |
|
(AgoraErrorCode) |
error |
|
|
| |
|
optional |
A stream was published.
- Parameters
-
publisher | AgoraRtcEngineKit object. |
url | Address to which the publisher publishes the stream. |
error | AgoraErrorCode |
◆ publisher:streamUnpublishedWithUrl:
- (void) publisher: |
|
(AgoraLivePublisher *_Nonnull) |
publisher |
streamUnpublishedWithUrl: |
|
(NSString *_Nonnull) |
url |
|
|
| |
|
optional |
A stream was unpublished.
- Parameters
-
publisher | AgoraRtcEngineKit object. |
url | Address to which the publisher unpublishes the stream. |
◆ publisherTranscodingUpdated:
The publisher transcoding was updated.
- Parameters
-
◆ publisher:streamInjectedStatusOfUrl:uid:status:
- (void) publisher: |
|
(AgoraLivePublisher *_Nonnull) |
publisher |
streamInjectedStatusOfUrl: |
|
(NSString *_Nonnull) |
url |
uid: |
|
(NSUInteger) |
uid |
status: |
|
(AgoraInjectStreamStatus) |
status |
|
|
| |
|
optional |
The status of the imported external video stream.
- Parameters
-
publisher | AgoraRtcEngineKit object. |
url | URL address of the imported external video stream added to the live broadcast. |
uid | User ID. |
status | AgoraInjectStreamStatus. |