直播流推流+分流问题
现在比如有很多直播流 直播流有两种格式m3u8\flv 比如:
https://live-rtmp.XXXX.com/live/sd1.m3u8
https://live-rtmp.XXXX.com/live/sd2.m3u8
https://live-rtmp.XXXX.com/live/sd3.m3u8
https://live-rtmp.XXXX.com/live/sd4.m3u8
https://live-rtmp.XXXX.com/live/sd5.m3u8
https://live-rtmp.XXXX.com/live/sd1.flv
https://live-rtmp.XXXX.com/live/sd2.flv
https://live-rtmp.XXXX.com/live/sd3.flv
https://live-rtmp.XXXX.com/live/sd4.flv
https://live-rtmp.XXXX.com/live/sd5.flv
用PHP或者其他什么技术 把这些直播流分别推流到腾讯云和阿里云直播 进行分流
腾讯云推流地址
rtmp://live-push.tencent.com/stream/$name
阿里云云推流地址
rtmp://live-push.aliyun.com/stream/$name
请教有没有什么完整的教程实现!
还有会遇到 直播流会中断 ,推流的过程中,能自动处理中断后重新推流吗?
github 搜下 srs
蹲下答案
转推功能服务商不就提供吗?推两路流对设备和网速要求是很高的。