[pjsip] RTP encryption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



anass kartit wrote:
> Hi,
> I have been modifying transport_udp.c traying to access the payload and 
> encrypt it should I modify the on_rx_rtp in stream.c for that instead ?

Don't. Work strictly in transport_udp.c, since stream.c doesn't need 
to know about encryption in the transport layer.

If you need to access the payload, you can parse the RTP packet with 
pjmedia_rtp_decode_rtp() (by creating a dummy RTP session first 
every time you need to parse the RTP packet).

regards,
  -benny







[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux