QNCDNStreamingConfig
Index
Core Properties
Core Properties
publishUrl
- @property (nonatomic, copy) NSString *publishUrl;
-
RTMP 推流地址
audioTrack
- @property (nonatomic, strong) QNLocalAudioTrack *audioTrack;
-
推流需要的 audioTrack, 可以是 microphoneTrack 或者 customAudioTrack
videoTrack
- @property (nonatomic, strong) QNLocalVideoTrack *videoTrack;
-
推流需要的 videoTrack, 可以是 cameraTrack 或者 customVideoTrack
enableQuic
- @property (nonatomic, assign) BOOL enableQuic;
-
是否打开 quic, 默认关闭
reconnectCount
- @property (nonatomic, assign) uint32_t reconnectCount;
-
重连次数,默认 3 次
bufferingTime
- @property (nonatomic, assign) uint32_t bufferingTime;
-
推流缓存最大时长, 单位ms, 默认 5000 ms
文档反馈
(如有产品使用问题,请 提交工单)