[OpenSIPStack] Help using OpenSipStack / Echo Play problem
Brought to you by:
joegenbaclor
From: Christian W. <cwa...@gm...> - 2008-05-12 15:23:08
|
Hi Ilian, thanks fort he hint, I have it already done and now I ran into the next problem: If I try to play a file which is in the format g711 alaw by calling pDestStream->WriteData(pData, dwWrite, nRead); the function immediately returns and if I do this without waiting some time before I send the next buffer I hear a short noise then nothing... If I wait the playing is interrupted how can I get it the the playing sounds normal ? Btw: Is it normal that I hear an echo if the medaipatch was created ? If I dont create the path, I only get the source stream but no Destination stream... Kind regards Christian -----Ursprüngliche Nachricht----- Von: ope...@li... [mailto:ope...@li...] Im Auftrag von Ilian Jeri C. Pinzon Gesendet: Montag, 12. Mai 2008 11:19 An: ope...@li... Betreff: Re: [OpenSIPStack] Help using OpenSipStack / Problems answering a SIP call Hi, Since you won't use the PC sound system, the modifications for what you need are not trivial. First, you need to re-enable the following lines in SoftPhone.cxx: AddRouteEntry("pc:.* = sip:<da>"); AddRouteEntry("sip:.* = pc:<da>"); These sets the linkages of the endpoints. In this case, SIP-to-PCsoundsystem and PCsoundsystem-to-SIP. Then you will have to override OpalEndPoint and OpalConnection. You can use OpalPCSSEndpoint and OpalPCSSConnection as reference. But instead of using OpalAudioStream, your classes will need to use a specialized OpalMediaStream that can read from your source and write any incoming data. OpalFileMediaStream will probably suffice if you play and record from files. To get a grasp of how the process works, try setting up break points in OpalPCSSEndpoint, OpalPCSSConnection , and OpalMediaStream. Christian Wallukat wrote: > Hi all, > > > > I need urgent Help, since I didnt get it ... > I attached the SoftPhone files which I have > Modified. For my project I only need to get the > Call and access to the media stream (recording > And playing). > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.23.11/1422 - Release Date: 08.05.2008 17:24 |