Richard Fuchs
15effb7641
MT#55283 type-safe thread helpers
...
Change-Id: I90ba4347ed787eb63bad84287bea200fac5dbe82
5 months ago
Richard Fuchs
0b94847eae
MT#55283 local var for shorter code
...
Change-Id: I1e8bb980a23402c1b3f5b2dc1d1a412a960a02e6
5 months ago
Richard Fuchs
5f832a5d81
MT#55283 refactor mem pinning into function
...
Change-Id: I8824dcf88412c68bb9f9df5dc0d6d0ed7e6fd067
5 months ago
Richard Fuchs
5263fb0098
MT#55283 pull down service ready notification
...
Change-Id: I1cd82828c15598ef7d2f6c868d3ea479ac3ed934
5 months ago
Alex Brown
2639d9c0d1
MT#55283 Fix Issue with pcap based recording getting overwritten
...
Closes #2025
Closes #2026
Change-Id: I9f49127725b867b5fc9e9a852e6688e2c1d10b49
6 months ago
Harsh Daga
d45a29e3cd
MT#55283 adaptive jitter buffer
...
closes #2018
Change-Id: I94d4eb08e96fe33e149a03a647c6b13c814d7469
6 months ago
Richard Fuchs
15682312b7
MT#55283 convert extmap to iqueue
...
Change-Id: Ib2cd22fe5e004fadd30d44d91fd9ad344e4b9b74
6 months ago
Richard Fuchs
f68e614709
MT#55283 convert slp to iqueue
...
Change-Id: I7afc869810917f05a08d0147b225d3162720e430
6 months ago
Richard Fuchs
ef8967dafe
MT#55283 convert packets_out to iqueue
...
Change-Id: Iff72ab45cd3d4f6579180b5ed121a1779ee8285b
6 months ago
Richard Fuchs
914f6dfa1a
MT#55283 use intrusive list
...
Change-Id: I53c561dcc781f5cbd367ccb0df7b6900241f5e24
6 months ago
Richard Fuchs
4f5d013640
MT#55283 introduce socket use counter
...
Change-Id: I2468f4faedd195c9ea52d6ee6c99eabf37b7e73e
6 months ago
Richard Fuchs
23aa836800
MT#55283 fix missing MQTT SSRC stats
...
Change-Id: I3464f56263f783b7d81d4bdddfe56cd1fafa9ac3
6 months ago
Richard Fuchs
1fdf5cf2ea
MT#55283 add TCP keepalives for Redis connections
...
Change-Id: Id16f7f0f547f45cbef95bc98ede67a30f01cf3b9
6 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
6 months ago
Richard Fuchs
6b785e77a2
MT#55283 make arg non null
...
Change-Id: Ia30ab70c0a520b6469146bdb60fcd112f56673b3
6 months ago
Richard Fuchs
b0d2b82199
MT#55283 replace g_atomic with atomic_*
...
Change-Id: Ia0729df4449e8bd4a2028d0373089e0fc9e1e042
6 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
7 months ago
Richard Fuchs
78c2e1e157
MT#55283 update return type
...
Change-Id: I76f16c3a04b1276ca04d25ea4a09f6f115f31d4b
7 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
7 months ago
Richard Fuchs
2ba7bd1041
MT#63317 fix possible booboo
...
Change-Id: I98926165e834eba01ef702eda1467521dca2b713
7 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
7 months ago
Richard Fuchs
5b199f473f
MT#63317 use endpoint map as test for disabled
...
Change-Id: I425e33030c22119d459e3f58a2b00a64126b9e69
7 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
7 months ago
Richard Fuchs
0be3d106b8
MT#55283 close sockets on unsubscribe
...
closes #2010
Change-Id: I988f495e99e6eca39029958be5e504999085f1b2
7 months ago
Richard Fuchs
fbb61c2454
MT#63317 don't rekernelize when SSRC order changes
...
Change-Id: Iadecf3501d836d6f6e83f851a45fa8aa3afb2570
7 months ago
Richard Fuchs
ae603e7c3e
MT#63317 fix incorrect sorting of PTs
...
Change-Id: Ifd8264e8f39503feda8330d82888d0cc62418e92
7 months ago
Richard Fuchs
0eea0db4ef
MT#63317 amend and fix some logging
...
Change-Id: I7bacf207de52614e5ece4c8aa0243d5033b6cbfa
7 months ago
Richard Fuchs
26385f3056
MT#63317 fix missing filter length setting
...
Change-Id: I020c3fd1187569ca15f5fec16d97f171166ea24c
7 months ago
Richard Fuchs
9790ee9232
MT#63317 add strict bundle mode
...
Change-Id: Ic2076525b9e655cfb7d6fb665898018d29b87d5e
7 months ago
Richard Fuchs
213855143e
MT#63317 don't run DTLS on bundled media
...
Change-Id: Ie515920dabc57d9812933670d5c878cba820fec5
7 months ago
Richard Fuchs
6ce23df003
MT#63317 delay start of DTLS
...
Change-Id: I600d7523aacd6cef87d736a85550550146940826
7 months ago
Richard Fuchs
37cbac5fa7
MT#63317 share ICE context when bundling
...
Change-Id: Iee91f340b46241b30a9a0e6e5eefb268f380576f
7 months ago
Richard Fuchs
a3f5246bdb
MT#63317 separate ICE init from ICE start
...
Change-Id: Idf600bce7306b2e0f808b14c3b853fb93fd05d4a
7 months ago
Richard Fuchs
8317cc7071
MT#55283 reorder ICE candidate check
...
Run the check against ICE candidates not just for DTLS packets, but for
all received packets, except STUN which have authentication and are
needed to learn new ICE candidates.
Change-Id: I25df8fa6db4f828a68ba3b9e5cd35d2b56c0df08
7 months ago
Richard Fuchs
847d004319
MT#55283 revamp kernel shm strategy
...
Change-Id: I16f8b60317fc21b20a5cff5b0ba5b6026981fc6b
7 months ago
Richard Fuchs
cf278b447e
MT#55283 delete from Redis when call goes standby
...
Ref #2007
Change-Id: Id634da90d4fdc9da082af5874a6d46d9d4b05f26
7 months ago
Richard Fuchs
2340b41ba2
MT#55283 check return values
...
Change-Id: If51c8fd9c544a5b6cb7413486df10223ba979afb
Warned-by: Coverity
7 months ago
Richard Fuchs
527e7b56b6
MT#55283 lock payload tracker
...
Change-Id: I22ef38f4b32ec6a710c7120378080d95dfa00b60
Warned-by: Coverity
7 months ago
Richard Fuchs
15a71f4070
MT#63317 fix off by one
...
Change-Id: I4fa5b6819e55e6cc42a6fbe9f0db8ffa2e7b384d
Warned-by: Coverity
7 months ago
Richard Fuchs
b018e64463
MT#63317 fix typo
...
Change-Id: I34359f41877819c031b927828cdf2d8d512c5f58
Warned-by: Coverity
7 months ago
Richard Fuchs
b26252b2a5
MT#55283 remove useless hash table
...
Change-Id: I4440acee225ced49c59493ed036e339c8a5e49c3
7 months ago
Richard Fuchs
e1cfefc07e
MT#55283 disable kernel RTCP FW if filtering
...
Change-Id: I9488b444d413d227153b2e73a3efe2facce98d26
7 months ago
Richard Fuchs
f0e5e27bb9
MT#63317 ignore SDP address for bundled media
...
Change-Id: I10d3418dce30d69f5268c6c4187bc15bdb18e82d
7 months ago
Richard Fuchs
40d45821fc
MT#63317 use correct bundle sink for kernel
...
Change-Id: If3cbe6477a2d951fd8d2aabe121e356a48de0384
7 months ago
Richard Fuchs
9baf027be1
MT#63317 print a=bundle-only
...
Change-Id: Ieca566bb76b54093a0012ccc0d7021a5cfa75a11
7 months ago
Richard Fuchs
3124ab01b7
MT#63317 support bundle-require
...
Change-Id: I82ab669458f56a4e3ec2edb95f7a499adadbb810
7 months ago
Richard Fuchs
4aa3641cad
MT#63317 avoid mismatched extmap IDs
...
Change-Id: I7489ebaf9dbcb4ebb0c0bf469872433c25a0acb4
7 months ago
Richard Fuchs
429c7b5c71
MT#63317 support bundle offer
...
Change-Id: Ibb271535c38654c4fa4d52026d6a4ce41535e3cb
7 months ago
Richard Fuchs
a76b0a7d5c
MT#63317 optionally return previous HT to caller
...
Change-Id: If00834e1b53698e469fa134d3eb799ab486013e3
7 months ago
Richard Fuchs
d78064344a
MT#63317 add SSRC mapping to kernel
...
Change-Id: If3af2ff872be340be57a2c53c35fcf2d83af6587
7 months ago
Richard Fuchs
44deb79faa
MT#63317 remove unused hash table
...
Not needed as it turns out
Change-Id: I5236d32b6a0a6c0d51e3e0e9445dd5efeca73536
7 months ago
Richard Fuchs
72ac8d8008
MT#63317 remove rejected streams from bundle
...
Change-Id: Ib596cf1479eae475c0fec3303afca7e24166f51e
8 months ago
Richard Fuchs
4c78949654
MT#63317 associate SSRC with media
...
Change-Id: I0fba8f0a2c98c4b80b1688c85768efdf4410abe8
8 months ago
Richard Fuchs
cc48a89c41
MT#63317 set correct output media w bundle
...
Change-Id: I8e4e2514a6f779d9fcedfe1593b228d336cf5c2a
8 months ago
Richard Fuchs
ffd362cbf4
MT#63317 allow alternative endpoints
...
for strict-source + bundle
Change-Id: Ic13a9a7fe45b671eff12473c70233c2d05ace371
8 months ago
Richard Fuchs
bc185e6f0f
MT#63317 rework endpoint matching a bit
...
Change-Id: If0c58f72822a45e5fb89a248a01b9a401592ec30
8 months ago
Richard Fuchs
3b0496979a
MT#63317 extmap parsing in kernel
...
Change-Id: I2d4b0f0ba08d0dd793bd4e9716731dfe96ee155a
8 months ago
Richard Fuchs
607866ed13
MT#63317 send bundle media to kernel
...
Change-Id: I80779dc0eec5004e9ac8ceb4ca2d8c0206513fff
8 months ago
Richard Fuchs
c2aa97466f
MT#63317 separate out stream/media/sink setting
...
Change-Id: I19abcefb385eca5de21e5fe8e9ada0e868fc0ed3
8 months ago
Richard Fuchs
7ce5b7660e
MT#63317 typedef for kernelize_state
...
Change-Id: I1b712ccc049b13bc6e1aef41ef2cd13dafddc99d
8 months ago
Richard Fuchs
8cf038e4fa
MT#63317 rework kernel output grouping
...
Change-Id: I3e798e5f1e5ae2f4af247819e3d323cdbf56b36b
8 months ago
Richard Fuchs
07a046a257
MT#63317 push MID ext to kernel
...
Change-Id: I646174e14e51078458324cc5fe8a614aee7a2893
8 months ago
Richard Fuchs
7f9ed63ed7
MT#63317 support MID RTCP printing
...
Change-Id: I7aaeddc493d52122ef5f2286ec75f5f6d3016ed0
8 months ago
Richard Fuchs
5a287014c0
MT#63317 rework RTCP printing code
...
Change-Id: Iae0fa0f509857183dfb0bcc091a1af2648d6879c
8 months ago
Richard Fuchs
4ea2867d55
MT#63317 support generating MID RTP extension
...
Change-Id: I98c7dd0893562153a0230f976090ea0e31887d38
8 months ago
Richard Fuchs
78f9c0147a
MT#63317 generalise functions
...
Change-Id: I4ed802c755b6faab0fcba311b7b1fe617e2dd669
8 months ago
Richard Fuchs
667056b445
MT#63317 skip PT check when MID is in use
...
Change-Id: Ic9eaaada645a0ecdcd8a9d09bfc86c16b2e5ecb9
8 months ago
Richard Fuchs
12f69abbc3
MT#63317 share ports/sockets among bundle groups
...
Change-Id: I951f3690e7b795fdc08f0e37a1efb48a1a2630ca
8 months ago
Richard Fuchs
15dc584e2a
MT#63317 check if streams are matching
...
Change-Id: Ief5c10c202447238120eb106a832d768111e3b9c
8 months ago
Richard Fuchs
0cf57f220f
MT#63317 check if bundle head is bundled
...
Change-Id: Iaa618c08c351eb9fd642dc877327ff357598879f
8 months ago
Richard Fuchs
455caf2328
MT#63317 check if bundled PTs are unique
...
Change-Id: I3f1c63e2079a73ce8f1d3aa79e3650b2c68ed570
8 months ago
Richard Fuchs
e4478fcdbb
MT#63317 print bundle groups for bundled media
...
Change-Id: I3dce645f308bf0fe5f63b13fbb56f33ab0ff0ae2
8 months ago
Richard Fuchs
77776f185c
MT#63317 support bundle-accept
...
Change-Id: Ie436bd0e709a87379a647439bc09c167619620aa
8 months ago
Richard Fuchs
be148a4183
MT#63317 ignore bundle groups under force-relay
...
Change-Id: I3531d7c2b48f043fae1c3ae1685b80d7e30068ce
8 months ago
Richard Fuchs
871c4c0579
MT#63317 support BUNDLE flags
...
Change-Id: Iddc7f5b8394cdd2c2543775163f8867a1d88b14a
8 months ago
Richard Fuchs
3ef034a675
MT#63317 track extensions by known ID
...
Change-Id: I17f20bc8be60d779d1a3d18616bb518062f74e6b
8 months ago
Richard Fuchs
774834d0c7
MT#63317 set media from RTP ext
...
Change-Id: Id71e219a57decd409f4e8a7620c9809c9b577ae7
8 months ago
Richard Fuchs
e4f1717c7e
MT#63317 set media/stream from PT
...
Change-Id: Idf200efbe940cb1d4d6fc109820af37f08e49675
8 months ago
Richard Fuchs
bc779d0913
MT#63317 PT tracking
...
Change-Id: Ic354f62cef4cb37e3d65648a2f953cf9995e60b2
8 months ago
Richard Fuchs
2be254b0f8
MT#55283 set mux-offer when require is set
...
Change-Id: I18cbb52670c025db3384c4b4d39a136e9c7f3690
8 months ago
Richard Fuchs
1f91ce4c37
MT#63317 support bundle groups
...
Change-Id: Iff961283f77986c6df7147149e058286fbc91ca6
8 months ago
Richard Fuchs
16780ac17d
MT#63317 support multiple a=group attrs
...
Change-Id: Icb2c00e1ca46fafbc8862fe6b9cf2aae4a62fbfa
8 months ago
Richard Fuchs
99005e01a8
MT#63317 use length for empty test
...
Change-Id: I7d47a545f3b8abb2025ac8cf88c2b564c171b23a
8 months ago
Richard Fuchs
60a3637b20
MT#63317 type safety for free functions
...
Change-Id: I31cf09d7bd8d00626f95dc84a3cd9e0c48026d49
8 months ago
Richard Fuchs
5853dcb41b
MT#63317 move confirmed/kernel flags to stream_fd
...
The key for an in-kernel stream is a local port, so it is really the
socket (port) that gets pushed into the kernel, not the packet_stream.
Similar to the "confirmed" state, as we expect each socket to only have
one peer address/port.
Change-Id: I34fef771cd8b01701196ffb77e17fcd229c86550
8 months ago
Richard Fuchs
8b66f0a5e4
MT#63317 avoid duplicate extmap
...
Change-Id: If3237a5fc07e6257b58722336563d8ca95cd984c
8 months ago
Richard Fuchs
09ed1d3c20
MT#55283 store RTCP payload in phc
...
Fixes regression from c525cb9e0
Change-Id: I58ebeab42e833ca01dce028ab227a1ca10d43353
8 months ago
Richard Fuchs
e82c5da918
MT#55283 fix redis metadata typo
...
closes #2002
Change-Id: I8e656c3cef0169984e23a00522ce58edc457421a
8 months ago
Richard Fuchs
64efc53c52
MT#55283 update redis data after rec/fwd commands
...
closes #2002
Change-Id: I122d3c707d463109c9950d253b69b061fedc71dd
8 months ago
Richard Fuchs
176a834500
MT#55283 carry over PT flags with reuse
...
Change-Id: I19a4ae523f372be825c0814c29b005fd961cbc76
8 months ago
Richard Fuchs
de6e8e3763
MT#55283 use embedded array
...
Change-Id: I85330fb38b041d83a93e3c329cc3fc592290fdf3
8 months ago
Richard Fuchs
61103a2ac5
MT#63317 remove unused struct member
...
Change-Id: I2e0fa7ad49e8e0280bc2c7b1b305fcc7d6c8c5e8
8 months ago
Richard Fuchs
29886ae555
MT#55283 fix old gcc error p2
...
Change-Id: I8b4c82c4fd0b03b8339c8f0d014d9d2f095b2bf8
8 months ago
Richard Fuchs
e021d77884
MT#55283 fix old gcc error
...
Change-Id: Ida0763d5c746f8b39a45880fe0a819c6781ed617
8 months ago
Richard Fuchs
1b05cb043e
MT#63317 support ext filter in kernel
...
Change-Id: Ic98dde266c7707dd3350d651032d989511ee3bee
8 months ago
Richard Fuchs
ab8c7a82cb
MT#63317 support sending mixed rtpext
...
Change-Id: Ic504cfd9dea09eeccfc07e524aad14f87ca72692
8 months ago
Richard Fuchs
a87889b35a
MT#63317 initial support for allow-mixed
...
Adapt affected tests
Change-Id: I2a5dc1249a9a7dbab20b6022e20572a36d9520a9
8 months ago
Richard Fuchs
af4ca41edb
MT#63317 support filtering of extensions
...
Change-Id: Iac4fa87b89dc7d011115d149f8cfd4c74cd1ca7a
8 months ago
Richard Fuchs
f934f7737d
MT#63317 support long form extension printing
...
Change-Id: Ib1f1d51dcf6ac0c74fdeb92311bd04d72bf7e7c2
8 months ago
Richard Fuchs
9ef7c87e6f
MT#63317 print exts for forwarded packets
...
Change-Id: I8c133696219db536ee5c9fedd62a79bf6d658ce9
8 months ago
Richard Fuchs
e046eecb96
MT#63317 print extensions from list
...
Change-Id: Iec3824adb461264ea67f937258ba592f2fd82209
8 months ago
Richard Fuchs
5c03188d5b
MT#63317 abstract extmap printing
...
Change-Id: Ia1d8622a1c5ccf358ee573fb8747f3129dc790e8
8 months ago
Richard Fuchs
57bc6b1e95
MT#63317 abstract packet copy
...
Change-Id: I0ea082a4fad138c25cd710dd82020d4f4d192485
8 months ago
Richard Fuchs
8828b176c8
MT#63317 introduce extmap_ops abstraction
...
Change-Id: Icffa6f618270d2e7c10695bf1bade00ad8a49894
8 months ago
Richard Fuchs
7e2bb7ffeb
MT#63317 set DTMF payload string
...
Change-Id: I560b97c1f9fccdf407819912cbd988bf751a9ac7
8 months ago
Richard Fuchs
4fbef39425
MT#63317 add rtpext printing abstraction
...
Change-Id: I50b4bc3feef4445ccd87f4296504ec196bb8083a
8 months ago
Richard Fuchs
d2cfc5ec98
MT#63317 move down sink setting
...
Change-Id: I6e61153b3ec7103d18761d9a1278d7697aedf9bf
8 months ago
Richard Fuchs
c216b51260
MT#63317 parse out extensions
...
Change-Id: I33965782836782790e6b0872b97818717f2b9949
8 months ago
Richard Fuchs
1925ab925f
MT#55283 use obj_release
...
Change-Id: I06434bb580d30025ab793f9eb0e8622577103f16
8 months ago
Richard Fuchs
dba2386c60
MT#63317 support extmap-mask
...
Change-Id: Ib8ca6d4ada4a0bc1e67f5c02522eb9fe7f6ba2ce
8 months ago
Richard Fuchs
d3d1a55830
MT#63317 support extensions in codec_output_rtp
...
Change-Id: Ibefde005041bc6d715d42d089e6277ee2804917c
8 months ago
Richard Fuchs
b98e14631d
MT#63317 update marker flags to bool
...
Use a struct to pass marker flags to functions
Change-Id: I05b0fe0f9f37e9ff3675f59c7cb98abda3cfe300
8 months ago
Richard Fuchs
b2721c5abc
MT#63317 update payload lengths to size_t
...
Change-Id: Ib00570198103f93416c1b639777e30755a93646c
8 months ago
Richard Fuchs
42f7e40545
MT#63317 support extmap-strip for SDP
...
Change-Id: Iaa38fa3c24d69abbfdb8f0e457d406ccf0c6d5bd
8 months ago
Richard Fuchs
3de7902087
MT#63317 add sink_handler to media_player
...
Change-Id: I78bb3d486db6df24a556b68686ecd96c6b13a3ee
8 months ago
Richard Fuchs
82f5158775
MT#63317 add sink_handler_set_generic
...
Change-Id: Ibef8d6a6b3c868c2b4f844c3bf1e095be23cae30
8 months ago
Richard Fuchs
00e8c083b7
MT#63317 add handler lookup to test-transcode
...
Change-Id: Ic385e4f8f5b5ae291eca080151ed0b95f9e7f5e5
8 months ago
Richard Fuchs
acb0e47a1a
MT#63317 rename determine_sink_handler
...
and annotate some functions
Change-Id: I26cfe17f9bb93c1cc87b8365b3eed10fc03956f4
8 months ago
Richard Fuchs
f349cc7ee7
MT#63317 use monologue-local extmap storage
...
Change-Id: I8a341718f3944b276cd2838aaf37d26bb5ca1e0c
8 months ago
Richard Fuchs
d5c1fa418e
MT#63317 keep rtpext names in table
...
Change-Id: I9a2904ff22dc6235c2bfa8f4af5bd72f49ba37fe
8 months ago
Richard Fuchs
64d3c7646c
MT#63317 parse out RTP header extensions
...
Stub function for now.
Change-Id: I7ad2a203f42fb118e50273a57772cac4fbd1738f
8 months ago
Richard Fuchs
c525cb9e09
MT#63317 remove duplicate header parsing
...
Pass down RTP/RTCP header to crypto functions so that they don't need to
parse it out again.
Change-Id: I551ab6a668cc99c903cde8807f6f9c10fc0cf6d5
8 months ago
Richard Fuchs
2f52fb2511
MT#63317 return RTP extensions from rtp_payload
...
Change-Id: If7451e3d32ba39cab40f6f09488cd75ccbefa1cc
8 months ago
Richard Fuchs
35bcdd5570
MT#63317 keep extmap in tables
...
Change-Id: I540c7d325488c3015b72901ab0d9f25c3e913ea1
8 months ago
Richard Fuchs
fc9cb21d8a
MT#63317 store extmap entries in media object
...
Change-Id: Ia673ae3049f5c6ce8dd8516b5becc0a9322559d8
8 months ago
Richard Fuchs
8795e92fab
MT#63317 refactor RTP parsing code
...
Split up demuxing, parsing, stats, and the setting of ingress and egress
streams.
Change-Id: I1ed736024b3df8c3f24b68dc9bb8ef3e886712be
8 months ago
Richard Fuchs
eddff91357
MT#63317 annotate rtcp_payload
...
Change-Id: I2a08441c0c7e262d3d7a43e8fabc0a5766de7c7f
8 months ago
Richard Fuchs
3540a8334f
MT#63317 annotate rtp_payload
...
Change-Id: Ib8ba5e2002c75ec711c2f8e04b4e98b9a5fc8e0a
8 months ago
Richard Fuchs
6a893b1a83
MT#63317 update return type to bool
...
Change-Id: I95de33bcd2eecfcd0bb3229c7897c048f8ad1404
8 months ago
Richard Fuchs
878d7d8c76
MT#63317 update return types to bool
...
Change-Id: I485ad91b8a9d76c9353384240d5699a42fec8e77
8 months ago
Richard Fuchs
65e591bf99
MT#63317 revamp SDP printing
...
Change-Id: I0079cc8ec59a604048a11167cd576e49fc144a6a
8 months ago
Richard Fuchs
fa54abf0b8
MT#63317 split out ptime setting
...
Change-Id: Id9a7e0a794ae74110c0c2169c23af98d66fbfade
8 months ago
Richard Fuchs
6c51c437be
MT#63317 move setting of recrypt
...
Change-Id: Icb23f04e63b73c87a4bf607b26e20e2f2725a30f
8 months ago
Richard Fuchs
64c6e51bc1
MT#63317 split out update of rec slot
...
Change-Id: Id70ed0920957368d5a94ceec36ab36415748ce00
8 months ago
Richard Fuchs
6930991c59
MT#63317 split out update of address family
...
Change-Id: Id737b766e68e9f2bcc83a4a4db84f48e1d41d689
8 months ago
Richard Fuchs
e6df0829ea
MT#63317 split out update of format string
...
Change-Id: I294ae8b2652fa31242db68f85e611106a3c04370
8 months ago
Richard Fuchs
8ba6930de0
MT#63317 split out assignment of attributes
...
Change-Id: Id13d7c6a8256d960890101ca82a0856da98daed6
8 months ago
Richard Fuchs
3f964a3f7c
MT#63317 split out flags and crypto setting
...
Change-Id: I62a5aed29f01ab548dbe1db4b6f9ba4dfbcfd8e8
8 months ago
Richard Fuchs
4a1fca4e22
MT#63317 split out loop protect setting
...
Change-Id: Ifc3bbe18094f1357be6218f4b90a09c0a2324aba
8 months ago
Richard Fuchs
25cf086173
MT#63317 split out setting of media ID
...
Change-Id: I73a854752b42cbf355af974b3c2d1a342120519d
8 months ago
Richard Fuchs
5f3f0c5ccd
MT#63317 split out protocol updates
...
Change-Id: I996e85cff28d160cc40fd3c838060e01a67e5bbf
8 months ago
Richard Fuchs
c829ddc861
MT#63317 split out media type setting
...
Change-Id: I2581dd0a537073b11028679856b7ec3b592201ef
8 months ago
Richard Fuchs
573adfad30
MT#63317 split out siprec label setting
...
Change-Id: I9ce03bda9b83249321d5fd59cd85fa74dd99affa
8 months ago
Richard Fuchs
2ded91d56f
MT#63317 split out basic flags and echo setting
...
Change-Id: Ia4fc4922ad8dfe6b84ec319ccdc618dc096a3f72
8 months ago
Richard Fuchs
923d99d60d
MT#55283 change default learning mode to heuristic
...
Change-Id: Ib974e61f7a413d8e808bb1342733744e5bcdb721
8 months ago
Richard Fuchs
0548168a0a
MT#55283 use explicit started flag
...
Metadata might be empty, so we can't rely on that being set as a start
trigger. Use an explicit one.
Follow-up-to: I3bb58dff
Change-Id: I95f02a1179940cedc3f96ce70557658c43e79bdc
8 months ago
Richard Fuchs
d7d7a98071
MT#55283 lump in subscription log output
...
Avoids redundant loop iteration.
Also change log level to INFO to match all other log output.
Change-Id: I5587c59398656dc03fcb346edcbc48f350a4a392
8 months ago
Richard Fuchs
529a701f49
MT#55283 use an intrusive list for ports release
...
Save some allocations
Change-Id: Ie78e370168a038fccfa2ee33258f674792fc178c
8 months ago
Richard Fuchs
ec841478d9
MT#55283 final release of all sockets at shutdown
...
Empty out the late release queue when shutting down.
Change-Id: I2969f4866a6a8414ec2e8422e40112d10be4f0dd
8 months ago
Richard Fuchs
271b3b1520
MT#55283 store sfd in fsin in dtls_connection
...
This makes it possible for the BIO callback to access these values,
instead of obtaining possibly mismatched values from packet_stream.
Restores behaviour prior to 5331506
Closes #1996
Change-Id: I74ccb82f1739ca98eb033e68df4e27619ca7e46a
8 months ago
Richard Fuchs
b85e007ff1
MT#55283 add extra dtls_connection_cleanup
...
To release any references early
Change-Id: Ib4417301e4f02fbc7d9f4d77d78cb827bb481726
8 months ago
Richard Fuchs
8297449aa1
MT#55283 switch callback argument
...
We already use the `dtls_connection` object as "app data" so let's use
it for the BIO callback arg as well.
Change-Id: I715b6756ea36c7a3cb2bed68fce17108eb480e23
8 months ago
Richard Fuchs
afdeea876a
MT#55283 more specific callback arg name
...
Change-Id: I79adcb7f5c93dabe8db53b6203f64fc7f8cb7719
8 months ago
Richard Fuchs
0b64fb3213
MT#55283 fix Homer timestamp byte order
...
Regression from 8b50a41063
closes #1995
Change-Id: If68397af3863c30eb225f0f579cf45761c7a606e
8 months ago
Richard Fuchs
a7e9d52776
MT#55283 remove sp->desired_family
...
doesn't really belong there
Change-Id: Ia5a5be897404a5ebc34bc499d08c14323229cb14
8 months ago
Richard Fuchs
a04c77f58d
MT#63317 use direct int hashing
...
Change-Id: I81d991f24072b68e07cfa18bea9cd3c2ef59ebe5
8 months ago
Richard Fuchs
6b66fa8afc
MT#63317 modernise __rtp_payload_types
...
Change-Id: I653fded2b6228b9d2440cbb36fa6d77d972b5559
8 months ago
Richard Fuchs
48ce74f794
MT#55283 fix possible null dereference
...
closes ##1990
Change-Id: I57aaed9f5c73a1cf9833360f147c61248652784d
9 months ago
Richard Fuchs
7cf0b86240
MT#55283 move kernelize_state into scope
...
That gives us the benefit of not needing the manual cleanup.
Change-Id: Ia5681d0bcb60c887a4174adddd5076eb324105bf
9 months ago
Richard Fuchs
08239c9510
MT#55283 clarify _destroy_ptr
...
Change-Id: Ib453648d21e907bffd7120a9c9b50275f7bf0846
9 months ago
Richard Fuchs
f9ae163d23
MT#55283 add missing lock destruction
...
Change-Id: I93d8dbb71db0ab667b06df88991733e8af769f64
9 months ago
Richard Fuchs
cec0afa25e
MT#55283 clean up RTCP send locking
...
Fixes regression from Ib4285e7aae
RTCP multiplexing requires the RTCP sender to maybe lock the same output
stream, maybe lock some other one. Allow for both.
Change-Id: I6fcef32e656f8f0de46ad777f11a19c259ce35c7
9 months ago
Richard Fuchs
e03f814855
MT#55283 combine in/out_lock
...
With selected_sfd being protected by in_lock, we pretty much have to
hold at least in_lock everywhere, and end up requiring both locks in
many places. The distinction has become pointless.
Change-Id: Ic0ad976c2d68d9639b9434da7f0e6e9c0d84c185
9 months ago
Richard Fuchs
f2a9111fb6
MT#55283 distinguish transcoding PTs
...
PTs that were remembered from a previous handshake to save codec options
must be flagged as such so that they're not considered as having been
present in the current offer, so that they can be flagged as transcoding
PTs.
closes #1989
Change-Id: I19c2aff7e83ed338a81be99544645821165304cd
9 months ago
Richard Fuchs
675eb7bea6
MT#55283 fix int size issues
...
Change-Id: Ibd7bdea16ae57a4a86076a05b22bb3ca64be8ce1
9 months ago
Richard Fuchs
ffacde5748
MT#55283 trigger RTCP send from both send funcs
...
Reverses the side effect of I225b43dff
Restores consistency and fixes tests and very slow systems
Change-Id: Ib4285e7aae95cd58eccd1d3c4f84e5786b4b0810
9 months ago
Richard Fuchs
25ef320e17
MT#55283 update YCM conf
...
Change-Id: Iac6a1d5cfe4d78533183d94c82beb58abdb72f44
9 months ago
John Burke
afce798034
MT#55283 early exit heuristic endpoint learning if endpoint matches SDP
...
Closes #1987
Change-Id: I906a8b1538d75356ea1b0f43d9b0ff5b37dbda52
9 months ago
Richard Fuchs
4cfaf1a3cf
MT#63151 remove duplication of files during make
...
Change-Id: I67f45a52660b089748c4f6f76c564bbc97fa1899
9 months ago
Richard Fuchs
d276ba4e6b
MT#63151 move overridable headers
...
Change-Id: Ic71e360499165ad11093fbf852ba1c57a709a47e
9 months ago
Orgad Shaneh
80240f62ef
MT#55283 fix recording auto-start when paused on new offer
...
When a new offer is received while recording is in paused mode,
recording should remain paused until explicitly re-enabled.
The detect_setup_recording function was starting recording when
record_call flags were set, ignoring the current pause state.
🤖 Generated with [Claude Code](https://claude.ai/code )
Closes #1983
Change-Id: I49daf03532b74ec942550b184a7e7d2828e70f81
Co-Authored-By: Claude <noreply@anthropic.com>
9 months ago
Orgad Shaneh
2d5565738f
MT#55283 add timestamp markers to recording metadata for pause/resume events
...
Write human-readable timestamp markers to the metadata file whenever
recording is paused or resumed via control protocol commands.
Include ISO-format timestamps with millisecond precision that aid in
tracking changes in recording state.
Example metadata output:
Recording paused at: 2025-07-29T15:30:45 (1234567.890 ms)
Recording resumed at: 2025-07-29T15:31:20 (1234598.123 ms)
🤖 Generated with [Claude Code](https://claude.ai/code )
Closes #1982
Change-Id: Id92c14900a29f53ba0ee00b3d0f53132bb11cff7
Co-Authored-By: Claude <noreply@anthropic.com>
9 months ago
Orgad Shaneh
fa7b4667d0
MT#55283 respect pause recording command
...
The command was accepted, but recording continued as usual.
Closes #1981
Change-Id: I994a9ebf75bc2d0d0ce5c601c29843c4bc0e9d0d
9 months ago
wangduanduan
ec6d07d7c5
MT#55283 dtls: add handshake type log
...
closes #1980
Change-Id: I4336ab567eaad77f6db9f9e32969808880d16494
9 months ago
Richard Fuchs
a9d48c0b48
MT#55283 update codec getter for jitter buffer
...
closes #1978
Change-Id: Id7e7e0aba9020f212b275cef028526bf0403246a
9 months ago
Richard Fuchs
ab48284de5
MT#55283 allow null logical_intf
...
closes #1977
Change-Id: Ib8bd32d24cc4c72a8fe7c6133bbfddc76666e6df
9 months ago
Richard Fuchs
b6bd9804a0
MT#55283 upgrade xmlrpc_callback to string
...
Simply take the xmlrpc-callback address as string and don't try to parse
it out. Store it in the call object as string as well.
Obsolete `created_from_addr`. The string form `created_from` is all we
need.
Change `created_from` to `str` as well.
Change-Id: Ib67b57b1d2d474d7b033f56ef8be59f71e44641b
9 months ago
Richard Fuchs
052f16da56
MT#55283 allow allocation of out-of-pool ports
...
Different instances of rtpengine may be configured with different port
ranges. If HA requests usage of a port not part of our pool, allow it.
Change-Id: Ib4ace6c4facac35ea44948720fa46bcbdaf441d3
9 months ago
Richard Fuchs
6a72ce30db
MT#55283 move Redis macros
...
These are private to redis.c
Change-Id: I19da8eec6cb5625375906d1eae047b43850dd591
9 months ago
Richard Fuchs
116fc223d3
MT#55283 move subscribe-keyspace option
...
Put it together with the other Redis options for consistency.
Change-Id: Ic83da4f14717a302be94f23e45fa0a4bab9b986d
9 months ago
Richard Fuchs
98a78a335e
MT#55283 update condition to test for socket
...
Change-Id: I0075eea1bbcb43dda86a38d5e328a5b2ec503653
9 months ago
Richard Fuchs
589bf0b22d
MT#55283 split up reserve_port
...
Use different function to get a port from a pool and return it, and
reserve a port in a pool permanently during startup.
Change-Id: I030dc2ebbe30c9b47252669717f235177f15219d
9 months ago
Richard Fuchs
215500bf4a
MT#55283 add port_is_in_range helper
...
Change-Id: I65ff5f7efdb67ce4db447d3c4cfdc4ccd3613143
9 months ago
Richard Fuchs
3118b1e258
MT#55283 update function to bool
...
Change-Id: I290fc3b803db4ac0b5d95ef9609c158dff303af5
9 months ago
Richard Fuchs
8f13d83d2b
MT#55283 fix num_ports not being set
...
Change-Id: I98b11a011063ae334118d977adc7b06fb9bff9c3
9 months ago
Richard Fuchs
ffc539c0d8
MT#55283 locking updates
...
Protect selected_sfd with in_lock.
Protect RTCP sending with in_lock and out_lock as appropriate.
Has the odd side effect of RTCP reports expected in tests to be sent one
packet later than before.
Closes #1966
Probably fixes #1927
Change-Id: I225b43dff8e8fbb938d3be6aad50249997615d77
9 months ago
Richard Fuchs
1b077c300a
MT#55283 use auto lock in a few more places
...
Change-Id: Ibf34fa6e8cdcbf122e548475ba086101a6757a66
10 months ago
wangduanduan
16ccd39a2e
MT#55283 log: dtls log add src ip
...
closes #1975
Change-Id: Iff8ee0231be3d411249448582806cb8cf0e1ac86
10 months ago
Richard Fuchs
daa769fea5
MT#55283 distinguish player cache ptimes
...
Add the ptime into the hash function so that cached player using
different ptimes use distinct entries.
Closes #1963
Change-Id: Ib118cd2ce14525d524a2d63c0506af8ae8ae929f
10 months ago
Richard Fuchs
3ca99417f1
MT#55283 add ptime to logging in a few places
...
Change-Id: I38180c44d4afb690d7dadb3710516b16b983f600
10 months ago
Richard Fuchs
fa8123e1c2
MT#55283 explicitly return PTS/duration
...
... from packetizer function instead of putting it into the AVPacket.
Remove AVPacket from callback function arguments.
Fix up PTS/duration adjustments where they were missing.
Closes #1963
Change-Id: Ib36b36bb6648b0579dd83155c7217317dda29cc3
10 months ago
Richard Fuchs
7b7580dcbf
MT#55283 fix typo
...
Change-Id: I08ec1c2958662c7d78c659e59c6e777119e09d5a
10 months ago
Richard Fuchs
fe39a7927b
MT#55283 fix clashing PT numbers
...
closes #1960
Change-Id: Ia69cbb69a826141b85a65cd7487a655e047e88d2
10 months ago
Donat Zenichev
856ab5815c
MT#61856 parse_attribute_crypto: initialize `err` at least to something
...
Fixes:
../lib/loglib.h:54:17: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
54 | __ilog(prio, "[%s] " fmt, log_level_names[system], ##__VA_ARGS__); \
| ^~~~~~
sdp.c:613:21: note: ‘err’ was declared here
613 | const char *err;
| ^~~
sdp.c:734:9: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized]
734 | ilog(LOG_ERROR, "Failed to parse a=crypto attribute, ignoring: %s", err);
| ^
sdp.c:613:21: note: ‘err’ was declared here
613 | const char *err;
| ^
Change-Id: I18c3c1d6f2d6d5643a61ef864116e1f3d5e1db95
10 months ago
Richard Fuchs
c56899f6da
MT#55283 use intptr_t for pointer arith
...
Change-Id: Ie0f21a992a5a2de4b274e83f07cae30d0f68b276
10 months ago
Richard Fuchs
3ce25d062c
MT#55283 version-guard lws buf size
...
Change-Id: Ib056bc7eb644eda07a26f0a5e91beb3a670e1719
10 months ago
Donat Zenichev
836423e33c
MT#61856 main: first static, then const
...
Fixes:
main.c: In function ‘options’:
main.c:1055:9: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
1055 | const static size_t max_buf_size =
| ^~~~~
Change-Id: I500785e712d94ff0969317edf3d7a256dc4e3182
10 months ago
Donat Zenichev
f2c89227e5
MT#63082 rtcp parsing: improvements
...
Add `EXTRACT_NETWORK_ADDRESS_ATTR`
for proper error alias handling,
otherwise just quits with no attr type change.
Change-Id: Iacea9350503b68962a3c233df9126102b67d3b8b
10 months ago
Donat Zenichev
538d06aa3b
MT#63082 parse crypto and rtcp: on error handling return -1
...
As macroses do, return -1 and not 0 as in normal case.
Change-Id: I25d43142ef1c1c60da56450f07fb0dd6548db693
10 months ago
Donat Zenichev
fd763f2804
MT#63082 crypto: ignore dummy suites
...
If dummy definition with no tag, algo etc.
just ignore it, otherwise not excluded
and is dangling in outgoing SDP.
Also add according test.
Change-Id: Ib7c981ee66b1ce8cb363a9cc181231c68baa69cd
10 months ago