RTCP port setup in SDP

RTCP port setup in SDP

Support ForumCategory: Usage and FeaturesRTCP port setup in SDP
Emmanuel Riou asked 6 years ago
Hi all, I am trying to ingest a raw RTP stream by feeding pullstream with an SDP file like this: pullStream uri=file:///tmp/test.sdp localStreamName=test Here is my SDP: v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
m=video 56512 RTP/AVP 107
c=IN IP4 127.0.0.1
a=rtpmap:107 H264/90000
a=rtcp:56512 IN IP4 127.0.0.1
a=fmtp:107 profile-level-id=42e01f;packetization-mode=1;sprop-parameter-sets=Z0LAHw6MjUBQF7ywDwiEag==,aBIdOPI=
a=control:trackID=1
m=audio 56510 RTP/AVP 97
c=IN IP4 127.0.0.1
b=AS:128
a=rtpmap:97 MPEG4-GENERIC/48000/2
a=rtcp:56510 IN IP4 127.0.0.1
a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=119056E500
a=control:trackID=2   So I have 2 RTP streams, 1 audio and 1 video, and my source is forwarding RTCP packets on the same ports as the RTP ones. That\’s why I added those lines: a=rtcp:56512 IN IP4 127.0.0.1 for video and a=rtcp:56512 IN IP4 127.0.0.1 for audio It is unfortunately ignored by evostream with a message like this: /thelib/src/protocols/rtp/streaming/innetrtpstream.cpp:520 RTCP disabled on stream INP(3) with name `test` from protocol IRTP(46). A/V drifting may occur over long periods oftime. I am gonna have audio/video synchronization issues if evostream doesn\’t receive the RTCP Sender Reports from the source. How is RTCP handled by Evostream and how can I setup a RTCP port in my SDP (or is there a way to tell Evostream that RTP and RTCP are multiplexed on the same port?) Thanks! Emmanuel.  



Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.