In-game chat - audio/video streaming

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jack
Posts: 13
Joined: Tue Oct 30, 2007 7:48 pm

In-game chat - audio/video streaming

Post by jack »

Hi everyone,

I'm trying to implement some audio and video streaming for a project I'm working on using Irrlicht.

I was considering using irrKlang for the audio streaming, but I haven't been able to make that work yet.

Does anyone know how I might go about getting users to stream their audio to each other? I have looked almost everywhere for a starting point but I've been unable to find one. :(

Many thanks.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

I don't know about IrrKlang, but I doubt it has such a functionality... ;)
I think this doesn't belong to the audio lib, but to the network lib you use...
I use RakNet and it has a special part just for team chat... 8)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Seconded: RakNet FTW.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
jack
Posts: 13
Joined: Tue Oct 30, 2007 7:48 pm

Post by jack »

I am currently using a custom-written server to support packet forwarding. The system I am trying to implement is very basic. :p

I've investigated RakNet and I think I wouldn't be able to use my custom-written server to drive the networking? Is it possible to use a subset of RakNet to support the live audio/video streaming in conjunction with my own server code?

Is it possible to use RakNet for *live* audio/video streaming? I haven't been able to find much on *live* streaming. :(

Many thanks.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

RakNet uses the Speex codec for *live* audio streaming. It's optimised for voice, which may not be ideal for your application. Depending on what you've already got, you may be able to just use Speex directly.

Video streaming, eh, dunno. I just used xvid for a simple webcam, but that was sending via TCP (because I had to use a bidirectional socket, not through choice). I guess you'd be more interested in a loss tolerant video codec.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply