Donat Zenichev
bbb1f9e6d3
MT#61856 media_player: add cached file func, name ownership issue
...
The `name` is caller-owned, while the cache itself
also keeps a separate key object
in the `media_player_media_files_names`.
This can desynchronize the hash key and the list key.
Hence prefer using the owned key instead.
Change-Id: I9b85c306cc4e2c32675bada3dec0d049ff5645fe
(cherry picked from commit 7a4feef1ff )
4 weeks ago
Richard Fuchs
abe442a0c2
MT#55283 ignore ICE=force for answer SDPs
...
It doesn't make sense to produce an answer SDP with ICE attributes (and
enabling ICE processing) if the offer didn't indicate ICE support.
Closes #2106
Change-Id: I7cc6083beffc3f76f34c965049e8179866df2e6f
(cherry picked from commit eb108705b2 )
1 month ago
Richard Fuchs
7700315a92
MT#55283 add missing lock in JB
...
Closes #2112
Change-Id: Idf691586a74d5ec6c4726cc9b36a2f90e4e61a6b
(cherry picked from commit 7f46579034 )
1 month ago
Donat Zenichev
d6130bae03
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
4bdb4607ad
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
53ddd52b0a
MT#55283 prevent possible NULL dereference
...
Change-Id: Iaae7299fa297501f13ad634b777d9d635eaaae51
(cherry picked from commit d4e11d655b )
1 month ago
Richard Fuchs
59d95c9d55
MT#55283 fix random seq under DTX
...
Skip initialisation of seq_out to a random number and track its init
state with a dedicated flag. Initialise it to the first received seq.
Change-Id: Iecdd3d28c5d6fe36d0a7488dd231767ff788942e
(cherry picked from commit 154f2b8927 )
2 months ago
Richard Fuchs
147b6200fa
MT#55283 fix rebase fail
...
Change-Id: I89baa84ea7c0fc990a1131aa88aa532dbd2d467a
(cherry picked from commit cad798ce75 )
2 months ago
Richard Fuchs
f274e9e505
MT#55283 remove stray log message
...
Change-Id: Iaf67d350b44bf48de096129e797c8d07b027b4a5
(cherry picked from commit 175f1dfe34 )
2 months ago
Richard Fuchs
41ea37fa0b
MT#55283 extend search for compatible codec
...
Change-Id: Ib1b9e08e65ff26c544d7deff99ab3c7d57cb4673
(cherry picked from commit 38d0f1504a )
2 months ago
Richard Fuchs
33cd33076e
MT#55283 prevent SSRC deadlock
...
Closes #2095
Change-Id: I693924eba5c7896f1efa9123cce606db97b0086c
(cherry picked from commit fba001c3b0 )
2 months ago
Richard Fuchs
906531c85f
MT#55283 fill RTCP endpoint even if same
...
Closes #2096
Change-Id: Icee7dca1cbe1e2392ddc2b0b57ee56dd0657153d
(cherry picked from commit 99e4904600 )
2 months ago
Richard Fuchs
7d95417236
MT#55283 fix possible UAF
...
Closes #2059
Change-Id: I364e14ae2b944ebd2839490c61279a14501e02e2
(cherry picked from commit 47ecbdba68 )
3 months ago
Richard Fuchs
19e2aa2ea4
MT#55283 extended "connect" matching
...
Change-Id: If751f1373fecf50e868ca76813ddd3d9e6423f82
3 months ago
Richard Fuchs
0efd1b169b
MT#55283 rename media_match
...
Change-Id: I7cd86089b15a8f6f78f2b5516643c838e0ee1537
3 months ago
Richard Fuchs
9491a81ec6
MT#55283 simplify call2_get
...
Change-Id: I92407ea9ed9ab794e22e00cfa43a61599d768f48
3 months ago
Richard Fuchs
a5d067f4cc
MT#55283 use medias_q instead of subscriptions
...
Change-Id: I7bb2bbc79b2da7fa7e7d9d4158de20e3afb9aa11
3 months ago
Richard Fuchs
3fb608bffb
MT#55283 fuller init of subs on connect
...
Change-Id: I2f1c2fc9f9e3174883e6047d12de376177b7ec83
3 months ago
Richard Fuchs
fd992d5324
MT#55283 support bidirectional unsubscribe
...
Change-Id: Icf367a2ce80b9d5d5d6017d4f53a49cf09ae70f5
3 months ago
Richard Fuchs
b170b2a825
MT#55283 add audio-player alternative spelling
...
Change-Id: Ibbc1013afac3ee4cdc64221f98e6ef4e2ceb060f
3 months ago
Richard Fuchs
ef817fccef
MT#55283 support individual unsubscribe action
...
Change-Id: Id4ea984ce8109b6a962edb52d0e81532bbfbd701
3 months ago
Richard Fuchs
61c4cf8052
MT#55283 add new connect options
...
Change-Id: Ic175e5d7cd6138e6e659b982265701aebf65235e
3 months ago
Richard Fuchs
320b293dd5
MT#55283 add "create" method
...
Change-Id: I626996028a6c5a9ee296efdeba8f301411b74ec7
3 months ago
Richard Fuchs
b121f38d97
MT#55283 refactor c_s_transcode
...
Change-Id: Ic12ec003b3bbe0ccd975ddb80cc5fea29ad68dd1
3 months ago
Richard Fuchs
dd3b4eae7f
MT#55283 handle possible null
...
Change-Id: Id643455c7440a954ce70c138f58eca244fc40849
3 months ago
Richard Fuchs
b83f520cff
MT#55283 add alternative spellings
...
Change-Id: I665dd59370019d8597f7d552d4d9d5bdf00753b6
3 months ago
Richard Fuchs
07c061380c
MT#55283 refactor c_s_synth
...
Change-Id: I971b7225eaef13df0880885462aa48d8ad82cedf
3 months ago
Richard Fuchs
14dde79ec6
MT#55283 better tolerate flags parsing
...
Change-Id: I75164ebc7de77b81182c22c2ada6a40e356a089b
3 months ago
Richard Fuchs
c17a48d5e8
MT#55283 annotate functions & const qualify
...
Change-Id: I7b6a47c01765a8021bd811e311c9901f075d67c6
3 months ago
Richard Fuchs
e59ee48a06
MT#55283 update unsubscribed subs as well
...
Change-Id: I9d4e0c06186d97a8bf34ca8103ac2b628109d796
3 months ago
Richard Fuchs
f6a5087f63
MT#55283 fuller sub update
...
Update all linked subscribers, not just the ones involved in the
connect, as they might also need to have their handlers updated.
Change-Id: Ib7a8aa3ca0d0f986bb90a99bf1337b358e96be33
3 months ago
Richard Fuchs
b157683945
MT#55283 move enabling of audio player
...
Change-Id: I24a0064a38548eeb94612b4096a058448810a339
3 months ago
Richard Fuchs
0a9e85e8a3
MT#55283 refactor update_all functions
...
Change-Id: Ica0a9f5f76bf8edf194813e18d71437d6756280b
3 months ago
Richard Fuchs
59432f0954
MT#55283 add aliases to output
...
Change-Id: I786b9448a8a9c2a18f9f309f46a90ed5ba68e284
3 months ago
Richard Fuchs
62ac250383
MT#55283 remove privacy markers from CLI
...
Change-Id: I6759901a3a5a5a885335e0b79a02d869c73cf921
3 months ago
Richard Fuchs
3536c4ab1f
MT#55283 support anonymous publish
...
Change-Id: Id68643ec4fc1520be1a266c4c9315fc07b6c8815
3 months ago
Richard Fuchs
502e0b791f
MT#55283 improve asymmetric codec logic
...
Instead of always blindly picking the matching supp codec for the
receiver codec, pick it only if there is no appropriate sink supp codec,
or both are compatible (which implies a payload type mismatch).
Closes #2084
Change-Id: Ie401db500a038f60f3b4286e2067f90674c611df
3 months ago
Richard Fuchs
e519ef492e
MT#55283 add missing lock for subscribe streams
...
Closes #2075
Change-Id: I17adc7c62ca22885b41064f155e7d842d51b48d8
3 months ago
Sean Ferguson
b916bdc257
MT#55283 Fix recording-file parameter ignores for pcap recording method
...
Closes #2087
Change-Id: Ib25aeabecfcad78578f3d98162a4418c243a8dbe
3 months ago
Sean Ferguson
ff07591b37
MT#55283 Fix segfault in play media with record-egress enabled
...
Closes #2086
Change-Id: Iad7b7297b2b24a76ca60f81393d6215c92dff612
3 months ago
Richard Fuchs
12f935db9c
MT#55283 support bidirectional publish
...
Change-Id: I530dbe297e839560055da94911a73e7c14e08dc0
3 months ago
Richard Fuchs
52b19f400b
MT#55283 decouple SDP origin settings
...
Move o= replacement logic into sdp_out_add_origin. Copy fields from
input source ML if present, or keep unchanged. Generate if not present.
Change-Id: Ieea5abea05bf076262248639118e9e9192f77e1c
3 months ago
Richard Fuchs
e948e5a976
MT#55283 move setting sdp_orig_out
...
Change-Id: Idb78bab83fb6d667a30a1683ae456d080b11f84f
3 months ago
Richard Fuchs
d8915abc79
MT#55283 rename SDP origin fields
...
and integrate them into the main struct
Change-Id: Ie5c0ed8e98bce4e20c801ff0413ff3245b0c9792
3 months ago
Richard Fuchs
9a65ab0335
MT#55283 parse a=label
...
This is needed to correctly print media labels for SIPREC in case the
input SDPs already had media labels.
Change-Id: I021f44ba28a3648ceb62db12425ddf545de42a96
3 months ago
Richard Fuchs
0f7774dbfa
MT#55283 set media label only for out direction
...
Change-Id: I316ebc34f51adf56d3df715c910e3102ab6e4a86
3 months ago
Richard Fuchs
b7dbc4be72
MT#55283 rework info printing for sub-req
...
Print information that directly matches the medias presented in the
output SDP.
Change-Id: Ib831f173c07923564158e3473f137cf867dca9bb
3 months ago
Richard Fuchs
db1307da8f
MT#55283 fix incorrect substituted RPC URL
...
The `created_from` address string includes the port, which must be
removed when substituting it for the RPC URL.
Fix-up for Ib67b57b1d
Change-Id: Iaa33ec660d21736f8b075f36479ba2734a480a4a
3 months ago
Richard Fuchs
c2f71fa597
MT#55283 add RPC URL to logging
...
Change-Id: I4ddb4f25793cf20a2b3edca146aee4a9d5ff54e4
3 months ago
Richard Fuchs
d2f729154d
MT#55283 honour RPC callback also for final t/out
...
Change-Id: Ib1549fcf6c4d8f955a5339462534700d59f63996
3 months ago