Richard Fuchs
9e7bfc224c
MT#55283 fix possible UAF
...
Closes #2059
Change-Id: I364e14ae2b944ebd2839490c61279a14501e02e2
(cherry picked from commit 47ecbdba68 )
1 month ago
Donat Zenichev
7e1dbf65b7
MT#61856 main: prevent duplicated usage of `F` shortcut
...
Already used by `--no-fallback`, so the rest just probably
inherited the same letter when doing copy-paste.
That is ambiguous and may cause option parsing conflicts.
Keep `F` only for the historical(most important) option
and set the rest to 0.
Change-Id: I6e4841f6e6614bfdfcf53d159130d6d676073d47
(cherry picked from commit b659b2371f )
1 month ago
Richard Fuchs
666396927d
MT#55283 don't free codec_opts
...
These are arena allocated.
Closes #2108
Change-Id: Iac29da2b3bee73c10f68854c7cb3b2010fbf4d5a
(cherry picked from commit efd96fd820 )
1 month ago
Richard Fuchs
bedd62d84c
MT#55283 prevent possible NULL dereference
...
Change-Id: Iaae7299fa297501f13ad634b777d9d635eaaae51
(cherry picked from commit d4e11d655b )
1 month ago
Richard Fuchs
796a727f1d
MT#55283 prevent SSRC deadlock
...
Closes #2095
Change-Id: I693924eba5c7896f1efa9123cce606db97b0086c
(cherry picked from commit fba001c3b0 )
2 months ago
Richard Fuchs
911f3344e6
MT#55283 fill RTCP endpoint even if same
...
Closes #2096
Change-Id: Icee7dca1cbe1e2392ddc2b0b57ee56dd0657153d
(cherry picked from commit 99e4904600 )
2 months ago
Richard Fuchs
e0d1226b43
MT#55283 duplicate cache PTs into cache arena
...
Closes #2074
Change-Id: I62946675c5b6c4367ca884dcf346a0f6f6c712a7
(cherry picked from commit ce029008f8 )
4 months ago
Richard Fuchs
da536a0339
MT#55283 update memory arena logic
...
Use a pointer to the arena plus a comparison test to determine whether
to ref or to dup the string, instead of a function pointer. The function
pointer alone wasn't enough as there can be multiple arenas.
Change-Id: Icd317e524fc2e5842f90d172ef7089d2cb0a5a28
(cherry picked from commit 4ea7873ca7 )
4 months ago
Richard Fuchs
454ffaab4f
MT#55283 don't copy media_id from src to dst
...
Change-Id: Ia7c1256dff3025162431e8568cdfcfdfef475070
(cherry picked from commit 0b82e17f01 )
4 months ago
Richard Fuchs
ec4eeb19d2
MT#55283 don't look up dst media by src media_id
...
Change-Id: Id6da108b68943d62ad7036b2bb38df8f4f786c98
(cherry picked from commit 05268aac2b )
4 months ago
Richard Fuchs
644c5158b6
MT#55283 split out media_gen_media_id
...
Change-Id: Ib34d2b8416b78e41e8acf33ff93777d53bf1faaa
(cherry picked from commit bc85945a59 )
4 months ago
Richard Fuchs
a35c577259
MT#55283 allow null media_id
...
Change-Id: I2715fcf1a05c430c7eeea5c4c8f8ad7c1bc69ed0
(cherry picked from commit ba8c0fa87f )
4 months ago
Richard Fuchs
c61d6d0b7d
MT#55283 fix handing of sub-ans with extra media
...
Closes #2066
Change-Id: I35761075c28be3ddf1476d46b3bb8621ae899b40
(cherry picked from commit e015250b96 )
4 months ago
fergusean
efc8976f4f
MT#55283 Fix "maximum" typo
...
Closes #2062
Change-Id: Ibef2fe4876cef777e23aaff87918352bec59b13f
(cherry picked from commit 256ad7b588 )
5 months ago
Richard Fuchs
4297fd666b
MT#55283 fix colliding use of temp buffer
...
closes #2054
Change-Id: I7943d4591f7fb9f08d079411b4b3c04cf96675e5
(cherry picked from commit cd5a77ab96 )
5 months ago
Richard Fuchs
624d97e014
MT#55283 add str_dup_dup helper function
...
Change-Id: Ieacb147e3a98b5f31a8e45fb709df73636347cc0
(cherry picked from commit b1ac55c844 )
5 months ago
Richard Fuchs
d2b06dab4a
MT#55283 auto detect libiptc
...
Instead of having to manually disable legacy iptables support, auto
detect presence of libiptc and only include the feature if present.
Closes #2045
Change-Id: I649320727e9e9a565eabd369c683dfe6b6bdaec1
(cherry picked from commit cc53062ca1 )
5 months ago
Richard Fuchs
d3f27b3d75
MT#55283 introduce stream_fd lock
...
Required to avoid races over the "kernelized" flag
Change-Id: I316cc82d57a51e8778be4562a46a262804a7197f
(cherry picked from commit 8b4219f739 )
5 months ago
Richard Fuchs
b6693cfb6e
MT#55283 fix deadlock retry logic
...
Change-Id: I6f4162f724e527828f4f14e26746dff7d43562f5
(cherry picked from commit fede2a051e )
5 months ago
Richard Fuchs
0b94847eae
MT#55283 local var for shorter code
...
Change-Id: I1e8bb980a23402c1b3f5b2dc1d1a412a960a02e6
7 months ago
Richard Fuchs
5f832a5d81
MT#55283 refactor mem pinning into function
...
Change-Id: I8824dcf88412c68bb9f9df5dc0d6d0ed7e6fd067
7 months ago
Richard Fuchs
5263fb0098
MT#55283 pull down service ready notification
...
Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
7 months ago
Alex Brown
2639d9c0d1
MT#55283 Fix Issue with pcap based recording getting overwritten
...
Closes #2025
Closes #2026
Change-Id: I9f49127725b867b5fc9e9a852e6688e2c1d10b49
7 months ago
Harsh Daga
d45a29e3cd
MT#55283 adaptive jitter buffer
...
closes #2018
Change-Id: I94d4eb08e96fe33e149a03a647c6b13c814d7469
7 months ago
Richard Fuchs
15682312b7
MT#55283 convert extmap to iqueue
...
Change-Id: Ib2cd22fe5e004fadd30d44d91fd9ad344e4b9b74
7 months ago
Richard Fuchs
f68e614709
MT#55283 convert slp to iqueue
...
Change-Id: I7afc869810917f05a08d0147b225d3162720e430
7 months ago
Richard Fuchs
ef8967dafe
MT#55283 convert packets_out to iqueue
...
Change-Id: Iff72ab45cd3d4f6579180b5ed121a1779ee8285b
7 months ago
Richard Fuchs
914f6dfa1a
MT#55283 use intrusive list
...
Change-Id: I53c561dcc781f5cbd367ccb0df7b6900241f5e24
7 months ago
Richard Fuchs
4f5d013640
MT#55283 introduce socket use counter
...
Change-Id: I2468f4faedd195c9ea52d6ee6c99eabf37b7e73e
7 months ago
Richard Fuchs
23aa836800
MT#55283 fix missing MQTT SSRC stats
...
Change-Id: I3464f56263f783b7d81d4bdddfe56cd1fafa9ac3
7 months ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
...
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
8 months ago
Richard Fuchs
750f0a88bb
MT#55283 improve timeout handling
...
Only look at the recv side of recvonly/sendonly stream pairs by default,
and only consider the silent-timeout for calls that have no receive
streams at all.
Change-Id: I7773a6cc35733b0d27c8268f648a98e59fce9813
8 months ago
Richard Fuchs
6b785e77a2
MT#55283 make arg non null
...
Change-Id: Ia30ab70c0a520b6469146bdb60fcd112f56673b3
8 months ago
Richard Fuchs
b0d2b82199
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ia0729df4449e8bd4a2028d0373089e0fc9e1e042
8 months ago
Richard Fuchs
37813ddf86
MT#63317 rework port opening mechanics
...
Instead of opening local sockets directly during call setup, just create
the appropriate objects first, and then open the actual sockets in a
second step.
Move the opening step down, after the bundle logic has run. This way we
can avoid opening sockets that aren't needed.
Removes an intermediate step of obtaining consecutive ports.
Change-Id: Ib94c871ed6b3a433872afd23cb1aebbd9910b33e
8 months ago
Richard Fuchs
78c2e1e157
MT#55283 update return type
...
Change-Id: I76f16c3a04b1276ca04d25ea4a09f6f115f31d4b
8 months ago
Richard Fuchs
0ea27e9193
MT#63317 split apart ICE startup
...
Gather candidates in one step, and create candidate pairings against
local sockets in a second step.
Change-Id: I85bba7fe95af14d7f77a14d5baad4ea072a83bd3
8 months ago
Richard Fuchs
2ba7bd1041
MT#63317 fix possible booboo
...
Change-Id: I98926165e834eba01ef702eda1467521dca2b713
8 months ago
Richard Fuchs
e121a1e289
MT#63317 eliminate sockets shut down test
...
If we clear the sockets from the endpoint map during monologue shutdown,
we can guarantee that no sockets present in an endpoint map are ever
closed.
Change-Id: I4e3b6f39d51145fbfaebbe0bc412d8f001bbb053
8 months ago
Richard Fuchs
5b199f473f
MT#63317 use endpoint map as test for disabled
...
Change-Id: I425e33030c22119d459e3f58a2b00a64126b9e69
8 months ago
Richard Fuchs
0ebc75d229
MT#63317 rework endpoint_map hunting
...
Store the current (last) used endpoint map in the media object. This can
then be directly used when port latching is requested.
Remove and close sockets from endpoint map if fewer ports are needed.
Change-Id: I58aab82f82ecc3b0a7fc7a781394c8d77e715ecf
8 months ago
Richard Fuchs
0be3d106b8
MT#55283 close sockets on unsubscribe
...
closes #2010
Change-Id: I988f495e99e6eca39029958be5e504999085f1b2
8 months ago
Richard Fuchs
fbb61c2454
MT#63317 don't rekernelize when SSRC order changes
...
Change-Id: Iadecf3501d836d6f6e83f851a45fa8aa3afb2570
8 months ago
Richard Fuchs
ae603e7c3e
MT#63317 fix incorrect sorting of PTs
...
Change-Id: Ifd8264e8f39503feda8330d82888d0cc62418e92
8 months ago
Richard Fuchs
0eea0db4ef
MT#63317 amend and fix some logging
...
Change-Id: I7bacf207de52614e5ece4c8aa0243d5033b6cbfa
8 months ago
Richard Fuchs
26385f3056
MT#63317 fix missing filter length setting
...
Change-Id: I020c3fd1187569ca15f5fec16d97f171166ea24c
8 months ago
Richard Fuchs
9790ee9232
MT#63317 add strict bundle mode
...
Change-Id: Ic2076525b9e655cfb7d6fb665898018d29b87d5e
8 months ago
Richard Fuchs
213855143e
MT#63317 don't run DTLS on bundled media
...
Change-Id: Ie515920dabc57d9812933670d5c878cba820fec5
8 months ago
Richard Fuchs
6ce23df003
MT#63317 delay start of DTLS
...
Change-Id: I600d7523aacd6cef87d736a85550550146940826
8 months ago
Richard Fuchs
37cbac5fa7
MT#63317 share ICE context when bundling
...
Change-Id: Iee91f340b46241b30a9a0e6e5eefb268f380576f
8 months ago