streaming solution: client-server and p2p alternatively

Hi all,

I am a java developer. I am looking for a solution for streaming music using client-server and p2p alternatively, just like what spotify.com is doing now.

I have searched and seen that wowza has the best media streaming server. However, I dont know if it is possible to integrate it with other p2p system. Theoretically If i understand right, a client want to download/play a video file, it will check if that file is available in p2p network, if there are enough peers it will use the p2p connections for streaming, otherwise it will use the stream from wowza server. This will reduce the connections to server hence the number of concurrent connections will be a lot more.

There is one opensource p2p streaming i found which might be nice to use: freecast.org.

Last but not least, if I want to build this type of media client, is there any open source media player project already so that i can reuse it.

I am still in research phase to find the right tool, pls share with me your expertise.

Thank you

Wowza does not support p2p, and there is no plan as far as I know to add p2p features. And I don’t have any suggestion on how to bolt it on, if that is even practical.

Richard

Lam,

Do you mean OSMF players? If so, you can use Strobe or Flash Media Playback:

Strobe

http://www.osmf.org/strobe_mediaplayback.html

Flash Media Playback (easiest)

http://www.osmf.org/strobe_mediaplayback.html

There are Wowza OSMF examples i the Simple and LiveVideoStreaming folder

Richard

As I said, I really don’t have any suggestion. It’s not supported in Wowza.

Richard

Hi Richard,

Thank you for your reply.

Actually i dont really understand the mechanism. If I understand right about p2p, is it so that the client is a seed and also a peer for other clients and it is a client - client communication and not related to wowza server? I think wowza server just need to have to method to provide other peers info so that the client can decide which source it should stream from.

I think wowza should take this into consideration and have a solution for this as we all dont want to make the speed slow down when there are plenty of connections simultaneously.

About the opensource media player client? do you know about any good one which I can reuse?

THanks, Lam

Hi Richard,

THe Strobe player looks nice however it is not quite like what i am expecting. I am trying to build a destop application as a client (supporting p2p of course), I fount some opensource client in java and also Qt. http://despotify.se/ has some basics GUI which playlist, feeds, etc but its targeted is for spotify server and not so detailed as a media player.

Right now I am still confusing about the platform and techniques, etc to use in order to achieve my goal, do you have any guideline pls.