startRtmpStreamWithoutTranscoding abstract method
Starts pushing media streams to a CDN without transcoding. Ensure that you enable the Media Push service before using this function. Ensure that you enable the RTMP Converter service before using this function. See Prerequisites in Push Streams to CDN. Call this method after joining a channel. Only hosts in the LIVE_BROADCASTING profile can call this method. If you want to retry pushing streams after a failed push, make sure to call stopRtmpStream first, then call this method to retry pushing streams; otherwise, the SDK returns the same error code as the last failed push. You can call this method to push a live audio-and-video stream to the specified CDN address and set the transcoding configuration. This method can push media streams to only one CDN address at a time, so if you need to push streams to multiple addresses, call this method multiple times. After you call this method, the SDK triggers the rtmpStreamingStateChanged callback on the local client to report the state of the streaming.
Param url
The address of Media Push. The format is RTMP or RTMPS. The character length cannot exceed 1024 bytes. Special characters such as Chinese characters are not supported.
Implementation
Future<void> startRtmpStreamWithoutTranscoding(String url);