Richard Fuchs
e82be64a57
TT#14008 remove logically dead code
...
Change-Id: If8ca08c997c715a98a89376f098393dc04f685a9
Warned-by: Coverity
4 years ago
Richard Fuchs
1c5433a877
TT#14008 fix Coverity MISSING_LOCK warning
...
This isn't really necessary as at this point the janus_session object is
private to the thread, but we add the locking anyway to silence the
warning.
Warned-by: Coverity
Change-Id: I0b192f2f5827ad917cf5110ce486fc6cd49e1a71
4 years ago
Richard Fuchs
40695b2af3
TT#14008 fix possible segfault
...
closes #1342
Change-Id: I469b749cca4e270100572b7eabc9bcd022e83f5d
4 years ago
Richard Fuchs
8a60d17574
TT#131651 support reverse re-invite to new to-tag
...
Change-Id: Iaea12033d3a142b4675cc22ed0e3270af654e7de
(cherry picked from commit d11432ec814fa4e504be02f3bdee2cc6cf9fa704)
4 years ago
Richard Fuchs
e04df3b961
TT#101150 use rtpe_now for uptime
...
Change-Id: Idd7e56058c9f27ca05b242bed52fe1f623bc9cbd
5 years ago
Richard Fuchs
2130e2f62b
TT#89352 support Janus control protocol
...
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181
5 years ago
Richard Fuchs
a52c0fecf4
TT#14008 don't delete calls from foreign DB during restore
...
If a keyspace notification SET is received and the call already exists
as a foreign call, the call is first destroyed before being re-restored.
The call destruction involves a DEL from Redis on the "hosted DB"
number, which points to the foreign DB. This makes it impossible to then
restore the call because it's just been deleted.
closes #1308
closes #1334
Change-Id: Ie895b021441b2d299f8ebb5bde1824b01e12633c
5 years ago
Richard Fuchs
d1f320c80f
TT#14008 lock Redis context during restore GET
...
Change-Id: I487427b4711aa9600db376f3987086fa47472bdb
5 years ago
Richard Fuchs
acefaf1d3c
TT#14008 report Redis errors on restore failures
...
Change-Id: Id1090fe88d02896595ce4a45ac87953714e0d9d1
5 years ago
Richard Fuchs
74d3fa2f28
TT#14008 fix indentation
...
Change-Id: Ib8fea31c49013cbb62056c5980ee5aa3655db6d6
5 years ago
Richard Fuchs
f0b1906809
TT#89352 add option to strip a:extmap
...
closes #1271
Change-Id: I17e177b96983798f693f162c45643b5a82258278
5 years ago
Richard Fuchs
70665e3aef
TT#89352 add shortcut for "accept any"
...
Change-Id: I49cb88c7097cd51ef5641a6f4b3bf622bb4dc276
5 years ago
Richard Fuchs
d90de55e83
TT#14008 rename g_tree_remove_all to avoid namespace conflict
...
closes #1327
Change-Id: I30e745a7d2a2b0fa8cef90ecb76881071c437695
5 years ago
Richard Fuchs
05e9b5f131
TT#91151 avoid possible null pointer
...
Warned-by: coverity
Change-Id: Ic841c9926e6f07817a0ec17528db2faaadc2f0c9
5 years ago
Richard Fuchs
f2f45a0836
TT#89352 return proper ICE candidate parsing result
...
Change-Id: I6bdd5db074eae0dccb86bb50d1370154bb024bf2
5 years ago
Richard Fuchs
d824acf69a
TT#91151 don't send DTLS to trickle ICE addresses
...
Change-Id: Ie2519391e30479547f8d6e4239d6d65c316c34b9
5 years ago
Richard Fuchs
fbcddaca49
TT#91151 negotiate DTLS role and SDES for publish
...
Change-Id: I246415c416a5d4f8126511d6a867109048810bf6
5 years ago
Richard Fuchs
b945104b5e
TT#89352 switch `done` flag to bool type
...
Change-Id: I6206a13779ccd44a575654f6af8627492d4b13ed
5 years ago
Richard Fuchs
c6bb16612d
TT#91151 don't segfault on empty strings to redis
...
Change-Id: I8a68fd61c862ce85f6a8879c7e2f85a05723a2b6
5 years ago
Richard Fuchs
1fd62d6857
TT#91151 populate "created from" for published calls
...
Change-Id: I01eacb87dc645615337b10814666c0d108ba9ac9
5 years ago
Richard Fuchs
5fc71c0357
TT#14008 support %l format even if recording is started mid call
...
Change-Id: I3efe6de99ad78f8167b18de50e5c52760b12fead
5 years ago
Richard Fuchs
b0c97e4ccc
TT#89352 support extended ICE candidate syntax
...
Change-Id: Ib0d116d69297459a0ec8e3c06f5497df4bb7dbfb
5 years ago
Richard Fuchs
f04332915b
TT#91151 add publish/subscribe commands
...
Change-Id: I1842b89efea7fa3af0bd4d045e49da31285cd0e1
5 years ago
Richard Fuchs
413798e43f
TT#132251 implement media silencing
...
Change-Id: I0902bd72e2733b96ff75bcf52856a58c51a750f6
5 years ago
Richard Fuchs
c2b78aa9cd
TT#132251 refactor kernel payload type tracking
...
Change-Id: Ibdf58347a130f1c07cefca55162c841c71092201
5 years ago
Richard Fuchs
99fbff408e
TT#14008 fix call iterator dead lock
...
... almost there ...
Change-Id: I3261ec91ac7481bb275bbb4f9841747938706e61
5 years ago
Richard Fuchs
9952647d19
TT#14008 fix call iterator dead lock
...
... should acually be working one of these days...
Change-Id: I8025aafd0eccb10df5ac2630e0e39b7fe978e25e
5 years ago
Richard Fuchs
0266886487
TT#37394 support SO_INCOMING_CPU
...
Change-Id: I8017929519cc3b721272cc122bee4fdc36c7317a
5 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
5 years ago
Richard Fuchs
cda67ac5ac
TT#14008 fix call iterator race condition
...
The contents of the ->next element cannot be accessed completely lock
free as they're zeroed out during call removal. Instead grab a reference
to the linked next call before releasing the lock, and also lock the
next element before moving on. This requires a more granular locking as
not to interfere with call removal: One lock to protect the contained
call and the ->next, and another to protect the ->prev
Change-Id: I5474ea3f88e3276f93ba62a952b3be13c0c182e9
5 years ago
Richard Fuchs
de85d4b674
TT#128050 parse and document `reuse codecs` flag
...
Change-Id: I335ed8f699722c568566076190d1a255a6e57211
5 years ago
Daniel Hauptmann
4481c773ac
TT#128050 Squashed commit of the following:
...
commit b0c722da69ad088a2eddced12b37c0546a514890
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:35:51 2021 +0200
changed flag bit length
in call_interfaces.h changed bit length of reuse_codec from 0 to 1
commit 0313a747532d5987f25fa9edb202aa460bf98dd1
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:29:20 2021 +0200
inversed reuse_codec logic
in test-transcode.c and call.c, reuse_codec = 0 (default) will now result in using codec_store_populate instead of codec_store_populate_reuse
commit b876bd686bd30df21a5962aca16fc1c85574f554
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 15:18:19 2021 +0200
adding option to minimalize changes in the codec_store_population
added function codec_store_populate_reuse in codec.c which replaces codec_store_populate but makes fewer changes to the GLists with the old and new codecs
added flag to enable this feature (disabled by default)
commit 6fd0b701c9589b2fae00300801e02a9b5cc397ab
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Mon Jul 26 14:44:42 2021 +0200
Added Option to minimize change in the codecs
In codec.c added function to populate codec store with the fewest changes between the old and new GList which contains the codecs.
Added new testroutine in test-transcode.c line 1500
Added flag to call_interfaces.h to optionally enable this feature
Change-Id: If58d9a07d114b05dfb75553a87eb4372ae949fbb
commit 3bf554a8fbae7e948343699f40d935693618b764
Author: Daniel Hauptmann <dhauptmann@sipwise.com>
Date: Fri Jul 23 13:58:02 2021 +0200
changing codec-exchange behaviour
in codec.c line 3288 function codec_store_populate now doesnt empty dst and copy new codec from src to it, instead codecs from src will be appended to dst and codec from dst, which are not
being contained by src are being removed
Change-Id: Id6b7ee65595f9cc5c71ef557c7bac5ee38f97cbe
5 years ago
Richard Fuchs
08fee992d1
TT#89352 add support for trickle ICE offer
...
Change-Id: I772e2ee44e5c206cccdd133d426545822e22850d
5 years ago
Richard Fuchs
456d7ce243
TT#14008 allow some upper/lower case alternatives for consistency
...
Change-Id: I37afcdd4552d86e8d7eed3e949b4e9b97f56f292
5 years ago
Richard Fuchs
ca1d2af47e
TT#89352 increase LWS max write logging size
...
Change-Id: I7572b2dc5a82d6ed9a73652c108cc400c445d0a6
5 years ago
Richard Fuchs
24665ebc90
TT#89352 report SDP errors
...
Change-Id: Idf6522f63691f066cfae2f2337c4d605f5d5feb5
5 years ago
Richard Fuchs
3f8892082d
TT#121752 fix compiler warning
...
Change-Id: Icf076b6715c243fd73fdb753a280b19e54fcf9d8
5 years ago
Richard Fuchs
c06c51ded4
TT#121752 restore SSRC output per call in NG stats output
...
This restores backwards compatibility with existing code parsing the
output, e.g. Kamailio to report MOS stats.
Change-Id: Ibafb2a7a3cf118166ffe1cca9a62a06b63252944
5 years ago
Richard Fuchs
875fc342b0
TT#14008 fix redis error messages
...
Change-Id: I7a57924eef1d584d65970f458415a3a76730ffd3
5 years ago
Richard Fuchs
58829a4ecf
TT#89352 explicitly disable lws IPv6 for IPv4 binds
...
Change-Id: Ibb0defaaf05e5be2937e24e5d04de0647a652349
5 years ago
Richard Fuchs
5c519ec2db
TT#89352 allow create-only mode for call_get_*
...
Change-Id: I4dd760b14ef1c91d463a2390ff3c52d71acedf4a
5 years ago
Richard Fuchs
765b1e3bca
TT#89352 use bool type for foreign call functions
...
Change-Id: If8d5e28db534e6aeaaffb885e732e2bdd7338831
5 years ago
Richard Fuchs
ba7a75371c
TT#91151 rapid push to kernel even when sink is unconfirmed
...
Change-Id: I2dc8638a05ba94f33f980db82ae8c4f8c63301f9
5 years ago
Richard Fuchs
34e61f9adf
TT#119504 introduce auto-unlock type
...
Change-Id: Iea78b823a7729d8bac079a2e2bc2c71ab9f90780
5 years ago
Richard Fuchs
45bd10d323
TT#14008 delay learning of endpoint address after re-invite
...
This fixes a race condition: Peer sends updated SDP with new address,
but an older RTP packet from the old address is received afterwards.
Thsi triggers learning of this old address is the "correct" endpoint.
Afterwards the peer stops sending RTP until a packet to the new endpoint
is received there, which never happens because the new endpoint has been
discarded in favour of the "learned" old one.
closes #817
Change-Id: I508f465a669f03e35ddcc6e770d5e7859e57569f
5 years ago
Richard Fuchs
8d06707a9f
TT#91151 fix redis-restore media link
...
Change-Id: I5713b63b586979ebf07481c9b707b65e546e2d16
5 years ago
Richard Fuchs
ab4498e9e6
TT#91151 check all sink codec handlers for kernel option
...
Change-Id: I02e5ebd2b1c5c3e5fc75d2d3fe62239c029b211d
5 years ago
Richard Fuchs
9ad5378b5f
TT#111150 fix coverity warnings
...
don't use strncpy
check for null pointer
Change-Id: Ie557d395152c20f1c96bb3abf15935700a84d917
5 years ago
Richard Fuchs
432cf82f71
TT#91151 use auto cleanup for call unlock/unref
...
Change-Id: Ife9bac7b077fe5036147873992a044d663a83300
5 years ago
Richard Fuchs
18601d708f
TT#91151 pass opmode to media_block_match()
...
Change-Id: I8e61de3f28faa1eaa5e6cabe29b5fd6195204ce6
5 years ago
Richard Fuchs
66eff2dbc3
TT#91151 add local codec-accept function
...
Change-Id: Id718a0c90af9cb952a03c6a961c4904933c02cad
5 years ago
Richard Fuchs
7b59f55457
TT#14008 fix handling of possible NULL rtcp_sibling
...
closes #1302
Change-Id: I000337734400cf3a5b63fc5d51e9fd220be06c68
5 years ago
Damir Nedžibović
cc09099660
Squashed commit of the following:
...
commit d15fd4a547
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Jul 6 14:07:42 2021 +0200
Also free the character data.
commit 8869187215
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Jul 5 16:11:32 2021 +0200
Make documentation and parameters consistant.
commit 4b15aea2ee
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jun 10 15:34:00 2021 +0200
Update documentation.
commit 6ec1b3035d
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jun 10 15:33:12 2021 +0200
Do not use metadata for setting the recording file; use output_destination instead.
commit f65a76e8a3
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Wed Jun 9 15:56:02 2021 +0200
Only append file extension if skip_filename_extension is not set.
commit 92e9d7c679
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Wed Jun 9 14:12:48 2021 +0200
Rename the option to better match its usage.
commit 11128bff49
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Wed Jun 9 13:19:10 2021 +0200
Implement support for seting an output file and folder per recording.
Change-Id: I1579d62467eaf06a7aa1ac11e59dbb374f150deb
5 years ago
Richard Fuchs
94a5feea7d
TT#111150 fix coverity warnings
...
Change-Id: I330d5137d38017641bdda71e8bd014c358c432fb
5 years ago
Richard Fuchs
1085d80c98
TT#121752 move RTCP processing into egress loop
...
Move RTCP processing down into the egress section and run the processing
function once for each output, because the output media must be known
when processing RTCP RRs during transcoding.
closes #1298
Change-Id: I1797bef336e27a7064b9f42ab8c25f0aade02e47
5 years ago
Richard Fuchs
93377588ad
TT#121752 fix RTCP RR SSRC substitution when transcoding
...
Perform reverse SSRC mapping even if output media is not known, and use
the appropriate media side when looking up SSRCs for received RTCP
timestamps.
closes #1298
Change-Id: Ifa5a982163bf7b0510ffc2a92ae25995d1adb888
5 years ago
Richard Fuchs
0c731ae302
TT#14008 fix stream stats not being updated from kernel
...
Change-Id: I6bc643b194b78a052ca1fc993055053aefd96941
5 years ago
Richard Fuchs
4f49eee43f
TT#91151 fix missing "IN" in generated SDP
...
Change-Id: Ie67e0f6d67010f5d2a3e0c3d0f89c1f610b5f390
5 years ago
Richard Fuchs
eb7244e83c
TT#14008 fix minimum XR packet size check
...
closes #1296
Change-Id: I03340107d8e2f331842e873a81867989232f8ede
5 years ago
Stefan Mititelu
96c05d3fcf
Fix segfault when ps not found
5 years ago
Richard Fuchs
77b5e0b6bd
TT#91151 fix erroneous variable re-use
...
Change-Id: I381f7ba1db7b108f03343454e1e7cc8f0abee08f
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
fc0bbf1079
TT#91151 switch str_init_dup to g_malloc
...
This makes it possible to use buffers returned by GString
interchangably.
Change-Id: If15a5c0be2743dde7230b2f3d3ca6780d633622b
5 years ago
Richard Fuchs
72bb874cc5
TT#91151 switch SDP parsed vars to auto cleanup
...
Change-Id: Iee3a76c6224c4524fce7da15be8ad65d6f020aa7
5 years ago
Richard Fuchs
92fb330a46
TT#91151 implement one-to-many forwarding
...
Change-Id: I80fd35da680d4ad1f4d3d21f14f11363106b9917
5 years ago
Richard Fuchs
1e0765bf6e
TT#91151 tie codec handlers to output media/sink
...
Change-Id: Id577f9afabbe5645a6e220b6450c39a35ff839a9
5 years ago
Richard Fuchs
01a10c0379
TT#91151 split input from output legs in kernel module
...
Change-Id: Ic8269f5a506c560d4460f562fb545efe0ea6a809
5 years ago
Richard Fuchs
ecb0da8e4a
TT#91151 move `sdp` parsing to generic flags parser
...
Change-Id: I7441b97e9fc87e250880b2851868efa531c149c1
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
Richard Fuchs
9b6c69e524
TT#14008 fix possible null pointer reference
...
closes #1293
Change-Id: I3c503d654cdbd90a1b5fb80bf3bc518b810b4ad5
5 years ago
Richard Fuchs
e9f7de8cbf
TT#14008 update for older libwebsockets
...
Change-Id: I447c5b0804fe199e39fc22a67195a1ca9dc5242c
5 years ago
Richard Fuchs
99985d234d
TT#14008 fix handling of large WS payloads
...
closes #1294
Change-Id: Icd901009721955be8b56042b2308c6638b89e064
5 years ago
Richard Fuchs
be11890cb4
TT#14008 don't pass potential null pointer to media_update_stats
...
Change-Id: Ia687dd1f359e5680c1d8aa6efaac3c2e9c36d4e5
5 years ago
Richard Fuchs
a057fffe50
TT#14008 flag Coverity lock-order false positive
...
The order is indeed reversed, which is why "trylock" is used so the
process doesn't deadlock.
Change-Id: I9142ad3851d1b3917820c88fe2ea316be63745ad
5 years ago
Richard Fuchs
ab836ae042
TT#14008 fix --mos= case comparison
...
Change-Id: Iab858cd6df96b26c143292019a78ef07defbb868
5 years ago
Richard Fuchs
256b9917ec
TT#121752 associate SSRC hash to monologue instead of entire call
...
This solves problems when the same SSRC is looped through the same call
multiple times in different mono/dialogues, with different parameters.
Change-Id: I1d033cb1f012574d82b5bcbfffe11eb5f983cfd8
5 years ago
Richard Fuchs
f2d7372f5a
TT#14008 fix transcoding logic
...
Transcoding should not be decided based on the name of the codec alone,
but primarily on the payload type. First the PT needs to be compared,
then the codec type must be confirmed.
closes #1289
Change-Id: I1a8bffc6d521443aba14d9b4cf1ad4d1e21f1226
5 years ago
Richard Fuchs
aeb0b7bcee
TT#14008 fix MQTT global stats
...
The JSON context is already in an object, therefore skip the surrounding
{} enclosure.
Also don't run the global MQTT timer when MQTT is disabled.
closes #1290
Change-Id: I63c622bd339545e625ee18def33f21de2533f949
5 years ago
Richard Fuchs
dd58a1a42d
TT#14008 reset SRTP index on endpoint change
...
closes #1277
Change-Id: If951bc8abdfb1cec88abf5fc6e36d48aff575e98
5 years ago
Richard Fuchs
3eae4b3af3
TT#14008 add MOS-LQ option
...
Change-Id: I2cacceda1f910fb2ed74ccd9f17cde1bf50031b0
5 years ago
Richard Fuchs
891f45b4df
TT#14008 run jitter calculation for passthrough and egress
...
Change-Id: I004e8747d3f3dd83d43251ce93e4d98c3a739ecf
5 years ago
Richard Fuchs
a28df1f871
TT#14008 fix incorrect ingress octet count
...
Change-Id: I45b66c4fe29942855494a4e4aee080fca463c351
5 years ago
Richard Fuchs
369e64f9a7
TT#14008 add mqtt support
...
Change-Id: Ica4a3e4ef58eadf3feca44ea63f2308103b3146f
5 years ago
Richard Fuchs
e32d128bd8
TT#14008 add cumulative global stats counters
...
Change-Id: I884a47c6d3e52fcb5572187fbd71fd11ec08cb8e
5 years ago
Richard Fuchs
95a30674ac
TT#14008 implement lock-light global call iterators
...
Change-Id: Ie01eb06262267a1aa0b69f632a515d5271bafb52
5 years ago
Richard Fuchs
5c50ec2bbe
TT#14008 convert RTCP timer and DTX to regular timer
...
Change-Id: I7f9e1e586e237d6b40ee250ed149cb21eae87f95
5 years ago
Richard Fuchs
6f3bf25789
TT#14008 improve timerthread performance
...
The only reason the wait time in timer threads is capped at 100 ms is to
catch the daemon's shutdown. Since these threads already use a
condition variable to be woken up, we can use the same condition to wake
up the threads during a shutdown, allowing for a much longer (possibly
unlimited) sleep time in timer threads.
Change-Id: I3b5f280a4d502176a731e8b52b1b731022c8db4f
5 years ago
Richard Fuchs
232f3470b3
TT#14008 wake up only one timer thread
...
When a new timer object is scheduled to run in the future, we only need
to wake up one thread to notify about the new object as only one thread
is needed to handle it. The other threads can remain in the previous
sleep state.
Change-Id: I92ccec61a6c5a4a3cea5c5428c85f83707cf4d64
5 years ago
Richard Fuchs
017dbbd330
TT#14800 update last_packet during signalling events
...
closes #1283
Change-Id: I640ff269643eb6ecf9d6fd2a21601aeb39acac58
5 years ago
Richard Fuchs
25cb6ff857
TT#14008 handle deprecated g_memdup
...
GLib 2.68 deprecates g_memdup() in favour of g_memdup2() as the former
was using a guint second argument which could lead to integer overflows
(gsize should be used instead).
Change-Id: Iaa3e3b1ecaab00d1ac887c915397b15b7204dd11
5 years ago
Richard Fuchs
1b49b43135
TT#14008 release all references held by timerthread on shutdown
...
This makes sure all objects are cleaned up during shutdown even if the
respective timer hasn't run yet.
Change-Id: I197b930f1b6e407819cc5a8c4ebd92fcef21b2cd
5 years ago
Richard Fuchs
58b566cda6
TT#14008 call the free func only if set
...
This avoids possible segfault by calling 0x0
Change-Id: Ib45c19d8cf785887cc20f8a07cf30bea270c85e1
5 years ago
Richard Fuchs
50834df3ca
TT#14008 call statistics_free after codecs_cleanup
...
Some codec handlers hold references to objects held within the
statistics hash table, therefore we must free the statistics after all
codec handlers have been released.
Change-Id: I3832dbeeaaf21d4a82be2dc2c842718415fd46f7
5 years ago
Richard Fuchs
b110072ae4
TT#14008 deprecate av_init_packet
...
Recent ffmpeg versions have removed AVPacket from the public ABI,
therefore deprecating av_init_packet on statically allocated objects.
The replacement is av_packet_alloc()/av_packet_free().
Change-Id: I5f93fbd19e43413c3328e143cc9147fbdf12d910
5 years ago
Richard Fuchs
b734fc080e
TT#14008 fix integer handling (overflow/sign) issues
...
Warned-by: coverity
Change-Id: Ia473075046253b2ffcf65344f65469772e6df993
5 years ago
Richard Fuchs
3a6a95f833
TT#14008 fix CN passthrough
...
Change-Id: I39c75c6089ca3e4c90ebfd7298a81493066a7784
5 years ago
Richard Fuchs
9b296db449
TT#122401 fix timing issues with fluctuating ptime
...
Change-Id: I77877afcafaf81e357b86eefa62eb3e2279ca75e
5 years ago
Richard Fuchs
d4fbec39d1
TT#122401 return ptime from decoded packets for DTX
...
Change-Id: I382b842406fbee73ec752f6f4f0832736222ef52
5 years ago
Richard Fuchs
4f6af3746b
TT#122401 add early DTX logging context
...
Change-Id: I8ab96e3c0295cce793706226bcb7350816b7109e
5 years ago
Richard Fuchs
64670ffb61
TT#122401 add option to bypass AMR SID
...
Change-Id: I0504d452737573f388941dcca507e3adfd5744c6
5 years ago
Richard Fuchs
ec68dfeb31
TT#122401 add configurable CN method
...
Change-Id: I2aa9901b2a9dcf64563a84d77fa40d23b6c25525
5 years ago
Richard Fuchs
dc38a0e88e
TT#122401 support multiple DTX method per codec
...
Change-Id: I775d56e675255b3dca4227779d1146d8c8806f06
5 years ago
Richard Fuchs
da06ed217b
TT#122401 add ptime to DTX trigger
...
Change-Id: I96aabff398cbe296243d8bdf7499468c6da96352
5 years ago
Richard Fuchs
7c3982ea11
TT#122401 rename "lost packet" functions to DTX
...
Change-Id: Ie39ff68eb0be8bf77f1b6c213df837c08fc869b7
5 years ago
Richard Fuchs
b1409e58e1
TT#122401 correct ptime handling for negative values
...
Change-Id: I3ca96971ec20aa02deb80d2d9613bbaa33c3ae05
5 years ago
Richard Fuchs
0e2bddb6c8
TT#14008 add `pierce-NAT` flag
...
Change-Id: I1ec9b0ba152939cb6dc079e0047040da862945dc
5 years ago
Richard Fuchs
a009f76456
TT#14008 support media echo and blackhole
...
Change-Id: I9df4680188709867db2b61d97cc5f1e30c59e0d7
5 years ago
Richard Fuchs
cc9fb063eb
TT#14008 fix possible segfault
...
closes #1265
Change-Id: I7f02a9c2d7f7fbdf830018200fab99d9cf4f425c
5 years ago
Stefan Mititelu
156271ef9f
Avoid deadlock of notification thread
...
Fixes issue #1258 .
5 years ago
Richard Fuchs
1ec517c2f4
TT#14008 restore foreign calls from the appropriate DB
...
closes #1257
Change-Id: I299475a01470cc9d4910d9d304bdda9bbbee6e83
5 years ago
Richard Fuchs
30621846ab
TT#14008 keep track of selected Redis DB
...
This avoids unnecessary SELECT calls.
Change-Id: I916889cbd4490045fdbacd85138d631ed6f7bd88
5 years ago
Richard Fuchs
4c9b5434bf
TT#122401 actually shut down DTX when out of time
...
Change-Id: Idfb934e439fd4b3f2cbc37a93b3e45a1f5391917
5 years ago
Richard Fuchs
faee34f1a0
TT#14008 fix rand_hex_string usage
...
rand_hex_string() writes a terminated null byte, therefore the buffer
must be larger by one byte.
Change-Id: Ieca67754d67fd7e5f1c94b07ffc8d0de428f552a
5 years ago
Richard Fuchs
be30d2cc33
TT#111150 free cn_payload string if present
...
Change-Id: Ibff3f9484c988f194436479a137baeb583522931
5 years ago
Richard Fuchs
1205f22f48
TT#111150 reformat struct initialiser
...
Expanding the initialiser of the contained array eliminates a stray
warning from gcc (-Wmissing-field-initializers).
Change-Id: Icef260477d0ff7acc050375ce48cc6604ee325ff
5 years ago
Tinotenda Chingosho
575435db73
Squashed commit of the following:
...
commit fd25c8e281
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Tue May 11 12:03:55 2021 +0100
Address review comments
- update typo
- document new parameter
commit e4e106f423
Author: Tinotenda Chingosho <tinochingosho@googlemail.com>
Date: Mon May 10 16:18:57 2021 +0100
Support Configurable MTU
- default to 1200
- minmimum value 576
Change-Id: I6cbc03eb7f8198a211d70844c115d162d954dea8
5 years ago
Guillem Jover
d3390bae32
TT#111150 Enable -Wextra minus some of its warnings producing much noise
...
We should eventually try to reduce the amount of -Wno-* options, but for
now this is a net improvement.
Change-Id: I3bd03679acbc157c0d1b3c257a542e2eec0e5ee9
5 years ago
Guillem Jover
6fc793845b
TT#111150 Use {} instead of ; to mark an empty body
...
Change-Id: Ib87db24dbb0d89cb03052e7b8a2e8d8802246c33
Warned-by: gcc -Wempty-body
5 years ago
Guillem Jover
adbd071c14
TT#111150 Do not use old-style declarations
...
Change-Id: I08a702ebfbcc5d3ac1dca284abdaa3f6567b9272
Warned-by: gcc -Wold-style-declaration
5 years ago
Richard Fuchs
951f4d62fb
TT#111150 remove dead code
...
The internal-iovec bencode semantics are not used any more. Remove the
relevant code.
Change-Id: I22555bf74d935f48a793df441205a7f34b1b2d7f
5 years ago
Richard Fuchs
2dee5807e8
TT#111150 remove useless comparisons
...
Don't check variables that cannot be negative whether they're negative.
Change-Id: Ib2e0f9832e5f91541edbcad5b70af4e7c21921e0
5 years ago
Richard Fuchs
b285665a20
TT#111150 use ssize_t for signed return type
...
These functions can return negative values to signal errors, therefore
use ssize_t as appropriate type.
Change-Id: I810b2d40e9d6df47269af54c59940d114bb5a672
5 years ago
Richard Fuchs
2057d0a367
TT#14008 rate limit log line about missing output context
...
closes #1259
Change-Id: I0777647a8f6974fca845b4c35591bc7539f4891b
5 years ago
Clarence
320459873f
Fix redis connect failed when there are "@" in redis password.
5 years ago
Guillem Jover
27b2c2cd7c
TT#111150 Fix unaligned access for AES GCM IV initialization
...
Use a packed union to access the IV parts, which otherwise force unaligned
accesses.
Warned-by: gcc ASAN
Change-Id: I25661f1b1a00e9cd7d1e24bbcc10ed103ccef323
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
6527fb513c
TT#111150 fix an SSRC reference leak
...
get_ssrc_ctx() returns a new reference to the SSRC object, therefore we
must release the referece when we're done with it.
Change-Id: I0db07e4cca49a37af68d072ac6d0630c025b8809
5 years ago
Richard Fuchs
292ba2e72b
TT#111150 convert refcounting functions to macros
...
Convert ssrc_ctx_put() and ssrc_ctx_hold() to macros to aide in
debugging reference leaks. Having them as inline functions hides the
actual location of the refcount changes.
Obsolete ssrc_ctx_get() as returning values from macros is awkward and
it was only used in two locations.
Also fix a function invocation mishap: obj_get_o() should be used
instead of __obj_get() as the latter is an internal macro.
Change-Id: Icc0d63f04b3816632fd120c1c749cafabbbfa331
5 years ago
Richard Fuchs
e70d203802
TT#108551 fix AEAD kernel encryption of small packets
...
closes #1230
Change-Id: I26cae7b53eed1ff8155d2fa1e1aa5283a9c37d36
5 years ago
Richard Fuchs
d5d0a3a994
TT#111150 convert str.len to size_t
...
This makes the type in line with string(3) functions and eliminates some
compiler warnings.
Also update the related bencode data type.
Change-Id: I7ef4024f4b5a0f737b3dbe03bcd078032395bce6
5 years ago
Richard Fuchs
dbf79cb762
TT#14008 allow re-invites for calls when load limit is hit
...
closes #1241
Change-Id: I698f57d1bc9fe77d8c95530beefbdb112165adfc
5 years ago
Richard Fuchs
87e5efc7d4
TT#111150 fix mem leaks in test-transcode
...
Change-Id: I3a796184e64b1fc1f760b53fe7d1855997ab8b72
5 years ago
Richard Fuchs
80099bd57c
TT#111150 fix mem leak in codec tracker
...
Change-Id: Ie1a617c7ab82147dfce7973d927843f55906a1a5
5 years ago
Richard Fuchs
aca786b3bf
TT#99621 fix RTCP generation after it has been stopped once
...
Change-Id: I1b4c890cfb3530360da3fa2205356aab95b973fc
5 years ago
Richard Fuchs
a2af257216
TT#98901 fix DTX TS reset detection
...
Change-Id: Ide2d7b2f9fccdd6475969ef5588acbc312ab588a
5 years ago
Richard Fuchs
a8d5076065
TT#119502 correctly restore calls from both Redis instances
...
Change-Id: I713d7e8ba0a7d14f5ef9016d33619df91ce6ec32
5 years ago
Richard Fuchs
ec42f83353
TT#14008 allow usage with just HTTP/WS
...
closes #1246
Change-Id: I5fc5ebd462589f0f585b8afce4908a6ac4a94bbb
5 years ago
Richard Fuchs
a2e05bdc5c
TT#120402 always update output SSRC mapping
...
The SSRC mapping strategy can change if a re-invite disengages
transcoding, therefore we always need to update the output SSRC mapping
even if the SSRC entry has already existed, to avoid stray SSRC changes.
Change-Id: Ib6f14ede1a4e615ff5eb8372cc68bf1acdd4b6c8
(cherry picked from commit dd7acd2644 )
5 years ago
Richard Fuchs
6cc1e99ee8
TT#14008 fix possible segfault when out of ports
...
closes #1243
Change-Id: Ib04c289ad78624139c0375423a7bc1ad402874e7
5 years ago
Richard Fuchs
05ef61c0d7
TT#108003 fix errors reported by coverity
...
Change-Id: I6641da426f1e05f0d0e3924887baf7fb948fb0c9
5 years ago
Richard Fuchs
aabcfaff17
TT#119502 quiet logging for foreign calls
...
Change-Id: I5ae02e47b839f23ccc3d2a7ca48d43ada6ae3d41
5 years ago
Richard Fuchs
89666c8021
TT#14008 fix ICE if ICE completes before SDP comes in
...
Change-Id: I3085e67a81fb8adeeb4334db2e0e894716107937
5 years ago
Richard Fuchs
a86d98f8d1
TT#118902 add support for per-call debugging
...
Change-Id: I9b0eab21ff4e5c241ff045049ccd37f6044d5707
5 years ago
Richard Fuchs
44809a30c8
TT#111150 refactor xmlrpc_helper to avoid GStringChunk
...
Change-Id: If3cb8b5c1fcaed0cb9b1b22d752ec5e9099d2d39
5 years ago
Richard Fuchs
2f84553913
TT#111150 refactor cookie cache to avoid GStringChunk
...
Change-Id: I0f53ec6bcb2ecd79cfbd857acf2617c1348205f6
5 years ago
Richard Fuchs
ade8100d3b
TT#111150 fix unaligned memory access
...
Make sure the pointers we return from our continuous memory buffer is
always 64-bit aligned as it's used not only for strings, but also for
structs/objects, and such unaligned memory access is undefined on some
archs and flagged as such by ASAN.
Change-Id: I84cf74e4e9d203fe02507aa1190ccc6554fb36e2
5 years ago
Richard Fuchs
d44abe24f6
TT#111150 fix possible unaligned memory access
...
Avoid accessing memory via pointers that may not be aligned, which is
undefined behaviour on some archs. Use memcpy for this purpose instead.
Change-Id: Iec6c8d15fdd7ef00896e494b69412847b637b01b
5 years ago
Richard Fuchs
ef5a954e4c
TT#111150 fix possible unaligned memory access
...
Check if the uint64_t pointer is aligned before using it. If unaligned,
go byte by byte. Unaligned pointer access is undefined on some archs and
flagged as such by ASAN.
Change-Id: I3afc80a2ddbc874a62d6930971493f8d461aa452
5 years ago
Richard Fuchs
49bfad1f5f
TT#111150 fix possible null pointer dereference
...
Change-Id: I52d8df03fda2e39d353a9c05e264a1ecd13df2ca
5 years ago
Richard Fuchs
5802ff2379
TT#54762 add option to enable automatic active/active switchover
...
Change-Id: Icddeb28cab72974d9dad0a241775a0763a56b027
5 years ago
Richard Fuchs
3ada2ec0c1
TT#98901 handle DTX restarts and TS resets
...
Change-Id: I6eaa14fdaf52e9011125bf8021db8a1816a148c0
5 years ago
Richard Fuchs
bfcd2b248d
TT#14008 remove obsolete option from pod file
...
Change-Id: I01678d23e985d5a3041dbf290646075ab07c2e35
5 years ago
Richard Fuchs
e67e395a69
TT#14008 fix typo in pod file
...
Change-Id: I3040a9631c1bfd2f0c30dffca4c1a7820afd9816
5 years ago
Richard Fuchs
ac71e81e54
TT#118350 add SDES=static option
...
Change-Id: Id34d4fe31e58acfae31d8e5d30abec1837c4f808
5 years ago
Richard Fuchs
bf40d2a841
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I9e45a35e98ff55a0bd6c7d8a438f3e87d08b9773
5 years ago
Richard Fuchs
7dc55e6378
TT#98901 convert from static DTX delay to dynamic buffer queue
...
Change-Id: Ib6bfdfb9d1967263dc8acb48a812d7e75f9c239b
5 years ago
Richard Fuchs
42dd21d1ec
TT#14008 compensate for negative clock drifts
...
Change-Id: I9c55646565f4b72ddc87cb7ef2b00204590cb15e
5 years ago
Richard Fuchs
a6c7e9403a
TT#14008 fix output of negative fractional numbers
...
Change-Id: I70e6589ac5a61103165127fd3fd5d768641ccfab
5 years ago
Richard Fuchs
f547549f98
Merge branch 'rtt_rtcp_xr' of https://github.com/jchavanton/rtpengine
...
Change-Id: Ibac95448fc9a2091cb97db1cdf039836133117e7
5 years ago
Julien Chavanton
0483df374f
fix rtt from rtcp_rx
5 years ago
Julien Chavanton
49786d049f
adding cumulative number of packets lost
5 years ago
Stefan Mititelu
482e2d0d2b
Add stats for ipv4/ipv6/mixed media calls
...
Also Send stats for ipv4/ipv6/mixed media calls to graphite
5 years ago
Julien Chavanton
3d5e586c69
mos average fix when missing RTT
5 years ago
Julien Chavanton
4d56c6675a
mos calculation adjustment for
...
negative r-factor
5 years ago
Richard Fuchs
2dfe0b348f
Merge branch 'invalid_max_mos' of https://github.com/jchavanton/rtpengine
...
Change-Id: Id92bd31a35bf0972f9dd4d94f12a35ad424887a8
5 years ago
Julien Chavanton
bcf70cf6d5
max-mos: is often invalid when RTCP was not
...
received on both legs since we are using RTT mos-cq (conversational
quality), we should not compute it when we have only the RTT from one
leg.
5 years ago
Dup4
0e2a0b9861
fix: mos calc
5 years ago
Richard Fuchs
64de499865
TT#14008 shut down codec handler when resetting
...
closes #1203
Change-Id: I6d4239e9ef5158a53e5e92a139d26a5b622f8aca
5 years ago
Dennis Yurasov
bfe6d59693
SSRC change fix in kernelized stream
5 years ago
Guillem Jover
8508177777
TT#111150 Split CFLAGS between required and optional
...
Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
5 years ago
Huseyin Dikme
1d1558bcc1
added rtpengine-ctl set and list options for the delete-delay config parameter
5 years ago
Richard Fuchs
8bea6eb64d
TT#14008 fix possible segfault
...
Change-Id: I90cfb2549f4c7d630897aefc1c34aac6bac1e636
5 years ago
Richard Fuchs
6893a7c96d
TT#14008 skip object precreation on second pass
...
Change-Id: I61a4c1b95b575489d6257c6bb5e3e1833ae6c65b
5 years ago
Richard Fuchs
52d9768418
TT#14008 move build tests to a wrapper script
...
Since dh_auto_test doesn't execute the test suites through make
directly, but instead runs `make -s -n` and then executes the output,
the integrated build tests fail since the sub-make doesn't return an
error as it should when attempting to build with the wrong .h
alternative, resulting in always the first .h alternative being used.
Fix this by using a wrapper script instead.
Also adjust some other related minor build details.
closes #1202
Change-Id: I4b6436295c6b39117bd06df53aa5afc7118ad6a1
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
1393dbfc9a
TT#14008 shut down DTX buffer when resetting codec handler
...
closes #1203
Change-Id: Ibc8cc89c8fe152a9dc3172d24d3c27b75463d9bd
5 years ago
Richard Fuchs
ff034ff307
TT#14008 use encoder's codec_def instead of parent handler's
...
closes #1203
Change-Id: I6e39d44aec1ae84595a6da30ab7ab365de4db9ad
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
Damir Nedžibović
f650f95111
TT#14008 Squashed commit of the following:
...
commit b3d2d70d4cfb449fb80af188eee89b6dc343830d
Merge: 1e62cbbb eacd2634
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Mar 4 11:36:26 2021 -0500
Merge branch 'fix_packet_order' of https://github.com/enreached/rtpengine into enreached-fix_packet_order
Change-Id: I30690cf4955c04238c359e4aca2d0fea36ebfd36
commit eacd2634e8
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:56:07 2021 +0100
Update docs with --poller-per-thread option.
commit 7d02539673
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 16:47:55 2021 +0100
Prevent mem leak.
commit 3510a5d021
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 13:25:39 2021 +0100
Make poller per thread functionality configurable.
commit a2142b2a5e
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:57:18 2021 +0100
Use pthread_self() instead of syscall(SYS_gettid).
commit 2e471cae40
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:46:44 2021 +0100
Refactor the code a bit.
commit 91f72455c9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:21:42 2021 +0100
Use usleep() instead.
commit 08d3bdb4ed
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Mar 4 11:03:39 2021 +0100
Use ssl_random() instead.
commit 2d9995a864
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:50:13 2021 +0100
Sleep for 20ms instead.
commit eded168a38
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Mar 2 15:11:43 2021 +0100
Implement poller per thread in order to fix packet order.
Change-Id: If652c906be8b16115eb84e749f89a2729ba75120
5 years ago
Guillem Jover
1e62cbbb9a
TT#111150 Inline int_diff_print_sz() to avoid pointer handling
...
We simplify the function so that we do not need to meddle with pointers
and data sizes.
Change-Id: I3e653b44b28347053cc7a1053de8220c80250816
Warned-by: lgtm
5 years ago
Guillem Jover
eb84cb0148
TT#111150 Use localtime_r() instead of thread-unsafe localtime()
...
While the code is not threaded, better be future-proof and use safer
APIs, which in addition has less side-effects as it does not set the
global TZ related variables.
Also check for failures.
Change-Id: I083d2b5ad6901ac1a91d42d1ab7fe3e0989b02a0
Warned-by: lgtm
5 years ago
Guillem Jover
3a6950087e
TT#111150 Remove tautological check in stun()
...
The ntohs() function returns uint16_t, which will always fit within an
int (including in excess for the signed bit) on the platform we support.
Thus the check for negative values is never going to hit.
Change-Id: Ie9d5bcfe5709c50260098f91ff111755ded72921
Warned-by: lgtm
5 years ago
Richard Fuchs
def813cfde
TT#101201 fix ICE-lite mode switch
...
Change-Id: I10689bc07b86984880bfd420d6be4fbb057c41d1
5 years ago
Guillem Jover
a8a0adb759
TT#111150 Remove tautological test in dtmf_inject()
...
The tracker.most array is of unsigned char, so pt which gets
unconditionally assigned will always be >= 0.
Change-Id: I8adc06fc6c65aa0e33ef6614eb77c67b0dc07517
Warned-by: lgtm
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
af6ef843da
TT#100200 suppress audio packets during a DTMF event
...
Change-Id: I9612d692c3c6945c93b3194760383e67e5bca0e0
5 years ago
Richard Fuchs
7414da5bff
TT#100200 fix timing issue with sending DTMF
...
Change-Id: Iad9cffaf7316420fde85e0eeaffda7409bf49625
5 years ago
Richard Fuchs
c1c80da0c7
TT#14008 better logging for send_timer
...
Change-Id: Id3b7463c0e8cfc4e8b32adfebbbfc37e4bca52d7
5 years ago
Richard Fuchs
083ae4c37f
TT#14008 convert rtcp-fb handling to list
...
closes #1196
Change-Id: I08ec4bf783d2a6bc0e83498e61cf964718a03de4
5 years ago
Richard Fuchs
eb1157d386
TT#112250 don't change ports when endpoint is talking ICE
...
Change-Id: I0e60534d6d3cb62d25b8d865da02c3472cf0994e
5 years ago
Richard Fuchs
01ce0fe833
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I6532b2d88589ca84eae8324a879b22a65e60f791
5 years ago
Stefan Mititelu
6f457b50d1
Get time before deciding to re-establish redis connection
...
Also set redis connected state when PING works again
5 years ago
Richard Fuchs
fdac938ecf
TT#91151 add a free-form software ID config option
...
closes #1141
Change-Id: I99bd0d7ecc414e2b4f6e7e3fea72aab5935f8939
5 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
...
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
5 years ago
Richard Fuchs
a8013ffe70
TT#111051 set thread specific process names
...
Change-Id: I6a5bb14c070d93b865510786f5107220b93faef1
5 years ago
Richard Fuchs
5c79036f63
TT#14008 fix potential failed assertion
...
Change-Id: Ie4912bd5395802b51293d13c929a02374fa9b0f0
5 years ago
Guillem Jover
6a9d61dffd
TT#108003 Check send() return code for DTMF UDP logging
...
Log an error and continue anyway if the send() failed, this is just
logging.
Change-Id: I542385489f8e37e6e524b766371fed3ba558ff2f
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
abb281daac
TT#91151 add additional check for kernel module commands
...
Change-Id: I27f9ca4f03cd979ecbcf01e8fb1801a306f9d396
5 years ago
Richard Fuchs
fa6d29b45c
TT#91151 fix wrong hash table lookup object being used
...
fixes 8abc6b1c
Change-Id: Id38636308c9c6f37b95829911af71148ca3256ce
5 years ago
Richard Fuchs
ab54b774ed
TT#14008 remove .depend from make system
...
The dependency tracker is causing more problems than what it's worth, so
just remove it.
Change-Id: I5db8cae57400cd644add08447406a4526da03f65
5 years ago
Richard Fuchs
21d1057f68
TT#108003 fix possible deadlock
...
Change-Id: I604bd76248aa0bc33589ee379a99b6f82c840662
5 years ago
Richard Fuchs
7101f535da
TT#108003 remove unnecessary null checks
...
Change-Id: I1aeb10662eac2ed0553cf4489d1e1d7a487ad272
5 years ago
Richard Fuchs
225e5add8f
TT#108003 don't consume `pt` before finish using it
...
__rtp_payload_type_add_recv takes ownership of `pt` and potentially
freeds it. Move the call to the end of the code block, after we're done
using it.
Change-Id: I5591cd6b22295ddcd6801e2bbbb381bff403fea8
5 years ago
Richard Fuchs
1785f70637
TT#91151 add new replace-zero-address option
...
closes #1185
Change-Id: I8cf6f4ff043649255dafa93b28fcb2127ce4d2bb
5 years ago
Richard Fuchs
772db96c36
TT#91151 fix check for trickle ICE and zero address
...
Avoid using an explicit test for the trickle ICE endpoint address and
instead use the TRICKLE_ICE flag.
Change-Id: I821ced7e77c798004c9d88ec072848b7f6e24a85
5 years ago
Guillem Jover
2c565874c7
TT#108003 Do not allow division by 0 load_thread()
...
We should make sure total_secs is never 0.
Change-Id: I532c7d67a640b7f88ed6f7c0ff31189fe0d98fb0
Warned-by: coverity
5 years ago
Guillem Jover
e2552773cc
TT#108003 Handle errors during websocket connection initialization
...
Make the websocket_conn_init() function return an error code, and delay
the initialization after we cannot fail. And otherwise return -1, such
as when we cannot initialize the HTTP nor SSL connection.
Change-Id: I0facd53560fdb06678d7df9775be277e5c4b2cae
Warned-by: coverity
5 years ago
Richard Fuchs
76d5828c82
TT#91151 explicitly keep track of zero endpoint addresses
...
Change-Id: I6044cddc7d997848715df6701fd8a61a1e0bf289
5 years ago
Guillem Jover
8f440555a0
TT#108003 Fix memory leak in cdr_update_entry()
...
The AUTO_CLEANUP_INIT() macro is already allocating a string for this
variable, which we were then overwriting and thus leaking.
Change-Id: If655c867c5666c6cff6311f01e617647375f6279
Warned-by: coverity
5 years ago
Guillem Jover
07716a6a85
TT#108003 Do not print the DTLS certificate and private key on OOM
...
When open_memstream() fails, we should not try to write to it.
Change-Id: I9f92a1e1cc4aebe005039f28e5e3219e323e63c6
Warned-by: coverity
5 years ago
Guillem Jover
009aa21bc0
TT#108003 Fix double free in __established()
...
The __attempt_send() function will free the gs string on success,
so we should not free it again.
Change-Id: I74c9e41854db56bf29ae541eaeebfb97ce8eeb74
Warned-by: coverity
5 years ago
Richard Fuchs
8b1c958f8e
TT#91151 obsolete unused REMG_UPDATE op
...
Change-Id: Ib7daeb3d838e0b679025f582f7c26fe5868f72cb
5 years ago
Richard Fuchs
b75ec8e7ba
TT#14008 convert CDR logging to g_string
...
Change-Id: I64ec610b163534e3cfc0e7d0385329ab45c5cca3
5 years ago
Richard Fuchs
1dbfbe87d3
TT#14008 move g_string_free helper to auxlib
...
Change-Id: I34e0aa0be1df06346e86684c6488caf8e302df9f
5 years ago
Richard Fuchs
d47f4ac427
TT#14008 make bcg729 inclusion conditional on dpkg profile
...
closes #1174
Change-Id: I277986ea30b25633c281291aa956fb2159c386ed
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
Damir Nedžibović
0ae0681b28
TT#14008 Squashed commit of the following:
...
closes #1183
commit a74cf4a7f9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Feb 2 11:06:50 2021 +0100
Add --dtmf-log-ng-tcp CLI option.
commit a428764d9b
Merge: 2bbfcb27 8abc6b1c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Tue Feb 2 09:16:26 2021 +0100
Merge branch 'master' into dtmf_events_over_ng_tcp
commit 2bbfcb2750
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 14:28:07 2021 +0100
Replace hex values with chars.
commit dc1084d122
Merge: 2bce444b 2c7163ea
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:53:27 2021 +0100
Merge branch 'dtmf_events_over_ng_tcp' of github.com:enreached/rtpengine into dtmf_events_over_ng_tcp
commit 2bce444b26
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit 5a256fd3ae
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit a14f4034b9
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit b861fe3087
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 7bfe08fb08
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 2c7163eaf3
Merge: fd286813 9165bf1f
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:49:00 2021 +0100
Merge branch 'dtmf_events_over_ng_tcp' of github.com:enreached/rtpengine into dtmf_events_over_ng_tcp
commit fd28681350
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 10:20:02 2021 -0500
TT#14008 fix AEAD kernel API for < 4.2
Untested whether it actually works
closes #1176
Change-Id: If6398632ac62525a673b844cfb4ce842a8aa0346
commit 0626dcdd96
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 13:07:25 2021 -0500
TT#14008 improve log output for stray packets
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
commit 8fcccb77cc
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit f0d90d1831
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit 37462b8e4d
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit 9165bf1f75
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:28:06 2021 +0100
Prevent use after free.
commit d616f2941f
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:30:31 2021 +0100
Add missing includes.
commit bb063386c6
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 13:27:27 2021 +0100
Add support for sending DTMF events via protocol NG TCP.
commit b28ab07532
Merge: 813a4f1c 6e4373af
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:21:31 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 813a4f1caa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 0c87a19c55
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 6e4373affb
Merge: fbf74bfe 7799f23a
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:19:46 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit fbf74bfe2d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Jan 27 10:18:14 2021 -0500
TT#14008 fix possible segfault
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
commit 1a5bcc0905
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:49:43 2021 -0500
TT#109251 fix redis restore segfault
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
commit b38b49fd60
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:44:44 2021 -0500
TT#102450 added tests for Ia9fa96cf
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
commit f33877bfe3
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:43:46 2021 -0500
TT#102450 fix some timestamping issues
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
commit 39a25b954d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:07:53 2021 -0500
TT#106101 mem leak fix for 554034eb7e
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
commit 11d11aed90
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:41:28 2021 -0500
TT#14008 clean up some tests
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
commit 7799f23aa5
Merge: ba7ee9d6 e191e16c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:18:24 2021 +0100
Merge branch 'master' of https://github.com/sipwise/rtpengine into control_ng_tcp
commit ba7ee9d6b1
Merge: f805d881 ffe187f1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:15:58 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit f805d881fa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit c548a3ca4b
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit ffe187f116
Author: Damir Nedžibović <damir.nedzibovic@bad-team.net>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
Change-Id: I8383fa80bce59aa865009e34caff5263b97ab588
5 years ago
Richard Fuchs
8abc6b1ca4
TT#91151 convert RTP PT hash tables to direct hashes
...
Change-Id: Id1f464794089f4de4ffce4914703b588ef0045a3
5 years ago
balajeesv
ffc9e34e14
TT#14008 Squashed commit of the following:
...
closes #1134
commit 1cdf8d50844baa27513c51a552504a8406ca17a4
Merge: 2fc54462 cc4d049f
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:19:43 2021 -0500
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into balajeesv-jb_disable
Change-Id: Ic01bbeb776d8ac0f3ebb46ae0a263243828443bb
commit cc4d049fab
Merge: 2f935206 9deedea1
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 23:15:48 2020 +0530
Merge branch 'jb_disable' of https://github.com/balajeesv/rtpengine into jb_disable
commit 2f935206de
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit 9deedea1c4
Merge: f553a9e5 7c3d2e01
Author: Balajee SV <41125423+balajeesv@users.noreply.github.com>
Date: Fri Dec 11 23:12:27 2020 +0530
Merge branch 'master' into jb_disable
commit f553a9e582
Author: balajeesv <balajee.sv@gmail.com>
Date: Fri Dec 11 22:47:46 2020 +0530
rtpengine: Disable jitter-buffer per call in offer
Change-Id: Ib4443a0d66c78749e24f3d2cb48c991e408e21fd
5 years ago
Damir Nedžibović
2fc54462de
TT#14008 Squashed commit of the following:
...
closes #1180
commit 023f6cbc9e0b595d1d02116d38d39358fbb9ee49
Merge: ae82034d 86e287d1
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Mon Feb 1 11:16:04 2021 -0500
Merge branch 'control_ng_tcp' of https://github.com/enreached/rtpengine into enreached-control_ng_tcp
Change-Id: I628dcfd30e901dbee97b00bee0b6bba0cb29826f
commit 86e287d117
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:38:53 2021 +0100
Update the readme file.
commit 35f5d9e151
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 16:20:09 2021 +0100
Update docs.
commit 336deb4c67
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 14:28:07 2021 +0100
Replace hex values with chars.
commit 37c86a8fa0
Merge: 17a10b96 5cd53ef1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:51:06 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 17a10b96ad
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit adfddefae3
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 5cd53ef1c9
Merge: 1bd3a8fc b28ab075
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Mon Feb 1 13:49:50 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 1bd3a8fc6d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 10:20:02 2021 -0500
TT#14008 fix AEAD kernel API for < 4.2
Untested whether it actually works
closes #1176
Change-Id: If6398632ac62525a673b844cfb4ce842a8aa0346
commit 71a222d7a8
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Fri Jan 29 13:07:25 2021 -0500
TT#14008 improve log output for stray packets
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
commit b28ab07532
Merge: 813a4f1c 6e4373af
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:21:31 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit 813a4f1caa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit 0c87a19c55
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit 6e4373affb
Merge: fbf74bfe 7799f23a
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:19:46 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit fbf74bfe2d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Wed Jan 27 10:18:14 2021 -0500
TT#14008 fix possible segfault
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
commit 1a5bcc0905
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:49:43 2021 -0500
TT#109251 fix redis restore segfault
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
commit b38b49fd60
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:44:44 2021 -0500
TT#102450 added tests for Ia9fa96cf
Change-Id: Ic9728e12a012335c30c5640ac0b5c88e39ad24ed
commit f33877bfe3
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:43:46 2021 -0500
TT#102450 fix some timestamping issues
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
commit 39a25b954d
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 14:07:53 2021 -0500
TT#106101 mem leak fix for 554034eb7e
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
commit 11d11aed90
Author: Richard Fuchs <rfuchs@sipwise.com>
Date: Thu Jan 28 13:41:28 2021 -0500
TT#14008 clean up some tests
Looks like packet order can be an issue in some cases
Change-Id: Ib8fb8c553c9d0f2919b24dda1e15e5a23832c619
commit 7799f23aa5
Merge: ba7ee9d6 e191e16c
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Fri Jan 29 09:18:24 2021 +0100
Merge branch 'master' of https://github.com/sipwise/rtpengine into control_ng_tcp
commit ba7ee9d6b1
Merge: f805d881 ffe187f1
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:15:58 2021 +0100
Merge branch 'control_ng_tcp' of github.com:enreached/rtpengine into control_ng_tcp
commit f805d881fa
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:09:10 2021 +0100
Add missing include.
commit c548a3ca4b
Author: Damir Nedžibović <damir.nedzibovic@enreach.com>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
commit ffe187f116
Author: Damir Nedžibović <damir.nedzibovic@bad-team.net>
Date: Thu Jan 28 18:05:44 2021 +0100
Implementation of control-ng via TCP.
Change-Id: I2acf208fcff1fa9aa790c31f1097ad9b4b7c3238
5 years ago
Richard Fuchs
ae82034dfe
TT#99621 add option to disable RTCP generation
...
Change-Id: Ifed6d255dd9d3ec5bc38a79a8f71da59d98243ea
5 years ago
Richard Fuchs
770df55b9e
TT#14008 improve log output for stray packets
...
Change-Id: Ic4b03928b279aade761de3ba1646b5c27318e6a3
5 years ago
Richard Fuchs
e191e16cf6
TT#14008 fix possible segfault
...
closes #1172
Change-Id: I94bb52c290c2032073e54528283660f03e694033
5 years ago
Richard Fuchs
5741f13930
TT#109251 fix redis restore segfault
...
Change-Id: I501a47b065e7b8ff28a3ac157c0ce567f228557f
5 years ago
Richard Fuchs
a6a18233de
TT#102450 fix some timestamping issues
...
Make sure G.722 rate multiplies is applied in the right places
Don't trust encoders to return proper timestamps, but instead track them
explicitly based on frame duration
Change-Id: Ia9fa96cf662da97159fa170c3a3f37516889e1bd
5 years ago
Richard Fuchs
f4a71275d4
TT#106101 mem leak fix for 554034eb7e
...
Change-Id: I9c410211580d8513a203a29f898970a78175d08b
5 years ago
Richard Fuchs
c5ef68897a
TT#76250 consider default number of channel when matching codecs
...
Eliminates duplicated codecs when `opus/48000/1` is used for example
Change-Id: If434e34fe75883544cf6c2c83723af73878ccb20
5 years ago
Stefan Mititelu
001abe5f1f
Add new config parameter: `save-interface-ports`
...
When set to `false`, no changes at all. (default)
When set to `true`, bind only one desired family local address.
Also add info in rtpengine.pod file.
Also add log for sfd with no call.
5 years ago
Richard Fuchs
e671a5dcab
TT#108552 prefer sha-256 over sha-1
...
Change-Id: I1c54b6410d492a2dbd7169f000c84ecebf9d817c
5 years ago
Richard Fuchs
f2d7e71b07
TT#108552 update crypto suite preference ordering
...
Change-Id: I7f192fda512d90b0ab05ff4856891eb0f348a157
5 years ago
Richard Fuchs
0898923c38
TT#98901 use correct DTMF codec context
...
Change-Id: Idf66a2528d06830247e71038a9616726afd588c4
5 years ago
Richard Fuchs
97a1c218fa
TT#106101 handle out-of-order ICE fragments
...
Change-Id: I6b16474d505a40055b06d215e4cc6c5391214613
5 years ago
Richard Fuchs
554034eb7e
TT#106101 also turn UDP/WS receive buffer into refcounted object
...
Change-Id: I81fa68b07af3a87e26d031a5722dcd103a1e620e
5 years ago
Richard Fuchs
28e0620c80
TT#106101 turn bencode buffer into shared refcounted object
...
Change-Id: I6d8e443d8b0fc7e9afe0a6f6b3cde3d1a85e42de
5 years ago
Richard Fuchs
df11807324
TT#106101 don't require connection address for ICE fragments
...
Change-Id: I0ee1af3d41ea2f6484daffae0c2c0e1c8a25ef45
5 years ago
Richard Fuchs
fd275acc5c
TT#98901 use DTX buffer for related DTMF events
...
Change-Id: Ia9b83bf7a0989ec2e20ac0d8ea9a1024a8f5d417
5 years ago
Richard Fuchs
e7739d020f
TT#98901 fix TS scaling issues for DTMF
...
Change-Id: I94eceb0946605f270279be519f156ff9c905ce54
5 years ago
Richard Fuchs
6feef3694c
TT#98901 fix some clock skew issues
...
Change-Id: I3d1be408e8b16ec0b3a92fce9c4fe2969a8968c9
5 years ago
Richard Fuchs
030f38ff16
TT#97301 add description to log levels
...
Change-Id: I223d69016b5e6328f1124a6a977c46d008b667dc
5 years ago
Richard Fuchs
6602a3a7c5
TT#108551 add kernel support for AEAD-AES-GCM
...
Also amends tests plus additional clean ups
Closes #1133
Change-Id: I0dad7b8aad9cff1b019323c7ac5a356830ab09ad
5 years ago
SPChan
0c4110779d
TT#108551 add support for AEAD-AES-GCM
...
close PR #1133
Squashed commit of:
commit b5009eff0b
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 11:40:17 2020 +0800
crypto.c: handle 12 bytes master salt length of AEAD
AEAD RFC7714 specifies 12 bytes master salt length
(section 12) but the KDF expects 14 bytes.
The erratum to RFC7714 specifies to pad on the right
by 16 bits to be compliant with the KDF.
https://www.rfc-editor.org/errata_search.php?rfc=7714
commit 30ba71f10c
Author: SPChan <shihping.chan@gmail.com>
Date: Fri Dec 11 09:31:00 2020 +0800
crypto.c: AEAD make clear which operations are for AAD
commit 3e4d87681d
Author: SPChan <shihping.chan@gmail.com>
Date: Thu Dec 10 19:38:51 2020 +0800
Implement RFC7714 ciphers: AEAD AES
Initial userspace only implementation
Change-Id: I8624b255e4fd83a5ca418655ef117c48e56e2379
5 years ago
Richard Fuchs
d466e5c326
TT#97301 fix bit-setting of negative log levels
...
Change-Id: I383645d874f17a128385aae8a0f1e3f7f9b99ff3
5 years ago
Richard Fuchs
68be3d2afb
TT#108350 add kernel module version/size check
...
Change-Id: I636a234c066922c2db604787057320b62105a0d4
5 years ago
Richard Fuchs
0bab726e5d
TT#92250 reset opposite side supp handlers
...
If a supplemental codec was removed by the codec tracker, we must reset
any codec handlers on the opposite side that were using this output
codec.
Change-Id: I7fb9d0ec7a061682fe3b28d9ead14ac263aff7c3
5 years ago
Richard Fuchs
604aa5a9a0
TT#92250 add new reorder-codecs flag
...
Change-Id: I93587b6675540438f81193896ae8d8966b3a12a6
5 years ago
Richard Fuchs
a02134cd06
TT#92250 split up __accept_transcode_codecs
...
Change-Id: I52b602961c2e60f5e73576bcea8e9af47528111a
5 years ago
Richard Fuchs
341f2e04dc
TT#92250 also create codec handlers for synthesised supp PTs
...
Change-Id: Icebd5a5d8f1ab159f7343b8036e36322b1211e8a
5 years ago
Richard Fuchs
e9bdbb1ee6
TT#97301 fix removal of debug_srtp
...
closes #1162
Change-Id: I02b81a6f9d9fd6910ce6ed2995bfba16d59b027e
5 years ago
Richard Fuchs
c69415ba45
TT#97301 allow printing and setting of individual log levels
...
Change-Id: I3ac399a7041aa04847fd4a35a9c0f12a2a0a8ce3
5 years ago
Richard Fuchs
89d017ed73
TT#97301 update CLI online help
...
Change-Id: Ib5615f15cefa23ac093115318f84cf712f735322
5 years ago
Richard Fuchs
9653546f7c
TT#107157 fix LWS HTTP handling crash
...
Sequence of events:
1) HTTP request is being handled in worker thread by calling the handler
func() from within websocket_process().
2) Handler func generates output, queues it up, and requests a
`writeable` callback from within websocket_write_raw().
3) Main LWS thread triggers writeable callback and calls
websocket_dequeue().
4) Output is given to LWS still within the main LWS thread, and finally
lws_http_transaction_completed() is called to release the connection
and ready it for the next HTTP connection.
5) LWS internally cleans up the connection and frees the user context
(our `wc` struct).
6) The worker thread wakes up and continues to use the now invalid `wc`
in order to clean up after it has done its job. Boom.
The solution is to handle the `drop protocol` callback, which is
triggered by LWS in the main LWS thread in step 4 from within
lws_http_transaction_completed(). We call our own connection cleanup
function websocket_conn_cleanup() which blocks until all jobs are
removed from `wc` (step 6) and only then continue, allowing LWS to
safely free the struct.
Change-Id: I596a98e9b552a96aef259f4523f16fa63c287ef4
5 years ago
dvillaume
e4e3112498
TT#14008 support repeat-times in media player
...
closes #1159
Change-Id: Idf177b3e9d674d220b9c73a46ecd58453c6e3b39
5 years ago
Richard Fuchs
16c9f4c729
TT#14008 skip over non-ASCII characters in JSON output
...
closes #1156
Change-Id: I44e50f6968b6792a2ff57d1d14fede6db0d4f1d5
5 years ago
Richard Fuchs
2a86d5da2e
TT#14008 fix possible pcap namespace issue
...
Change-Id: I8c759d74c8091dd302399c3e72939fa43688f655
5 years ago
Richard Fuchs
d8b71e11fd
TT#14008 fix possible null pointer
...
closes #1152
Change-Id: I3c6ac0e57128dfc567cecb3e7c952b5c96175f84
5 years ago
Richard Fuchs
30733ec5cd
TT#97301 support granular log levels
...
Change-Id: Ife458bd2449f61113a3e6db1708821570d92dc23
5 years ago
Richard Fuchs
44bc0b90c8
TT#99621 feed locally generated RTCP to stats tracker for MOS
...
Change-Id: I545f306e0f16dc71e20e10ebd419795275f7e3b2
5 years ago
Richard Fuchs
46176f2937
TT#101653 defuse codec tracker so it doesn't remove too many
...
closes #1136
Change-Id: I692cd15daf57bb95c5592099713bdc46338d4321
5 years ago
Richard Fuchs
5dbd797651
TT#94201 fix ICE=default to the intended behaviour
...
closes #1147
Change-Id: I545b37d1cdb5848ad437da150ef23e5df4045833
5 years ago
Richard Fuchs
89c4c4832a
TT#106100 do not print recording flags for `pcap` method
...
closes #1142
Change-Id: I98a5e79ec5c2c13351d70b567eade909ed952dd5
5 years ago
Jakub Karolczyk
929c345778
For RTCPMUX streams we need to filter out RTCP packets selectively from the stream. Original implementation just stops processing packets in JitterBuffer when the first RTCP packet is received in RTCPMUX stream
...
Closes #1127
Squashed commit of:
commit 23dfb952e7
Author: jakubkarolczyk <51345687+jakubkarolczyk@users.noreply.github.com>
Date: Fri Dec 4 16:17:00 2020 +0000
Update jitter_buffer.c
Changed the way of excluding RTCP from being processed by JB
commit 79f478a30d
Author: Jakub Karolczyk <jakub.karolczyk@gamma.co.uk>
Date: Wed Dec 23 13:12:44 2020 +0000
For RTCPMUX streams we need to filter out RTCP packets selectively from the stream. Original implementation just stops processing packets in JitterBuffer when the first RTCP packet is received in RTCPMUX stream
Change-Id: Iad30001a6554630a63474dc069d81aefa93a0bbb
5 years ago
Richard Fuchs
cd577a2710
TT#106150 fix possible race condition while processing WS queue
...
Change-Id: I1137d828487e988b7afc3a0992312e4d8a0de876
5 years ago
Richard Fuchs
f861ff7f1e
TT#101653 limit maximum delay in input processing after lost packet
...
Change-Id: Ie55e6e8a23836c97ae0a20f6604b0a80e238a2d8
5 years ago
Richard Fuchs
8517c99af2
TT#101653 detect and adjust for output clock skew
...
Change-Id: I3844a49bf2a8cd416f9cb1ceab6b3ed69732d0e6
5 years ago
Richard Fuchs
d990ad7f1e
TT#101653 more verbose packet scheduler log message
...
Change-Id: I5bab050ca6bb71cb32c6d19631ac63444fbed811
5 years ago
Richard Fuchs
c6208914a3
TT#101653 check receiver side for supplemental transcoding
...
If the receiver is transcoding any supplemental codecs, we must also
transcode all other codecs.
Change-Id: Ia169b2cd78762fbca175a83c2425b1f3caf7ad86
5 years ago
Richard Fuchs
a4d0a35430
TT#101653 eliminate superfluous log messages
...
Change-Id: I1fdeaac3b301e4b6bd70b4ae207505bca1d3c0a3
5 years ago
Richard Fuchs
7c3d2e016a
TT#105000 don't send STUN response in response to responses
...
Change-Id: Ia45f96731a9b598c5e757848b5a70a3153c59266
5 years ago
Richard Fuchs
71d02ff486
TT#101653 retire always-transcode flag
...
Change-Id: I845c4b2f811c2945c9015cdf4570036f3a26b81f
5 years ago
Richard Fuchs
336cb5b280
TT#101653 add codec-consume and codec-accept options
...
Change-Id: Icac343b34881628118f2c36181be66db1c6286e0
5 years ago
Richard Fuchs
73e4ef42eb
TT#101653 add silence detection option
...
Change-Id: I14940fcabdef475ed5dbe74d9af7ebc2af10311b
5 years ago
Richard Fuchs
08cdc4ce5a
TT#101653 generalise handling of supplemental payload types
...
Change-Id: Ic4e2387aa45fc0584184bae907f1bf0cbf6be054
5 years ago
Richard Fuchs
96bd7a6986
TT#100200 track matching CN payload types
...
Change-Id: I6db6c08afee2ca8353e07ace952a630105ad9c25
5 years ago
Richard Fuchs
a15e3a28c9
TT#99621 update RTP stats from kernel for RTCP
...
Change-Id: Iff54c4b8bac9df7c0e58c8dbdc424e6c4faf8780
5 years ago
Richard Fuchs
c12ec6600d
TT#99621 support jitter tracking for RTCP
...
Change-Id: I181e06e904702f37e155990dc597391c17ae4ad0
5 years ago
Richard Fuchs
ba66e5fa3a
TT#99621 support RTCP generation
...
Change-Id: Iff832eaa4148cce4d87d24d4dc3b908dfa361770
5 years ago
Richard Fuchs
97c75349cf
TT#99621 allow null RTCP handler funcs
...
Change-Id: I792cac51bb09712c13b79676c6fd4fe0547ba531
5 years ago
Richard Fuchs
195542a4ec
TT#99621 allow RTCP handlers to discard the packet
...
Change-Id: Ia48a0fa375afc46d9d2ef639ab55538b4b8a5e51
5 years ago
Richard Fuchs
6dca19ed93
TT#99621 move RTCP sending logic to rtcp.c
...
Change-Id: I9551c54085007bc8d7a0018bc111363bac9eccc6
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
8de20ce28b
TT#82405 terminate HTTP connection when output was been written
...
This allows persistent HTTP connections to work properly.
Change-Id: I5e74293bcc9986d4fb3800b7dbcbc3c65b9a14fb
5 years ago
Richard Fuchs
c2c7f9a506
TT#82405 add convenience function to return HTTP data
...
Change-Id: I3ea40a7341a8959b407e6bf296e80226d52f1e1f
5 years ago
Richard Fuchs
a642a1e694
TT#98901 avoid PT collisions with asymmetric codec setup
...
Change-Id: Icce014312cef57e9df6dbe4165a67bef617b84c7
5 years ago
Richard Fuchs
2f5cd2fcee
Merge branch 'rtt_per_call_leg' of https://github.com/jchavanton/rtpengine
...
Change-Id: I8610c5144015abc2628cf8c5ab136d5baece1265
5 years ago
Richard Fuchs
440ca5ac0f
TT#92250 fix to keep supp codecs last in the list
...
Change-Id: I3ed4993e6904e8236812d4a11619945c7d386689
5 years ago
Richard Fuchs
16fd8aad15
TT#101653 alter re-invite codec negotiation logic
...
Change-Id: Ic5f68258b6f1f10af1df42ff8b06d82488595c35
5 years ago
Richard Fuchs
9ea1303c6b
TT#100200 fix logic for DTMF detection trigger
...
Change-Id: I814112e7c3c9673f29bde42c05517ad3802de1fb
5 years ago
Richard Fuchs
aa5e024417
TT#81212 mark calls as owned upon activity
...
Change-Id: I770d759e11e3ca10c6d879b0e8204ee2bc37bf72
5 years ago
Richard Fuchs
260a170524
TT#81212 add trigger to set all calls to own or foreign
...
Change-Id: I9ee69680bccd79bae19332189a8531eaa2f6950b
5 years ago
Richard Fuchs
c9140f9f66
TT#81212 add function to change call state (own/foreign)
...
Change-Id: Ia9010c270839832abbb0d7b7742a4bf8cda1d538
5 years ago
Richard Fuchs
5d895fb7be
TT#82405 add Prometheus stats exporter
...
Change-Id: Ic55b42a707e430a61c0422c65827ed2145511586
5 years ago
Julien Chavanton
e1847cadc5
RTT per call leg
5 years ago
Richard Fuchs
dec54fa3e0
TT#102500 fix missing timestamping in websocket threads
...
closes #1113
Change-Id: Id301a4c47f6e341777ce7c3b58fcea4c659d2f8d
5 years ago
Richard Fuchs
a6022c9ab9
TT#102450 fix AMR recording
...
closes #1112
Change-Id: If8378fa63ae1827aa3ab4c02d376ee75f34b8b9d
5 years ago
Richard Fuchs
8ded0076da
TT#101202 fix potential null pointer dereference
...
closes #1110
Change-Id: Ib5e26b40bc55e7c96b59a19ddd7ed6bec2d109db
5 years ago
Richard Fuchs
f393d29009
TT#101202 keep timer queue entries with same timestamp in order
...
closes #1110
Change-Id: Ia121deb9589bfdfa112189b22d4a78bdb29c535b
5 years ago
Richard Fuchs
b355e55fcb
make DTMF options dependent on transcoding option
...
closes #1109
Change-Id: I8f77ebfd4ffd960d59c9d20e2b1b62a3961525ca
5 years ago
Richard Fuchs
d362adf9c7
TT#100251 fix redis-restore segfault
...
Change-Id: I8444e6a84ca2b493d6b6ac728e654b8ad5e55252
(cherry picked from commit 90d650c888 )
5 years ago
Richard Fuchs
7a42c0c48c
TT#100251 distinguish between real transcoding and DTMF-related t/c
...
Change-Id: I4643baeb87a7b71e8fc9d23c433fa958c9c11a71
5 years ago
Richard Fuchs
87b4d6f499
TT#100200 always track supplemental codecs
...
Change-Id: Iab65585b0d536772766048c8c0977276b8628c74
5 years ago
Richard Fuchs
38890bdb5b
TT#100200 split out supp codec finding routine
...
Change-Id: If67b2c713918085d5d54c2d74661fc667eb97336
5 years ago
Richard Fuchs
bd53179cd1
TT#100200 properly support multiple supplemental codecs
...
Change-Id: I643fa844b504bf1264d6d2cddebf6d6602c80b35
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
e16cb57a3e
TT#98901 don't trigger DTX after a SSRC switch
...
Change-Id: Ic1664b3162b5e2caf7b6119ccb5863ad03cf2768
5 years ago
Richard Fuchs
17e22ade36
TT#98901 add limit to length of DTX processing
...
Change-Id: I6fba28b985ff63de6185dccc2ca16f4264a0493d
5 years ago
Richard Fuchs
bae79d3fef
TT#98901 handle AMR SID DTX
...
Change-Id: I418c43e0cef2a70143010235988523f195a3bf5a
5 years ago
Richard Fuchs
fa64e2261e
TT#98901 add codec timers thread
...
Change-Id: If50d2d42ce918961588dfc79793a26ba15416991
5 years ago
Richard Fuchs
58c436e5a7
TT#98901 add ssrc_hash_foreach()
...
Change-Id: Ia90fc84ee82afc78b8fa5b6f8fed160959636d28
5 years ago
Richard Fuchs
36eb641966
TT#98901 add media_packet_copy/_release
...
Change-Id: I60bc6b258e9efc0d704b6d8cc6b2c2c915330bdc
5 years ago
Richard Fuchs
4519db78bd
TT#98901 allow NULL send_now timerthread function
...
Change-Id: Ic5e9b97780f787122fe12fb31fdd4093f26587d6
5 years ago
Richard Fuchs
6ae33a4b85
TT#98901 split out ssrc locking
...
Change-Id: I7275a25598be6b9a07364573d687fa478addaa4d
5 years ago
Richard Fuchs
014173dc5c
TT#98901 allow packet handler func to consume packet
...
Change-Id: Ic73b1bdab1205d2f3feefe48d83e0ca7e81a726d
5 years ago
Richard Fuchs
64ba12c4c7
TT#99503 fix possible T.38 gateway deadlock
...
closes #1100
Change-Id: Ifd4be1ca5d4f343a805be31d39abdb73011ec6c4
(cherry picked from commit 0c581e59a1 )
5 years ago
Richard Fuchs
f0212124fe
fix compiler warning
...
Change-Id: I19ee1b097a4d0d85ba69fd01975e26f69c6c55fd
5 years ago
Richard Fuchs
4910f7b33f
TT#88951 support queuing multiple WS output messages
...
Change-Id: I9bcb1f5dd2942c4631820c25f343331c9630b8d7
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
d78be3997b
Merge branch 'master' of https://github.com/smititelu/rtpengine into master
...
Change-Id: Id3b571931e4fdb35d7889aa186b46ed967e2f157
5 years ago
Stefan Mititelu
cf1721c930
Fix compilation when transcoding disabled
5 years ago
Richard Fuchs
6ccfd14530
TT#94201 change default ICE= behaviour, add new =optional flag
...
Change-Id: Ie510bc05879c91eb1a0c7d7351461a63056ba410
5 years ago
Richard Fuchs
65cf46bc0a
TT#94201 convert ICE= options internally to enum
...
Change-Id: I3d7a6049cd7ab8e95da56820ccd3f2981ef03bc5
5 years ago
Richard Fuchs
95b814553b
TT#94201 add ICE=default option
...
Change-Id: If10e0aa284cc7cc5c1e69855733835bd5b52da31
5 years ago
Richard Fuchs
e67eb7b57f
TT#94201 add explicit passthrough flags
...
Change-Id: Ib5015011320490c0bf63b3c8bed9e6caadfa8953
5 years ago
Richard Fuchs
74fd959ccc
TT#92250 use matching output codec with inject-DTMF
...
Change-Id: I220947872303c534368363e8f980b94bd7d406a5
5 years ago
Richard Fuchs
2502b44ff8
TT#92250 keep supp codecs last when transcoding in reverse
...
Change-Id: I20d9b6e54c38ab92dcbe4e706ed04bca7145c373
5 years ago
Richard Fuchs
377f088254
TT#14008 suppress stray redis log warnings
...
Change-Id: Ice39f3e7ccfaae235db83d0839351c20369bbd6e
5 years ago
Richard Fuchs
4c773366f3
TT#92250 use correct size when freeing codec tracker
...
closes #1091
Change-Id: I10c0cd5449811fafd76415c3d73d845c03a3b26c
5 years ago
Richard Fuchs
bbc6aa9dac
TT#14008 avoid double free on shutdown
...
Change-Id: I30ca16313ee8039b51797b60955265fb4a7545a1
5 years ago
Richard Fuchs
3893069fae
TT#92250 allocate strings for hash table storage
...
closes #1091
Change-Id: Ia3384fc3eb640bb6c728ebde6e7bde09968eeb9a
5 years ago
Richard Fuchs
5883f16383
TT#14008 allow externally set CFLAGS
...
Change-Id: I1cfc8ef5ae2df9edace39acffd803b0c766e9ac3
5 years ago
Richard Fuchs
18a3b9df0f
clean up codec stats on shutdown
...
Change-Id: Iac082cda84c62be4a340448ef7c97c2f94e2992f
5 years ago
Richard Fuchs
b260e145e7
TT#97500 set thread stack size
...
closes #1078
Change-Id: Iebe5effb917731c8ca553c9e599df613e763b255
5 years ago
Richard Fuchs
e1dda97028
TT#14008 fix some warnings from musl
...
Change-Id: I99fe1185cf814232b44c078b62199e850850cb0d
5 years ago
Richard Fuchs
68ccc52b2b
TT#92250 postpone codec_tracker to final stage
...
Change-Id: I222f705e53fc95f56da40cf927197afcb2ee5107
5 years ago
Richard Fuchs
dbd817a2a6
TT#92250 match codec params during codec matchup
...
Change-Id: Ie1d6ee0d3e55098497d250eb465228c3982f3a4c
5 years ago
Richard Fuchs
71c3154142
TT#88750 restore DTLS SRTP details from Redis
...
Change-Id: Ie831787a72b49d119cf81efb55a2682fdc138c15
5 years ago
Richard Fuchs
5ad4a59ea7
TT#97302 add new flag to select DTLS fingerprint algo
...
Change-Id: I48d9bf7184a860ca6f8f488076fe2859db6018f2
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
ea1ba5837c
TT#92250 also honour single-codec for reverse transcoded codecs
...
Change-Id: I9f2822e70688716e06380879622db4087c02bbb9
5 years ago
Richard Fuchs
653b09ca93
TT#92250 add `single codec` flag
...
Change-Id: I7c84e1f906fec93ed624d2fb4a4d9e9bfc9b4109
5 years ago
Richard Fuchs
1bc43aa506
TT#92250 allow codec-strip/offer/except also in answer messages
...
Change-Id: I9a8dcb3ec83b7037ffa0017a810de506bfa5a356
5 years ago
Richard Fuchs
241c78c915
TT#92250 add codec-except option
...
Additionally allow `except` and `offer` (and `transcode`) to revert
masked codecs.
Also adds `mask=full` and `strip=full`
closes #1054
Change-Id: I93a2891f2a0b9d324f6804e38f992be73c46211a
5 years ago