Ogg TCP/IP like Skype |
![]() ![]() |
Ogg TCP/IP like Skype |
Apr 2 2009, 08:37
Post
#1
|
|
|
Group: Members Posts: 1 Joined: 2-April 09 Member No.: 68585 |
Hello all,
I'm an University Student, I want use Ogg development onlinephone, just like Skype. (TCP/IP,C++) one Server, two Clients users: A,B. When A,B user successful connect to Server. they can Voice Chat. However, I do not know how to do so OGG support. Please help me. sorry,my English so bad!! |
|
|
|
Apr 2 2009, 13:37
Post
#2
|
|
![]() Group: Members Posts: 1593 Joined: 24-March 02 From: Revere, MA Member No.: 1607 |
The Ogg bitstream APIs are written in C and the documentation covers that as well. I don't know how you would port those over to C++. If you are hard pressed to find any API's on the internet (There are countless VOIP and Telephony applications written for Linux that can do this that are open source) you may want to download there source code to get some idea. If you are hard pressed to find anything you might want to read the Ogg programming documentation. Your best best would be to use Speex encapsulated in an Ogg container.
Ogg bitstream documentation: http://xiph.org/ogg/doc/ Speex (IP Telephony/Video Conferencing Applications): http://speex.org/software/ This post has been edited by HotshotGG: Apr 2 2009, 13:38 -------------------- College student/IT Assistant
|
|
|
|
Apr 2 2009, 14:42
Post
#3
|
|
|
Group: Developer Posts: 1126 Joined: 11-February 03 From: Germany Member No.: 4961 |
A very simple implementation would just have client A (B) open a TCP socket to the server, which would just forward any I/O to B (A). The clients then just write OGG streams into their sockets instead of files (there is no fundamental difference). The OS usually provides the necessary abstraction to treat a socket just like the end of a tube. This simple setup could even pipe to and from a command line encoder. But I somehow got the feeling, that you aren't that "far", yet (let alone OGG support)...
This post has been edited by rpp3po: Apr 2 2009, 14:50 |
|
|
|
Apr 2 2009, 15:04
Post
#4
|
|
|
Group: Members Posts: 89 Joined: 28-October 03 Member No.: 9505 |
-------------------- Sorry for my English.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 19:35 |