使用PHP(或其他语言)流式传输数据(例如音乐) [英] Stream data (such as music) using PHP (or another language)

查看:273
本文介绍了使用PHP(或其他语言)流式传输数据(例如音乐)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,我一直在研究如何从计算机创建音乐流.我已经看过程序,但是看到的所有有用的东西都只有Windows(我使用Mac).

For years, I've been investigating how to create music streams from my computer. I've seen programs, but anything useful I've seen is Windows only (I use a Mac).

最终,我对的工作方式产生了兴趣.有什么方法可以创建我的 own 流,可能使用PHP中的套接字函数吗?是否有一个PHP库?

Eventually, I got interested in how streams work. Is there any way I could create my own stream, possibly using socket functions in PHP? Is there a PHP library for this?

推荐答案

看看 Ampache .它是一个基于Web的开源音频文件管理器.它是通过MySQL和PHP实现的.它使您可以通过网络查看,编辑和播放音频文件.

Take a look at Ampache. It is a Web-based Open Source Audio file manager. It is implemented with MySQL, and PHP. It allows you to view, edit, and play your audio files via the web.

这篇关于使用PHP(或其他语言)流式传输数据(例如音乐)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆