Valhalla Legends Forums Archive | C/C++ Programming | Voice communication over the internet?

AuthorMessageTime
warz
Anyone ever messed with doing this? I'd assume it's probably similar to file streams, or socket data streams. Anyone have any information about it?
May 20, 2006, 6:20 AM
FrOzeN
I haven't tried doing this.

But maybe one place to start would be looking into Audacity source code, and learning how to get/play the data from the microphone. Then just find a suitable format to use for streaming over sockets.
May 20, 2006, 6:42 AM
raylu
Voice communication as in something similar to TS or Ventrillo?

Almost all of it uses UDP, I believe, for the actual voices to be sent. TCP to establish who's sending what to whom and about what, though.
May 21, 2006, 7:48 PM
warz
[quote author=raylu link=topic=15022.msg152922#msg152922 date=1148240910]
Voice communication as in something similar to TS or Ventrillo?

Almost all of it uses UDP, I believe, for the actual voices to be sent. TCP to establish who's sending what to whom and about what, though.
[/quote]

Yes, something similar to team speak. I was wondering how hard it would be to make an in game interface for voice communication through brood war, warcraft 3, d2, etc.
May 21, 2006, 7:55 PM
raylu
In-game interface as in...you don't have to run a seperate EXE?

I think it would be very hard and very pointless.
May 22, 2006, 1:58 AM
warz
Pointless? Nah. Hard? Only if voice over ip is hard.

Think about it, a hack for brood war, war 2, diablo 2, war 3, etc that automatically checks to see if other users in the game are running the same hack - if so, connect and allow voice chatting without having to press a button to talk, or press a button to talk, that could be optional.

Ofcourse, this would only work in the games that use UDP, or tell everyone your IP by some other means.
May 22, 2006, 2:53 AM
rabbit
Screwing with Diablo II's processes is not recommended.
May 22, 2006, 9:53 PM
dRAgoN
[quote author=rabbit link=topic=15022.msg152970#msg152970 date=1148334810]
Screwing with Diablo II's processes is not recommended.
[/quote]
D2 open would, closed would not.
May 23, 2006, 12:07 AM
rabbit
Open sucks anyway, so it doesn't matter all that much.
May 23, 2006, 1:43 AM
Twix
iirc this was done for Brood War not to long and the source was posted over at bwh, since bwh has been taken down maybe ask over there they might still have the source for it.
May 23, 2006, 4:03 AM
warz
[quote author=rabbit link=topic=15022.msg152970#msg152970 date=1148334810]
Screwing with Diablo II's processes is not recommended.
[/quote]

If nobody did anything unless it was recommended, then there'd be no such thing as reverse engineering.
May 23, 2006, 11:42 AM

Search