Author |
|
cchildre001 Intermediate
Joined: April 02 2009 Posts: 1
|
Posted: August 18 2011 at 4:37pm | IP Logged
|
|
|
We need to support RTP encryption from the media engine. I
have read several threads talking about it, but have not
been able to find any documentation on it. Is is supported?
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: August 19 2011 at 12:15pm | IP Logged
|
|
|
Charles,
We are in the process of posting an answer. Should be completed shortly...
RZ
|
Back to Top |
|
|
support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: August 19 2011 at 12:25pm | IP Logged
|
|
|
Charles,
Yes - you can encrypt and decrypt (encode/decode) RTP media packets using the media engine. Please see the software developer’s reference for the EnableRawRtpPacketAccess() API procedure.
Summary:
The RTP encryption is completely handled by your VOIP application. Your application can register an RTP packet callback handler with the LME for each phone line in use. The LME will then call this handler for all ready-to-be transmitted RTP packets and for all received RTP packets. Your app can then encode/decode RTP media however it wants.
There are two native code (C/C++) samples that show how to do this. Please see the “single line phone” or the multi line phone” native samples apps.
Note:
The same RTP callback capabilities are also supported by the .NET managed code LME wrapper. At this time however, no .NET sample exists showing its use. If you need this, we can put together a simple .NET console app showing this if required.
If you search the “single line phone” sample code for the EnableRawRtpPacketAccess() API procedure, you will see how it is accomplished. All the important code is contained in the PhoneBase.cpp module.
Randal
|
Back to Top |
|
|