P2P服务器端,以及电台,流媒体
streamerp2p
Streamerp2p enables anyone to webcast without needing to pay for servers or hosting. It works from your home pc, even on dial-up for some streams. There is no maximum limit to listeners, like with like shoutcast or other unicasting. It is completely free to use for both personal and commercial users. Small install (12M with the LibVlc video library)
这个意思是一样的,like with like,也许是unlike的意思,unicasting单播肯定不行啊。。。。shoutcast 要设置N多个单播点啊,那就是CDN了。
P2p radio,不再继续开发的
http://p2p-radio.sourceforge.net/about.php.en
P2P-Radio can distribute audio streams in the MP3 and Ogg Vorbis formats and video streams in the NSV format over the Internet. This is done in a peer-to-peer way. The broadcaster doesn't need to send the stream to every single listener, because the listeners distribute it among themselves.
首先肯定是说流媒体内容分发是通过各个listener的,使用简单,带有GUI的操作界面;播放audio,类似winamp,
- A Shoutcast/Icecast Internet radio/TV station is used as audio/video source
- 无上传的听众客户端,会被列出
- 数据安全,p2p之间的数据串改问题
- http://p2p-radio.sourceforge.net/download/index.php.en
通过专业的客户端才能播放,否则就不能上传数据了,是不是?
蓝天P2P流媒体直播技术文档
国产的,感觉也还蛮好的,web管理后台也有。
由P2P服务端软件从media server以http的格式取出码流进行广播。当然,如果P2P服务端知道现场电脑的IP地址,也可以直接从media encoder读取码流而无需经过media server。其流程如下:
摄像枪à现场电脑windows media encoderà机房服务器windows media serveràP2P 服务端àP2P 客户端à客户端播放器Media player
其中的windows media server是win2003自带的软件,windows media encoder则可以从Microsoft的网站上免费下载。
建议采用编码速率为400K以下的单比特率码流,这样可以保证从现场到机房的信息传送,也可以适应大多数ADSL用户的信息交换。种子数可以设为默认的5个。
网络电台
可以用P2P服务端播放WMA、RM、MP3格式的文件。也可以采用直播的方式一边录制一边播放。网络电台适合于一边工作一边收听,比起网络影视有更广阔的用户空间。
如果你是采用ADSL进行广播,最好采用128K以下的码流,把种子数设少一些,例如3个。一般原则是所播放的码流乘以种子数不超过总的带宽。ADSL的上行带宽只有512K,扣减一些消耗,可用的不会超过500K。种子数也不能少于3个,否则没有冗余网络可靠性太差。
客户端,
pc,
web
这两者应该相对简单,例如上面的bluesky,提供支持可以把p2p客户端控件嵌入到其他客户端软件中。最简单的办法是在客户端软件中嵌入一个浏览器插件,然后让这个浏览器插件访问播放的网页。这种方法编程量最少,改动也方便。
另一种办法是直接使用P2P控件,例子可以看软件包中的ppclient.zip,这是一个用VC对ppc.ocx直接编程的例子。
ios,
概述性质的p2p sdk
https://developer.qualcomm.com/blog/peer-peer-apps-ios-android-windows-8-alljoyn
announce that the AllJoyn SDK 3.0 we’re releasing today supports these mobile and desktop operating systems:
- Android
- iOS (new)
- Linux
- OS X Lion and later (new)
- Windows 7
- Windows 8 (new)
- Windows RT (new)
https://www.alljoyn.org/forums/developers/audio-streaming-using-alljoyn
2 down vote
accepted
|
I can't see why this scenario - iOSDevice1 -> one-time ip lookup, iOSDevice1 -> iOSDevice2 wouldn't work, assuming that both devices have publicly routeable IP addresses (or are on the same network). I think both of them having publicly routeable addresses is pretty unlikely though.
|
2 down vote
accepted
|
I can't see why this scenario - iOSDevice1 -> one-time ip lookup, iOSDevice1 -> iOSDevice2 wouldn't work, assuming that both devices have publicly routeable IP addresses (or are on the same network). I think both of them having publicly routeable addresses is pretty unlikely though.
|
http://stackoverflow.com/questions/17578977/is-pure-p2p-possible-on-ios
Android,
基于Android的P2P 在线点播系统http://wenku.baidu.com/view/b6d3851fc5da50e2524d7f82.html
我是做Android的,最近在研究手机上实现p2p技术方面的知识,想做一个播放器,可以实现p2p方式播放和下载音频文件,类似BT,电驴那样的下载,发现android版的PPS,PPTV这些软件已经实现这些技术了,但参考资料太少了,小弟不明白如何去做,有没有高人给些这方面的资料。。。。
2 down vote
accepted
|
I can't see why this scenario - iOSDevice1 -> one-time ip lookup, iOSDevice1 -> iOSDevice2 wouldn't work, assuming that both devices have publicly routeable IP addresses (or are on the same network). I think both of them having publicly routeable addresses is pretty unlikely though.
|