问题描述
想要的播放mp3文件的目录,如果你在下午3点33分33秒加入,你所听到的别人听到这样的球员(易够放了),无法追踪之一。像的伪广播/流。我如何做到这一点? - 什么看起来不错/大概可最小化/易
Want a player (easy enough to put up) that plays back a directory of mp3s in such a way that if you join at 3:33:33 pm, you hear what others hear, not track one. like a pseudo broadcast/stream. how do i achieve that - what looks nice / is probably minimizable / is easy?
我想使用mirvling,但没有这样的运气。有任何想法吗?
i am trying to use mirvling but no such luck. any ideas?
推荐答案
这是不太可能你会找到的东西到位下降。另外,这通常不是对事物的客户端处理。如果你忘记指定什么语言,什么不是,你都在用,所以我将提供一个统一的答案。
It's unlikely you're going to find something to drop in place. Plus, this isn't typically handled on the client side of things. You neglected to specify what languages and what not that you are using, so I'll provide a general answer.
有两种方法来做到这一点。
There are two methods to accomplish this.
基本上与此,您将创建一个由的音频文件正在播放的服务器上的音频流。客户喜欢玩任何传统的活的互联网广播电台的音频流,无流是如何创造的知识。您可以使用Shoutcast一样/ icecast理解为服务器和连接codeRS许多不同的源流,如冰块。
Basically with this, you create an audio stream on the server that is made up of the audio files being played back. The clients play an audio stream like any traditional "live" internet radio station, without knowledge of how the stream was created. You can use SHOUTcast/Icecast for the servers, and a number of different source stream encoders, such as Ices.
对于这一点,你会从头开始。曾经服务了JSON饲料或类似的包含应播放时音频文件的播放列表。在客户端,您可以使用JWPlayer或相似,并寻求当前曲目的所需位置启动时,再从那里顺序播放曲目。
For this, you'll be starting from scratch. Have a JSON feed or similar served up that contains a playlist of the audio files that should be played and when. On the client side, you can use JWPlayer or similar, and seek to the desired position of the current track when it starts, and then play tracks in order from there.
这篇关于MP3播放器的网站与同步播放(不是流)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!