encrypting the payload data

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

 



Hi,

Well, the main purpose of audio encoder is to minimize bandwidth by
compressing the raw audio. Then, most audio codecs for voip are lossy
compression, that is why encrypting should be done after encoding :)

Anyway, it is always recommended to implement RTP payload
encryption/decryption using transport adapter, as SRTP does. The
reasons are modularity, no library modification needed, ability to
exploit RTP header, etc.

BR,
nanang


On Thu, Jan 28, 2010 at 11:24 PM, susheel tickoo
<ticks_sunny at yahoo.co.in> wrote:
>
> hi,
> I want to encrypt the payload of the RTP packet and transmit it . I came to understand that we need to encrypt the payload only after encoding it.But once we have encoded it the data size is reduced from 320 bytes to 33 bytes. Can anyone tell me why should we only encrypt after encoding and why the encoder compresses the data?
>
> There is one more thing. When i encrypt the raw data before encoding it,?the encryption/decryption fails as the data is of void* type and i encode it after type casting it to char* .Do we need to take any extra measure to encrypt before encoding.
>
> thanks and regards
> susheel tickoo
>
>
>
> ________________________________
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[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