Richard Fuchs
f0b1906809
TT#89352 add option to strip a:extmap
...
closes #1271
Change-Id: I17e177b96983798f693f162c45643b5a82258278
4 years ago
Richard Fuchs
f2f45a0836
TT#89352 return proper ICE candidate parsing result
...
Change-Id: I6bdd5db074eae0dccb86bb50d1370154bb024bf2
4 years ago
Richard Fuchs
b0c97e4ccc
TT#89352 support extended ICE candidate syntax
...
Change-Id: Ib0d116d69297459a0ec8e3c06f5497df4bb7dbfb
4 years ago
Richard Fuchs
f04332915b
TT#91151 add publish/subscribe commands
...
Change-Id: I1842b89efea7fa3af0bd4d045e49da31285cd0e1
4 years ago
Richard Fuchs
124d89ade0
TT#14008 ignore "received from" address when ICE is in use
...
Also add a safeguard against filling the remote peer address with an
address from the wrong family
closes #1305
Change-Id: Iac18212b4d526a2f7d49a06ddcd724aa89b06060
4 years ago
Richard Fuchs
24665ebc90
TT#89352 report SDP errors
...
Change-Id: Idf6522f63691f066cfae2f2337c4d605f5d5feb5
4 years ago
Richard Fuchs
4f49eee43f
TT#91151 fix missing "IN" in generated SDP
...
Change-Id: Ie67e0f6d67010f5d2a3e0c3d0f89c1f610b5f390
5 years ago
Richard Fuchs
00c6dfb204
TT#91151 add function to create synthetic SDP
...
Change-Id: I7c4698a61c380efc8043444e255f8d5a1c7f0c6d
5 years ago
Richard Fuchs
ffaed806c3
TT#91151 save raw protocol string
...
Change-Id: I21bee5b28522ef01fa5902c0b1fc69e2cade8434
5 years ago
Richard Fuchs
0988537ca8
TT#91151 generalise SDP printing
...
Change-Id: I8f7f47867d1363487440b5e74bedbca936826363
5 years ago
Richard Fuchs
d0c6919923
TT#91151 save last input SDP w/ parsed
...
Change-Id: I561371fe83b1aea65e3ae3f8b60ceb9250923a23
5 years ago
Richard Fuchs
3b3979586f
TT#91151 move `num_ports` into stream_params
...
Change-Id: I8f20f07f092204a70917c3d180adc13fb7b44da1
5 years ago
Richard Fuchs
1d387b98ef
TT#112700 rework codec offer/answer routine
...
Complete overhaul of the codec handling code:
*) obsolete flags `asymmetric codecs`, `symmetric codecs`, `reorder
codecs`
*) support proper codec offer/answer
*) split codec manipulation (strip/offer/accept/etc) into separate
functions for clarity and better code maintenance
*) fully update codec handlers in both directions after an answer
*) explicit allocation and handling of codecs and payload types in a
codec_store object
*) improve codec matchup logic during answer
*) more explicit handling of supplemental codecs (CN/DTMF)
*) remove now obsolete hacks for handling certain use cases
Change-Id: I996705ba8fe339524c2f70e6bb0fd854f9a1f4fb
5 years ago
Guillem Jover
07695d2abb
TT#111150 Use modern <stdint.h> uint<bits>_t types
...
The u_int<bits>_t are BSD legacy types, while the new ones are specified
by C99 and SUSv3.
Change-Id: Ia748cabc33a7e5adc2c7a6049ad1e55be0c788a8
5 years ago
Richard Fuchs
5cf4717f89
TT#115400 explicitly disallow ptime in non-RTP SDPs
...
Change-Id: Ib1e324861b6a88e1a2f80e4f37a8afa654923a77
(cherry picked from commit e2bf4abee885ee0d8938b8be02df19ca4b4a28e7)
5 years ago
Richard Fuchs
8029a4d1cd
TT#113750 don't auto switch from an already selected fingerprint
...
If we receive an SDP with a DTLS fingerprint, by default we adopt the
hash function used for that fingerprint in subsequent communication with
that peer. However, if the SDP is an answer, and we previously used a
different hash function in the offer towards that peer, then a later
re-invite offer would be sent with a different fingerprint, causing an
unexpected DTLS restart. Instead, make sure we don't change fingerprints
if one was already sent.
Change-Id: I603bb86ce2d7121556c161749ed08128dd0b63b2
5 years ago
Richard Fuchs
3791b8f595
TT#107565 add `replace-session-name` option
...
Change-Id: I10d89f3bf8e88fb953cc7cc7fffae056bf0092c3
5 years ago
Richard Fuchs
fc83f64575
TT#107565 add `replace-username` option
...
Change-Id: I89dd560789adde4d96fa6a6f314b1c3c81a5a47b
5 years ago
Guillem Jover
68797f4195
TT#111150 Mark bit-fields explicitly with as unsigned
...
Whether a bit-field is signed or unsigned is implementation specific, so
we should be explicit about this.
Change-Id: I744df3d24bc08e95fa816ba4135f19cd3a5dcb17
Warned-by: lgtm
5 years ago
Richard Fuchs
083ae4c37f
TT#14008 convert rtcp-fb handling to list
...
closes #1196
Change-Id: I08ec4bf783d2a6bc0e83498e61cf964718a03de4
5 years ago
Guillem Jover
962479bd63
TT#108003 Stop using random()
...
While these usages are not supposed to be security sensitive, it's still
best to avoid the usage altogether so that we do not need to think about
it. Add a taint macro so that this does not regress in the future.
Change-Id: Ic75861ed1b7ce9dfca4f897de8be2408204ce3cb
Warned-by: coverity
5 years ago
Richard Fuchs
76d5828c82
TT#91151 explicitly keep track of zero endpoint addresses
...
Change-Id: I6044cddc7d997848715df6701fd8a61a1e0bf289
5 years ago
Richard Fuchs
36273e1f5d
TT#107565 add option to track SDP version
...
Change-Id: Ifb3ca589742a4ad0cc83982d6e42bf692a2c98db
5 years ago
Richard Fuchs
01112f27ca
TT#107565 fix support for multi-session SDPs
...
also add better SDP error log output
closes #1182
Change-Id: I20ab77163a502793f63157fbafd0807c629a1ede
5 years ago
Richard Fuchs
df11807324
TT#106101 don't require connection address for ICE fragments
...
Change-Id: I0ee1af3d41ea2f6484daffae0c2c0e1c8a25ef45
5 years ago
Richard Fuchs
604aa5a9a0
TT#92250 add new reorder-codecs flag
...
Change-Id: I93587b6675540438f81193896ae8d8966b3a12a6
5 years ago
Richard Fuchs
54e68942be
TT#104500 better support a=rtcp-fb
...
Link the attribute value to each RTP payload type and only output it if
PT is still present
Also merge PT attribute printing into a single loop
closes #1128
Change-Id: I494498ca806b795045e9e5bbb82174fa4aef8b2b
5 years ago
Richard Fuchs
1d34c40276
TT#101201 support optional ICE-lite mode
...
closes #1106
Change-Id: I4a83ed2630889d8b17a0c40d971ec7946c1ed3a2
5 years ago
Richard Fuchs
8d7badcf02
TT#101201 rename ICE_LITE flag
...
Change-Id: Icc5a74b53572f1eb26689a23b31d37ee2891ecef
5 years ago
Richard Fuchs
cd3652e81a
TT#97302 fix some DTLS negotiation issues
...
add explicit flag for fingerprint length instead of using the hash
function
restart DTLS after a shutdown due to a reset
clear fingerprint buffer when running the hash
suppress stray log message when no fingerprint was seen yet
add option to test script
closes #1095
Change-Id: Ic58ea6c5aa48a215743d6a3c1b371fc4a5ea77ce
5 years ago
Richard Fuchs
65cf46bc0a
TT#94201 convert ICE= options internally to enum
...
Change-Id: I3d7a6049cd7ab8e95da56820ccd3f2981ef03bc5
5 years ago
Richard Fuchs
3893069fae
TT#92250 allocate strings for hash table storage
...
closes #1091
Change-Id: Ia3384fc3eb640bb6c728ebde6e7bde09968eeb9a
5 years ago
Richard Fuchs
dc4775d5ce
TT#97302 respond with the same DTLS hash func as was offered
...
Change-Id: Id72df1083b5d329fa33875853981ec471440a6c1
5 years ago
Richard Fuchs
de37041ad9
honour media-address= also for ICE and RTCP
...
closes #1039
Change-Id: Icb75875757eecfc02100dacb16d70532ed6be7ec
5 years ago
Richard Fuchs
a168a3c024
TT#78307 generate RTCP for media players
...
Change-Id: Ic6dd65211ca253491a7ef3acd35499155b60fe4c
6 years ago
Richard Fuchs
dfc76d23b5
TT#78900 leave m=message connection details untouched
...
closes #959
Change-Id: Iaf01c87697ce46f507563ed1560e664b0ca33544
6 years ago
Richard Fuchs
5fc326c64b
TT#78001 support OSRTP
...
closes #951
Change-Id: I8cd21d60b16e357a57d0d505649b74f38f4ca0b3
6 years ago
Richard Fuchs
e59ccc2973
TT#79900 add SDES=lifetime option
...
closes #966
Change-Id: I462dabffb5c00387ab1b91cabf3fcb2be998f76e
6 years ago
Richard Fuchs
f5eaa657d7
TT#76711 allow alternate format for T.38 SDP options
...
Change-Id: I6e9af10bfe4be697d1d4f2be6cfd41ba76fabd5b
6 years ago
Richard Fuchs
d872802ba2
TT#76711 T.38 <> audio gateway
...
Change-Id: I4552e07eee632fa730745410b08c3bf70ab67ab2
6 years ago
Richard Fuchs
9ab6c27b4f
TT#76711 replace SDP media type as necessary
...
Change-Id: I49ba0eb38fd4774ab9f61f08692ebafe56a05fdc
6 years ago
Richard Fuchs
6792cde8b6
TT#76711 add custom SDP attributes capability
...
Change-Id: Iaf924938af1ef32a5a7eb961951c0debe7351ee5
6 years ago
Richard Fuchs
641fd160ca
TT#77358 create helper function to determine RTP protocols
...
Change-Id: I6ee4a2c48c896fa9f3f00c9f90c0ae65c1ae3bae
6 years ago
Richard Fuchs
a68a59fbf5
TT#76711 keep track of the raw SDP format string
...
Change-Id: I7f20dbff3237e39cea700c984a4f41016a2264fc
6 years ago
Richard Fuchs
8bdeb2d9bf
TT#69701 fix incorrect address used for raddr/rport
...
fixes #850
Change-Id: I36eb8c61e094cda335c14023374dab6d5f1ccfcd
6 years ago
Richard Fuchs
2298de76b1
honour a=rtcp-fb in SDP even if transport is advertised as RTP/(S)AVP
...
closes #467
Change-Id: Ib8ea1d6c7b4c9277279399c4319c5efef6834372
7 years ago
Richard Fuchs
661994e362
as per docs, remove all relay candidates under force-relay
...
fixes #728
Change-Id: I2828d4d9d5832d7248ea78b48bd38dba9592cca1
7 years ago
Richard Fuchs
415af36ae6
don't add rtpmap or mid attributes for deleted/silenced streams
...
fixes #686
Change-Id: Ie9a155072a8b6acb8edcf59a5dd164f78a503616
7 years ago
Richard Fuchs
b593d57e21
TT#37400 do not answer with ICE attributes if no ICE was offered
...
fixes #561
Change-Id: Ia660f19109404f8edc1dd5c143e797a82d25276d
7 years ago
Richard Fuchs
9e4d140e7b
TT#49045 add new flag to leave media direction attrs unchanged
...
Change-Id: I2dcafa3be9f8a0dfd7c1cf3e6046dabe9fa5bbee
7 years ago