0

我有一个应用程序可以实时播放视频,并在播放过程中将其存档。

我的问题是:当我在直播中点击或允许“暂停”然后“播放”时会发生什么?显然,另一端流媒体的人继续这样做,我的应用程序继续存档它,但是接收流的人呢?

他们是从存档的副本中恢复播放,还是继续寻找流中的当前点,错过了他们暂停的所有内容?

干杯。

4

2 回答 2

1

我认为你不能暂停直播。如果实时流在恢复时暂停,则应从当前流开始播放。如果做不到这一点,禁用暂停功能就足够了。

于 2011-07-27T05:09:00.387 回答
0

I would check out http://www.veetle.com. It is all live steams and they do not have a pause button but rather an on and off button.

So to answer your question I would say to make it simple pause should stop/pause the playback and then when it is resumed start from where the live stream is.

On the other hand if you could pause the live stream and continue from the same time that would be really slick, a little confusing to build but slick

于 2011-06-29T20:16:39.663 回答