AgoraRtmpStreamLifeCycle Constants Reference
Declared in | AgoraEnumerates.h |
---|
AgoraRtmpStreamLifeCycle
Lifecycle of the CDN live video stream.
DEPRECATED
Definition
typedef NS_ENUM(NSInteger, AgoraRtmpStreamLifeCycle ) {
AgoraRtmpStreamLifeCycleBindToChannel = 1,
AgoraRtmpStreamLifeCycleBindToOwnner = 2,
};
Constants
AgoraRtmpStreamLifeCycleBindToChannel
-
Bound to the channel lifecycle. If all hosts leave the channel, the CDN live streaming stops after 30 seconds.
Declared In
AgoraEnumerates.h
. AgoraRtmpStreamLifeCycleBindToOwnner
-
Bound to the owner of the RTMP stream. If the owner leaves the channel, the CDN live streaming stops immediately.
Declared In
AgoraEnumerates.h
.
Declared In
AgoraEnumerates.h