[vlc-devel] commit: RTP: always enable Roll-Over-Counter carriage ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 15 14:50:57 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun 15 15:52:51 2008 +0300| [8c032439f9efb3cc5bcadb05cd12b770b1459bf6]

RTP: always enable Roll-Over-Counter carriage

It is pretty much impossible to receive broadcast SRTP without this.
If/when someone needs to disable this, let me know.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c032439f9efb3cc5bcadb05cd12b770b1459bf6
---

 modules/demux/rtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/rtp.c b/modules/demux/rtp.c
index 8f917ef..cbcaf3d 100644
--- a/modules/demux/rtp.c
+++ b/modules/demux/rtp.c
@@ -241,7 +241,7 @@ static int Open (vlc_object_t *obj)
     if (key)
     {
         p_sys->srtp = srtp_create (SRTP_ENCR_AES_CM, SRTP_AUTH_HMAC_SHA1, 10,
-                                   SRTP_PRF_AES_CM, 0);
+                                   SRTP_PRF_AES_CM, SRTP_RCC_MODE1);
         if (p_sys->srtp == NULL)
         {
             free (key);




More information about the vlc-devel mailing list