Richard Fuchs
cc48a89c41
MT#63317 set correct output media w bundle
...
Change-Id: I8e4e2514a6f779d9fcedfe1593b228d336cf5c2a
9 months ago
Richard Fuchs
ffd362cbf4
MT#63317 allow alternative endpoints
...
for strict-source + bundle
Change-Id: Ic13a9a7fe45b671eff12473c70233c2d05ace371
9 months ago
Richard Fuchs
bc185e6f0f
MT#63317 rework endpoint matching a bit
...
Change-Id: If0c58f72822a45e5fb89a248a01b9a401592ec30
9 months ago
Richard Fuchs
3b0496979a
MT#63317 extmap parsing in kernel
...
Change-Id: I2d4b0f0ba08d0dd793bd4e9716731dfe96ee155a
9 months ago
Richard Fuchs
607866ed13
MT#63317 send bundle media to kernel
...
Change-Id: I80779dc0eec5004e9ac8ceb4ca2d8c0206513fff
9 months ago
Richard Fuchs
c2aa97466f
MT#63317 separate out stream/media/sink setting
...
Change-Id: I19abcefb385eca5de21e5fe8e9ada0e868fc0ed3
9 months ago
Richard Fuchs
7ce5b7660e
MT#63317 typedef for kernelize_state
...
Change-Id: I1b712ccc049b13bc6e1aef41ef2cd13dafddc99d
9 months ago
Richard Fuchs
8cf038e4fa
MT#63317 rework kernel output grouping
...
Change-Id: I3e798e5f1e5ae2f4af247819e3d323cdbf56b36b
9 months ago
Richard Fuchs
07a046a257
MT#63317 push MID ext to kernel
...
Change-Id: I646174e14e51078458324cc5fe8a614aee7a2893
9 months ago
Richard Fuchs
7f9ed63ed7
MT#63317 support MID RTCP printing
...
Change-Id: I7aaeddc493d52122ef5f2286ec75f5f6d3016ed0
9 months ago
Richard Fuchs
5a287014c0
MT#63317 rework RTCP printing code
...
Change-Id: Iae0fa0f509857183dfb0bcc091a1af2648d6879c
9 months ago
Richard Fuchs
4ea2867d55
MT#63317 support generating MID RTP extension
...
Change-Id: I98c7dd0893562153a0230f976090ea0e31887d38
9 months ago
Richard Fuchs
78f9c0147a
MT#63317 generalise functions
...
Change-Id: I4ed802c755b6faab0fcba311b7b1fe617e2dd669
9 months ago
Richard Fuchs
667056b445
MT#63317 skip PT check when MID is in use
...
Change-Id: Ic9eaaada645a0ecdcd8a9d09bfc86c16b2e5ecb9
9 months ago
Richard Fuchs
12f69abbc3
MT#63317 share ports/sockets among bundle groups
...
Change-Id: I951f3690e7b795fdc08f0e37a1efb48a1a2630ca
9 months ago
Richard Fuchs
15dc584e2a
MT#63317 check if streams are matching
...
Change-Id: Ief5c10c202447238120eb106a832d768111e3b9c
9 months ago
Richard Fuchs
0cf57f220f
MT#63317 check if bundle head is bundled
...
Change-Id: Iaa618c08c351eb9fd642dc877327ff357598879f
9 months ago
Richard Fuchs
455caf2328
MT#63317 check if bundled PTs are unique
...
Change-Id: I3f1c63e2079a73ce8f1d3aa79e3650b2c68ed570
9 months ago
Richard Fuchs
e4478fcdbb
MT#63317 print bundle groups for bundled media
...
Change-Id: I3dce645f308bf0fe5f63b13fbb56f33ab0ff0ae2
9 months ago
Richard Fuchs
77776f185c
MT#63317 support bundle-accept
...
Change-Id: Ie436bd0e709a87379a647439bc09c167619620aa
9 months ago
Richard Fuchs
be148a4183
MT#63317 ignore bundle groups under force-relay
...
Change-Id: I3531d7c2b48f043fae1c3ae1685b80d7e30068ce
9 months ago
Richard Fuchs
871c4c0579
MT#63317 support BUNDLE flags
...
Change-Id: Iddc7f5b8394cdd2c2543775163f8867a1d88b14a
9 months ago
Richard Fuchs
3ef034a675
MT#63317 track extensions by known ID
...
Change-Id: I17f20bc8be60d779d1a3d18616bb518062f74e6b
9 months ago
Richard Fuchs
774834d0c7
MT#63317 set media from RTP ext
...
Change-Id: Id71e219a57decd409f4e8a7620c9809c9b577ae7
9 months ago
Richard Fuchs
e4f1717c7e
MT#63317 set media/stream from PT
...
Change-Id: Idf200efbe940cb1d4d6fc109820af37f08e49675
9 months ago
Richard Fuchs
bc779d0913
MT#63317 PT tracking
...
Change-Id: Ic354f62cef4cb37e3d65648a2f953cf9995e60b2
9 months ago
Richard Fuchs
2be254b0f8
MT#55283 set mux-offer when require is set
...
Change-Id: I18cbb52670c025db3384c4b4d39a136e9c7f3690
9 months ago
Richard Fuchs
1f91ce4c37
MT#63317 support bundle groups
...
Change-Id: Iff961283f77986c6df7147149e058286fbc91ca6
9 months ago
Richard Fuchs
16780ac17d
MT#63317 support multiple a=group attrs
...
Change-Id: Icb2c00e1ca46fafbc8862fe6b9cf2aae4a62fbfa
9 months ago
Richard Fuchs
99005e01a8
MT#63317 use length for empty test
...
Change-Id: I7d47a545f3b8abb2025ac8cf88c2b564c171b23a
9 months ago
Richard Fuchs
60a3637b20
MT#63317 type safety for free functions
...
Change-Id: I31cf09d7bd8d00626f95dc84a3cd9e0c48026d49
9 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
9 months ago
Richard Fuchs
8b66f0a5e4
MT#63317 avoid duplicate extmap
...
Change-Id: If3237a5fc07e6257b58722336563d8ca95cd984c
9 months ago
Richard Fuchs
09ed1d3c20
MT#55283 store RTCP payload in phc
...
Fixes regression from c525cb9e0
Change-Id: I58ebeab42e833ca01dce028ab227a1ca10d43353
9 months ago
Richard Fuchs
e82c5da918
MT#55283 fix redis metadata typo
...
closes #2002
Change-Id: I8e656c3cef0169984e23a00522ce58edc457421a
9 months ago
Richard Fuchs
64efc53c52
MT#55283 update redis data after rec/fwd commands
...
closes #2002
Change-Id: I122d3c707d463109c9950d253b69b061fedc71dd
9 months ago
Richard Fuchs
176a834500
MT#55283 carry over PT flags with reuse
...
Change-Id: I19a4ae523f372be825c0814c29b005fd961cbc76
9 months ago
Richard Fuchs
de6e8e3763
MT#55283 use embedded array
...
Change-Id: I85330fb38b041d83a93e3c329cc3fc592290fdf3
9 months ago
Richard Fuchs
61103a2ac5
MT#63317 remove unused struct member
...
Change-Id: I2e0fa7ad49e8e0280bc2c7b1b305fcc7d6c8c5e8
9 months ago
Richard Fuchs
29886ae555
MT#55283 fix old gcc error p2
...
Change-Id: I8b4c82c4fd0b03b8339c8f0d014d9d2f095b2bf8
9 months ago
Richard Fuchs
e021d77884
MT#55283 fix old gcc error
...
Change-Id: Ida0763d5c746f8b39a45880fe0a819c6781ed617
9 months ago
Richard Fuchs
1b05cb043e
MT#63317 support ext filter in kernel
...
Change-Id: Ic98dde266c7707dd3350d651032d989511ee3bee
9 months ago
Richard Fuchs
ab8c7a82cb
MT#63317 support sending mixed rtpext
...
Change-Id: Ic504cfd9dea09eeccfc07e524aad14f87ca72692
9 months ago
Richard Fuchs
a87889b35a
MT#63317 initial support for allow-mixed
...
Adapt affected tests
Change-Id: I2a5dc1249a9a7dbab20b6022e20572a36d9520a9
9 months ago
Richard Fuchs
af4ca41edb
MT#63317 support filtering of extensions
...
Change-Id: Iac4fa87b89dc7d011115d149f8cfd4c74cd1ca7a
9 months ago
Richard Fuchs
f934f7737d
MT#63317 support long form extension printing
...
Change-Id: Ib1f1d51dcf6ac0c74fdeb92311bd04d72bf7e7c2
9 months ago
Richard Fuchs
9ef7c87e6f
MT#63317 print exts for forwarded packets
...
Change-Id: I8c133696219db536ee5c9fedd62a79bf6d658ce9
9 months ago
Richard Fuchs
e046eecb96
MT#63317 print extensions from list
...
Change-Id: Iec3824adb461264ea67f937258ba592f2fd82209
9 months ago
Richard Fuchs
5c03188d5b
MT#63317 abstract extmap printing
...
Change-Id: Ia1d8622a1c5ccf358ee573fb8747f3129dc790e8
9 months ago
Richard Fuchs
57bc6b1e95
MT#63317 abstract packet copy
...
Change-Id: I0ea082a4fad138c25cd710dd82020d4f4d192485
9 months ago
Richard Fuchs
8828b176c8
MT#63317 introduce extmap_ops abstraction
...
Change-Id: Icffa6f618270d2e7c10695bf1bade00ad8a49894
9 months ago
Richard Fuchs
7e2bb7ffeb
MT#63317 set DTMF payload string
...
Change-Id: I560b97c1f9fccdf407819912cbd988bf751a9ac7
9 months ago
Richard Fuchs
4fbef39425
MT#63317 add rtpext printing abstraction
...
Change-Id: I50b4bc3feef4445ccd87f4296504ec196bb8083a
9 months ago
Richard Fuchs
d2cfc5ec98
MT#63317 move down sink setting
...
Change-Id: I6e61153b3ec7103d18761d9a1278d7697aedf9bf
9 months ago
Richard Fuchs
c216b51260
MT#63317 parse out extensions
...
Change-Id: I33965782836782790e6b0872b97818717f2b9949
9 months ago
Richard Fuchs
1925ab925f
MT#55283 use obj_release
...
Change-Id: I06434bb580d30025ab793f9eb0e8622577103f16
9 months ago
Richard Fuchs
dba2386c60
MT#63317 support extmap-mask
...
Change-Id: Ib8ca6d4ada4a0bc1e67f5c02522eb9fe7f6ba2ce
9 months ago
Richard Fuchs
d3d1a55830
MT#63317 support extensions in codec_output_rtp
...
Change-Id: Ibefde005041bc6d715d42d089e6277ee2804917c
9 months ago
Richard Fuchs
b98e14631d
MT#63317 update marker flags to bool
...
Use a struct to pass marker flags to functions
Change-Id: I05b0fe0f9f37e9ff3675f59c7cb98abda3cfe300
9 months ago
Richard Fuchs
b2721c5abc
MT#63317 update payload lengths to size_t
...
Change-Id: Ib00570198103f93416c1b639777e30755a93646c
9 months ago
Richard Fuchs
42f7e40545
MT#63317 support extmap-strip for SDP
...
Change-Id: Iaa38fa3c24d69abbfdb8f0e457d406ccf0c6d5bd
9 months ago
Richard Fuchs
3de7902087
MT#63317 add sink_handler to media_player
...
Change-Id: I78bb3d486db6df24a556b68686ecd96c6b13a3ee
9 months ago
Richard Fuchs
82f5158775
MT#63317 add sink_handler_set_generic
...
Change-Id: Ibef8d6a6b3c868c2b4f844c3bf1e095be23cae30
9 months ago
Richard Fuchs
00e8c083b7
MT#63317 add handler lookup to test-transcode
...
Change-Id: Ic385e4f8f5b5ae291eca080151ed0b95f9e7f5e5
9 months ago
Richard Fuchs
acb0e47a1a
MT#63317 rename determine_sink_handler
...
and annotate some functions
Change-Id: I26cfe17f9bb93c1cc87b8365b3eed10fc03956f4
9 months ago
Richard Fuchs
f349cc7ee7
MT#63317 use monologue-local extmap storage
...
Change-Id: I8a341718f3944b276cd2838aaf37d26bb5ca1e0c
9 months ago
Richard Fuchs
d5c1fa418e
MT#63317 keep rtpext names in table
...
Change-Id: I9a2904ff22dc6235c2bfa8f4af5bd72f49ba37fe
9 months ago
Richard Fuchs
64d3c7646c
MT#63317 parse out RTP header extensions
...
Stub function for now.
Change-Id: I7ad2a203f42fb118e50273a57772cac4fbd1738f
9 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
9 months ago
Richard Fuchs
2f52fb2511
MT#63317 return RTP extensions from rtp_payload
...
Change-Id: If7451e3d32ba39cab40f6f09488cd75ccbefa1cc
9 months ago
Richard Fuchs
35bcdd5570
MT#63317 keep extmap in tables
...
Change-Id: I540c7d325488c3015b72901ab0d9f25c3e913ea1
9 months ago
Richard Fuchs
fc9cb21d8a
MT#63317 store extmap entries in media object
...
Change-Id: Ia673ae3049f5c6ce8dd8516b5becc0a9322559d8
9 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
9 months ago
Richard Fuchs
eddff91357
MT#63317 annotate rtcp_payload
...
Change-Id: I2a08441c0c7e262d3d7a43e8fabc0a5766de7c7f
9 months ago
Richard Fuchs
3540a8334f
MT#63317 annotate rtp_payload
...
Change-Id: Ib8ba5e2002c75ec711c2f8e04b4e98b9a5fc8e0a
9 months ago
Richard Fuchs
6a893b1a83
MT#63317 update return type to bool
...
Change-Id: I95de33bcd2eecfcd0bb3229c7897c048f8ad1404
9 months ago
Richard Fuchs
878d7d8c76
MT#63317 update return types to bool
...
Change-Id: I485ad91b8a9d76c9353384240d5699a42fec8e77
9 months ago
Richard Fuchs
65e591bf99
MT#63317 revamp SDP printing
...
Change-Id: I0079cc8ec59a604048a11167cd576e49fc144a6a
9 months ago
Richard Fuchs
fa54abf0b8
MT#63317 split out ptime setting
...
Change-Id: Id9a7e0a794ae74110c0c2169c23af98d66fbfade
9 months ago
Richard Fuchs
6c51c437be
MT#63317 move setting of recrypt
...
Change-Id: Icb23f04e63b73c87a4bf607b26e20e2f2725a30f
9 months ago
Richard Fuchs
64c6e51bc1
MT#63317 split out update of rec slot
...
Change-Id: Id70ed0920957368d5a94ceec36ab36415748ce00
9 months ago
Richard Fuchs
6930991c59
MT#63317 split out update of address family
...
Change-Id: Id737b766e68e9f2bcc83a4a4db84f48e1d41d689
9 months ago
Richard Fuchs
e6df0829ea
MT#63317 split out update of format string
...
Change-Id: I294ae8b2652fa31242db68f85e611106a3c04370
9 months ago
Richard Fuchs
8ba6930de0
MT#63317 split out assignment of attributes
...
Change-Id: Id13d7c6a8256d960890101ca82a0856da98daed6
9 months ago
Richard Fuchs
3f964a3f7c
MT#63317 split out flags and crypto setting
...
Change-Id: I62a5aed29f01ab548dbe1db4b6f9ba4dfbcfd8e8
9 months ago
Richard Fuchs
4a1fca4e22
MT#63317 split out loop protect setting
...
Change-Id: Ifc3bbe18094f1357be6218f4b90a09c0a2324aba
9 months ago
Richard Fuchs
25cf086173
MT#63317 split out setting of media ID
...
Change-Id: I73a854752b42cbf355af974b3c2d1a342120519d
9 months ago
Richard Fuchs
5f3f0c5ccd
MT#63317 split out protocol updates
...
Change-Id: I996e85cff28d160cc40fd3c838060e01a67e5bbf
9 months ago
Richard Fuchs
c829ddc861
MT#63317 split out media type setting
...
Change-Id: I2581dd0a537073b11028679856b7ec3b592201ef
9 months ago
Richard Fuchs
573adfad30
MT#63317 split out siprec label setting
...
Change-Id: I9ce03bda9b83249321d5fd59cd85fa74dd99affa
9 months ago
Richard Fuchs
2ded91d56f
MT#63317 split out basic flags and echo setting
...
Change-Id: Ia4fc4922ad8dfe6b84ec319ccdc618dc096a3f72
9 months ago
Richard Fuchs
923d99d60d
MT#55283 change default learning mode to heuristic
...
Change-Id: Ib974e61f7a413d8e808bb1342733744e5bcdb721
9 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
9 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
10 months ago
Richard Fuchs
529a701f49
MT#55283 use an intrusive list for ports release
...
Save some allocations
Change-Id: Ie78e370168a038fccfa2ee33258f674792fc178c
10 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
10 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
10 months ago
Richard Fuchs
b85e007ff1
MT#55283 add extra dtls_connection_cleanup
...
To release any references early
Change-Id: Ib4417301e4f02fbc7d9f4d77d78cb827bb481726
10 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
10 months ago
Richard Fuchs
afdeea876a
MT#55283 more specific callback arg name
...
Change-Id: I79adcb7f5c93dabe8db53b6203f64fc7f8cb7719
10 months ago
Richard Fuchs
0b64fb3213
MT#55283 fix Homer timestamp byte order
...
Regression from 8b50a41063
closes #1995
Change-Id: If68397af3863c30eb225f0f579cf45761c7a606e
10 months ago
Richard Fuchs
a7e9d52776
MT#55283 remove sp->desired_family
...
doesn't really belong there
Change-Id: Ia5a5be897404a5ebc34bc499d08c14323229cb14
10 months ago
Richard Fuchs
a04c77f58d
MT#63317 use direct int hashing
...
Change-Id: I81d991f24072b68e07cfa18bea9cd3c2ef59ebe5
10 months ago
Richard Fuchs
6b66fa8afc
MT#63317 modernise __rtp_payload_types
...
Change-Id: I653fded2b6228b9d2440cbb36fa6d77d972b5559
10 months ago
Richard Fuchs
48ce74f794
MT#55283 fix possible null dereference
...
closes ##1990
Change-Id: I57aaed9f5c73a1cf9833360f147c61248652784d
10 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
10 months ago
Richard Fuchs
08239c9510
MT#55283 clarify _destroy_ptr
...
Change-Id: Ib453648d21e907bffd7120a9c9b50275f7bf0846
10 months ago
Richard Fuchs
f9ae163d23
MT#55283 add missing lock destruction
...
Change-Id: I93d8dbb71db0ab667b06df88991733e8af769f64
10 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
10 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
10 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
10 months ago
Richard Fuchs
675eb7bea6
MT#55283 fix int size issues
...
Change-Id: Ibd7bdea16ae57a4a86076a05b22bb3ca64be8ce1
10 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
10 months ago
Richard Fuchs
25ef320e17
MT#55283 update YCM conf
...
Change-Id: Iac6a1d5cfe4d78533183d94c82beb58abdb72f44
10 months ago
John Burke
afce798034
MT#55283 early exit heuristic endpoint learning if endpoint matches SDP
...
Closes #1987
Change-Id: I906a8b1538d75356ea1b0f43d9b0ff5b37dbda52
10 months ago
Richard Fuchs
4cfaf1a3cf
MT#63151 remove duplication of files during make
...
Change-Id: I67f45a52660b089748c4f6f76c564bbc97fa1899
10 months ago
Richard Fuchs
d276ba4e6b
MT#63151 move overridable headers
...
Change-Id: Ic71e360499165ad11093fbf852ba1c57a709a47e
10 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>
11 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>
11 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
11 months ago
wangduanduan
ec6d07d7c5
MT#55283 dtls: add handshake type log
...
closes #1980
Change-Id: I4336ab567eaad77f6db9f9e32969808880d16494
11 months ago
Richard Fuchs
a9d48c0b48
MT#55283 update codec getter for jitter buffer
...
closes #1978
Change-Id: Id7e7e0aba9020f212b275cef028526bf0403246a
11 months ago
Richard Fuchs
ab48284de5
MT#55283 allow null logical_intf
...
closes #1977
Change-Id: Ib8bd32d24cc4c72a8fe7c6133bbfddc76666e6df
11 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
11 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
11 months ago
Richard Fuchs
6a72ce30db
MT#55283 move Redis macros
...
These are private to redis.c
Change-Id: I19da8eec6cb5625375906d1eae047b43850dd591
11 months ago
Richard Fuchs
116fc223d3
MT#55283 move subscribe-keyspace option
...
Put it together with the other Redis options for consistency.
Change-Id: Ic83da4f14717a302be94f23e45fa0a4bab9b986d
11 months ago
Richard Fuchs
98a78a335e
MT#55283 update condition to test for socket
...
Change-Id: I0075eea1bbcb43dda86a38d5e328a5b2ec503653
11 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
11 months ago
Richard Fuchs
215500bf4a
MT#55283 add port_is_in_range helper
...
Change-Id: I65ff5f7efdb67ce4db447d3c4cfdc4ccd3613143
11 months ago
Richard Fuchs
3118b1e258
MT#55283 update function to bool
...
Change-Id: I290fc3b803db4ac0b5d95ef9609c158dff303af5
11 months ago
Richard Fuchs
8f13d83d2b
MT#55283 fix num_ports not being set
...
Change-Id: I98b11a011063ae334118d977adc7b06fb9bff9c3
11 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
11 months ago
Richard Fuchs
1b077c300a
MT#55283 use auto lock in a few more places
...
Change-Id: Ibf34fa6e8cdcbf122e548475ba086101a6757a66
11 months ago
wangduanduan
16ccd39a2e
MT#55283 log: dtls log add src ip
...
closes #1975
Change-Id: Iff8ee0231be3d411249448582806cb8cf0e1ac86
11 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
11 months ago
Richard Fuchs
3ca99417f1
MT#55283 add ptime to logging in a few places
...
Change-Id: I38180c44d4afb690d7dadb3710516b16b983f600
11 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
11 months ago
Richard Fuchs
7b7580dcbf
MT#55283 fix typo
...
Change-Id: I08ec1c2958662c7d78c659e59c6e777119e09d5a
11 months ago
Richard Fuchs
fe39a7927b
MT#55283 fix clashing PT numbers
...
closes #1960
Change-Id: Ia69cbb69a826141b85a65cd7487a655e047e88d2
11 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
11 months ago
Richard Fuchs
c56899f6da
MT#55283 use intptr_t for pointer arith
...
Change-Id: Ie0f21a992a5a2de4b274e83f07cae30d0f68b276
11 months ago
Richard Fuchs
3ce25d062c
MT#55283 version-guard lws buf size
...
Change-Id: Ib056bc7eb644eda07a26f0a5e91beb3a670e1719
11 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
11 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
11 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
11 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
11 months ago
Richard Fuchs
f5277e5c30
MT#55283 add http-buf-size option
...
closes #1950
Change-Id: I12047e7e6af8e0d927744a0dc70c5b4668420878
11 months ago
wangduanduan
eba58fd286
MT#55283 log: add log recevied stun request
...
closes #1964
Change-Id: Ia3b348b1e2197c79542764f26c69c0d35ed317d7
11 months ago
Richard Fuchs
02897ccb46
MT#55283 fix sdes_accept logic booboo
...
Using `l->next` as a test for whether only one element is left in the
list is not reliable. Use the actual list length instead.
Update one affected test.
Closes #1961
Change-Id: I5773715700220cd762e61090bac941ddd33afd9b
12 months ago