Commit graph

64 commits

Author SHA1 Message Date
Ghislain MARY
a4d8d5857b Fix bug with AVPF features being wrongly negociated when using DTLS. 2015-10-27 12:24:56 +01:00
Simon Morlat
1dc50acfd1 fix avpf attributes not set when SRTP-DTLS is used. 2015-10-15 11:42:11 +02:00
Ghislain MARY
c149a6da7e Add API to handle custom SDP attributes. 2015-10-07 10:55:10 +02:00
Simon Morlat
0f1cf8b14a fix various recent problems with SDP offer/answer and ICE.
Most problematic was that declined streams were not put in SDP answers.
2015-09-24 16:44:07 +02:00
Sylvain Berfini
c8f1f3b61e Do not use anymore nb_streams but SAL_MEDIA_DESCRIPTION_MAX_STREAMS and skip inactive ones because active streams won't be at the start of the array anymore 2015-09-16 15:23:01 +02:00
Sylvain Berfini
15b6353e30 Started rework of streams' indexes for RTT 2015-09-15 17:27:40 +02:00
Ghislain MARY
91d5a217cb Fix ssrc in SDP for interop with Chrome. 2015-08-18 14:32:44 +02:00
Ghislain MARY
53ccb2c564 Handle and add test for AVPF generic NACK. 2015-08-03 12:41:17 +02:00
Ghislain MARY
12629a26b6 Fix bug in AVPF features negotiation + add tests to prevent regressions on this matter. 2015-06-03 10:19:35 +02:00
Ghislain MARY
d9416f1eec Negotiate RPSI as positive feedback that is the way we are using it in Linphone, keeping compatibility with older versions of Linphone. 2015-06-01 14:14:42 +02:00
Ghislain MARY
1f6fcb6393 Fix negociation of rtcp-fb attributes in SDP.
Some attributes could be added by us on incoming call whereas it should
not be done.
2015-05-18 15:36:18 +02:00
Jehan Monnier
e5933c61bd improve calls in send-only/receive-only mode 2015-03-25 14:37:02 +01:00
Jehan Monnier
084e21cbde fix dtls sdp path when dtls attribute are in sdp session 2015-02-25 09:36:17 +01:00
Simon Morlat
d060f4bd65 fix warning 2015-02-16 18:33:00 +01:00
Jehan Monnier
ccb890ad94 simplify dtls session/media description attributes mgt 2015-02-16 17:50:41 +01:00
Jehan Monnier
06fc0526ec multicast impl 2015-02-04 12:17:14 +01:00
Johan Pascal
e93a80f322 Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-05 18:17:05 +01:00
Jehan Monnier
8d13609402 various ice fix for better interwork 2014-12-15 16:02:27 +01:00
Jehan Monnier
3939954500 add ssrc attribute in case of srtp dtls 2014-12-15 13:04:40 +01:00
Jehan Monnier
20fe706f7d check if number of ice candidate does not exceed stirage size 2014-12-11 14:56:37 +01:00
Jehan Monnier
94b4002cbf fix ice parsing 2014-12-11 08:35:42 +01:00
Johan Pascal
b986af3733 Add dtls srtp 2014-12-10 15:11:36 +01:00
Ghislain MARY
2f6136009c Handle "rtcp-fb ccm fir" attribute in SDP. 2014-06-24 13:59:11 +02:00
Ghislain MARY
3e13527bb3 Activate PLI, SLI and RPSI when receiving rtcp-fb nack attribute. 2014-06-24 10:51:10 +02:00
Ghislain MARY
94105aaa1f Handle AVPF RR interval in milliseconds + fix negotiation of rtcp-fb trr-int parameter. 2014-06-19 09:55:19 +02:00
Ghislain MARY
6f95bbc5d2 Fix bug 0001279: Wrong usage of n_active_streams in the media descriptions.
Inactive streams are now allowed between active streams in the SDP.
2014-06-10 13:26:41 +02:00
Ghislain MARY
3bf28e79af Do not include rtcp-xr and rtcp-fb attributes for inactive medias in the SDP. 2014-06-05 10:53:36 +02:00
Simon Morlat
31d767f9e3 fix compilation error 2014-06-04 15:17:48 +02:00
Ghislain MARY
0cd71d6548 Fix issue with rtcp-fb attributes in SDP of response. 2014-06-02 11:02:41 +02:00
Ghislain MARY
ad64b94401 Parse rtcp-fb attributes contained in SDP. 2014-06-02 11:02:41 +02:00
Ghislain MARY
0a40048d4b Add rtcp-fb attributes in the SDP. 2014-06-02 11:02:41 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Simon Morlat
fbc8f77e3a allow crypto lines to be configured from linphonerc, and improve code handling SRTP crypto lines 2014-05-21 13:11:13 +02:00
Simon Morlat
f6d63524d3 fix declared number of channels in SDP for opus codec, to follow opus-rtp draft.
add ugly hack to allow older versions of linphone to call new versions with opus.
2014-05-01 12:14:05 +02:00
Jehan Monnier
43aa6ef34f change encryption state management 2014-04-17 16:22:49 +02:00
Simon Morlat
a8176a398d rework SRTP support so that recv and send key can be set and updated independently. 2014-04-08 23:41:14 +02:00
Ghislain MARY
1c3714327f Do not use raw attributes to get values. 2014-03-26 16:58:13 +01:00
Ghislain MARY
681b445470 Prevent duplication of RTCP XR attribute in the medias when identical to the session one. 2014-03-19 16:07:05 +01:00
Ghislain MARY
9a4fd36948 Configure the RTCP XR parameters of the rtp session. 2014-03-19 16:07:04 +01:00
Ghislain MARY
4c3baa0528 Define RTCP XR structure in oRTP instead of sal. 2014-03-19 16:07:04 +01:00
Ghislain MARY
8bc0b2e8a4 Handle RTCP XR SDP attribute parsing and creation. 2014-03-04 16:28:23 +01:00
Ghislain MARY
7e00357fd0 Fix compilation with belle-sip 1.3.1. 2014-03-04 14:32:05 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Ghislain MARY
ca5f624bc6 Divide huge function in smaller blocks. 2014-02-24 14:48:47 +01:00
Simon Morlat
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Jehan Monnier
aacd7bb5a2 protect call tester add_video against crash when call has fail 2014-02-10 17:35:08 +01:00
Simon Morlat
eb93c8a62f fix crash when receiving SDP with many mlines 2013-12-19 17:22:24 +01:00
Jehan Monnier
62e978c0bd fix mline when media is declined, remove not implemented test 2013-07-01 20:40:58 +02:00
Jehan Monnier
a1c566ff8b fix srtp +video +ice 2013-05-17 19:19:09 +02:00
Simon Morlat
00c3f621ce add custom header test
fix memory leaks
fix invalid reads
2013-05-07 16:01:47 +02:00