84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
视频直播现在很火,有不少直播云可以使用。通常是推流和拉流。假如有两个视频流,如何在服务端切换视频流,客户端同时也无缝无延迟无中断的实现切换?
这里不贴具体代码。
希望大神提供解决思路。
走同样的路,发现不同的人生
Maybe it can be like this:
The background notifies the client to switch from a.rtmp to b.rtmp
The client creates a new live view behind the live view, hides it first, and loads b.rtmp
Confirm that b.rtmp has started playing, destroy the interface of a.rtmp, and display b.rtmp
It’s impossible to connect exactly because there is no timeline
Maybe it can be like this:
The background notifies the client to switch from a.rtmp to b.rtmp
The client creates a new live view behind the live view, hides it first, and loads b.rtmp
Confirm that b.rtmp has started playing, destroy the interface of a.rtmp, and display b.rtmp
It’s impossible to connect exactly because there is no timeline