I was just wondering how others where using SGS when streaming audio/video, or just sending large files.
In the MPK20 demo we stream our audio and video separately from the SGS, we just use the SGS to control it.
Its really not built to be a “streaming server”. If your looking for large scale streaming of data, Sun makes other software for that.
Hi rizenine.
Like Jeff said, Darkstar isn’t really designed to be a streaming server, but there are other projects that do stream and are integrated with Darkstar. The MPK20 demo that Jeff mentioned is part of a larger project here at Sun to explore how distributed companies (like Sun) can use game environments to better communicate and collaborate. They have a robust VoIP bridge that they wrote, and they integrated this with Darkstar so that there’s a VoiceManager that applications use, and which in turn uses Channels to do call management. It’s pretty neat, and the goal is to make this service available so that anyone building on Darkstar can re-use these VoIP capabilities.
seth
Is there somewhere I can read on this?
I see that Darkstar uses Mina and I know you could use Mina to stream. Maybe something like a streaming manager could be implemented.
Certainly. There is some significant work being done to the SGS IO layer right now, and one goal is to provide an interface that would allow this sort of service to be written.
That said, you’ll probably still want to keep bulk data off your SGS stack, at least for now. We can handle it eventually, but the priority is on the rocket science: scalable, transactional, persistent game logic and communications.
We can always add a fast path around around the deeper parts of the stack for bulk data, but since excellent streaming solutions already exist, we’re unlikely to focus on it. But feel free to contribute your own streaming service implementation! ;D
Here’s someone who has used Apple’s open source streaming server with open solaris…
http://www.nbl.fi/~nbl97/solaris/media/streaming/index.html
I’m tracking down the references to Sun products.
My gut though says, though you could build a service to try to do this, its really the kind of thing that is so resource hungry you want it at least in its own process and preferably on its own box.
If it were my project, I’d write a little manager or service to control an existing streamer running on another machine.
Here we go…
Sun StorEdge Media Central Streaming Server
Excerpt from the manual, (which is at that location and worth a read just to fully understand the problem…)
What is Sun StorEdge Media Central Streaming Server?
Sun StorEdge Media Central Streaming Server streams high quality video media at
low bit-rates over the Internet in real-time. Using the open standards, the product
provides complete flexibility by eliminating the need to move to a propriety system.
The server runs on Solaris and is architected to be client and format-agnostic and
support multiple file formats. It can stream any file format as long as it is packetized
in standard RTP format. Media Central Streaming Server software also supports the
QuickTime file format. Clients can use Apple’s QuickTime player or any RTSP
compliant player to view streamed content.
As an extension of the Sun StorgEdge Media Central platform, the streaming server
enables traditional content creators and broadcasters to use the Web as an alternative
channel to distribute their content.