Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™
 LanScape Support Forum -> LanScape VOIP Media Engine™
Subject Topic: Read and write to memory stream Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lem1x
Intermediate
Intermediate


Joined: July 06 2012
Posts: 2
Posted: July 06 2012 at 9:41am | IP Logged Quote lem1x

Is it possible that your SIP client will read and write audio to memory stream? On our media server we have already voice stream encoded with G711 codec and we would like to connect to IP PBX and send voice from memory buffer. We would also like to receive incoming voice and write it into memory stream.
Back to Top View lem1x's Profile Search for other posts by lem1x
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: July 06 2012 at 9:58am | IP Logged Quote support

Hi,

Yes - you can do everything you describe with our VOIP SDK. There are two ways to achieve your goal…

Method 1: Access the raw RTP media bytes for the phone calls.
See the EnableRawRtpPacketAccess() API procedure in the SDK help file documentation for more information.

Method 2: Use the Tx and Rx IVR phone line interfaces.
This is probably a better way to do what you want. You can pass memory/stream based media to the VOIP phone lines. You can also receive the media data from the phone lines to copy to your stream buffers.

The IVR APIs will also help you with automatic format and rate conversions too.

See the following APIs to get started:
OpenRxIvrChannel()
CloseRxIvrChannel()

OpenTxIvrChannel()
CloseTxIvrChannel()


RJ

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights