IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Ogg TCP/IP like Skype
cocojzz
post 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!! sad.gif
Go to the top of the page
+Quote Post
HotshotGG
post 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
Go to the top of the page
+Quote Post
rpp3po
post 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)... wink.gif

This post has been edited by rpp3po: Apr 2 2009, 14:50
Go to the top of the page
+Quote Post
rt87
post Apr 2 2009, 15:04
Post #4





Group: Members
Posts: 89
Joined: 28-October 03
Member No.: 9505



for voice chat, I'd prefer speex IMHO.

This post has been edited by rt87: Apr 2 2009, 15:05


--------------------
Sorry for my English.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 23:25