Richard Fuchs
e5ccca36fc
MT#55283 use typed GHashTable for SDP rem/subst
Change-Id: I65e66df16980a56f8265c14044dc190a13b117a1
2 years ago
Richard Fuchs
812b627bd8
MT#55283 use typed GHashTables for metric_types
Change-Id: I097e9bb471b1559561c7ce631fadfe7f068b5ecc
2 years ago
Richard Fuchs
7c6f5d1dae
MT#55283 use typed GHashTables for globals calls hash
Change-Id: I9de9bc9ae8d35cd2360e58d9f4358cacc6831be1
2 years ago
Richard Fuchs
49037aee91
MT#55283 use typed G* for codec-set/except/SDES
Change-Id: Ib64e36db7ccccda83a84d36f716d13906d098946
2 years ago
Richard Fuchs
de6c06a6c0
MT#55283 use typed G* for codec handlers
Change-Id: I5d6940e4e72566d011a218b1bd7c4880329aa424
2 years ago
Richard Fuchs
e4fb02bedb
MT#55283 use typed GHashTables for codec_store
Change-Id: I746b7a39897343b9fa7a2b382ced0403601b8025
2 years ago
Richard Fuchs
9999098024
MT#55283 use typed GQueue for codec_store
Change-Id: I6942e5b8209aba99aaa1a81bfd449d0a31679595
2 years ago
Richard Fuchs
e1e0d56fb3
MT#55283 use typed G* for SDP fragments
Change-Id: I8c9232edaa8d61a22c9d51f662d69a151d22c09f
2 years ago
Richard Fuchs
74b8a6cce4
MT#55283 use typed GQueue for attributes
Change-Id: Ie26f6050461bda8cd863d6ce0d7703952979c362
2 years ago
Richard Fuchs
ab88eff57f
MT#55283 use typed GHashTable for attr_list
Change-Id: I00b962adc468384d13120f0e36e8828fd56854c0
2 years ago
Richard Fuchs
9c64461eb7
MT#55283 use typed GHashTable for id_hash
Change-Id: Ieb23b60336277c150101284f89151eb25368614f
2 years ago
Richard Fuchs
65343d9097
MT#55283 split out enum declaration
Change-Id: Ia2046481bafab1c528fd772dc9edf3c49286aea9
2 years ago
Richard Fuchs
651acec447
MT#55283 use typed GQueue for sdp_attribute
Change-Id: I71814f098805e5d770dbb217f1268e06bca4a60c
2 years ago
Richard Fuchs
a97a49189d
MT#55283 use typed GQueue for sdp_media
Change-Id: I0c6fd4ff3c2135817e79fce6ce34a6750bcf27e6
2 years ago
Richard Fuchs
08727c5cb4
MT#55283 use typed GHashTable for ICE
Change-Id: I6adb1dcc3efc31b612d55f59d1ba7fb865652c7b
2 years ago
Richard Fuchs
cbaa0c106a
MT#55283 use typed GQueue for ICE lists
Change-Id: Ieb4168cc7959347940831b5b83dce82ba1fe1965
2 years ago
Richard Fuchs
6685fb6efd
MT#55283 use g_auto for sdp_streams/sessions
Introduce sdp_streams_q and sdp_sessions_q as their own types (typed
GQueue)
Change-Id: Iee99a4ccd9aba57c49d449963a7cd77f8e20adcc
2 years ago
Richard Fuchs
9810c501fd
MT#55283 use str_q for parsed flags
Change-Id: I0aa11e77a7c995335d48a239515295dc4abcf5d2
2 years ago
Richard Fuchs
57a80b4513
MT#55283 use g_auto for ng_buffer
Change-Id: Ic79f4380dcb7cbf23b35ca1bfec70c1986ac4477
2 years ago
Richard Fuchs
575d86816f
MT#55283 turn ng_buffer into typedef
Change-Id: I278cb1b81d9c23074cf159901668221f52d239dd
2 years ago
Richard Fuchs
40fcf7e448
MT#55283 use g_auto for stats_metrics
Change-Id: Ica79c0dcd7254879a4a1f68d82188c7a1ee82754
2 years ago
Richard Fuchs
d4d8e0368f
MT#55283 turn stats_metric into typedef
Change-Id: I4f41315409cc34494032e4f01f821d06d4f74d7e
2 years ago
Richard Fuchs
4e7078834f
MT#55283 use typed GQueue for stream_fd
Change-Id: I75544a48c79481473effa9651f1ad2b59b234dc6
2 years ago
Richard Fuchs
f4677f6b5b
MT#55283 use typed GQueue for homer
Change-Id: I51835527eb04c7b798420e041ef6bb876687c6f8
2 years ago
Richard Fuchs
edb1dd86ed
MT#55283 use typed GQueue for janus ret_streams
Change-Id: Ibea9f1d5dce8058f6e077704171425d4cc94073c
2 years ago
Richard Fuchs
218f4b586b
MT#55283 use typed GQueue for websocket objects
Change-Id: I80fabf32d72eb1e87b41335416dad918b458409d
2 years ago
Richard Fuchs
de5b6cf3cf
MT#55283 use typed hash table for websocket
Change-Id: I928725ecae2792b36714eab1027ef1efdc757e8c
2 years ago
Richard Fuchs
716d877189
MT#55283 use typed hash table for janus objects
Change-Id: Ibbf0e8ab29325ca0dcc6e71ea4005442a1149f79
2 years ago
Richard Fuchs
a0eca116d0
MT#55283 slightly improved crypto lookup
Avoids doing repeated strlen()
Change-Id: I9bb45d206627184ac62a928e85f221a5316c1494
2 years ago
Donat Zenichev
4e59215fe5
MT#58718 Deprecate the `__subscribe_matched_medias()` usage
Stop handling redundant media subscribing in the:
- `call_get_monologue_new()`
- `call_get_dialogue()`
and leave this work only for the offer/answer model:
- `monologue_offer_answer()`
In the meanwhile the subscribe request/answer model
keeps on using directly the:
- `__add_media_subscription()`
Change-Id: I6cfaef634b8b9e5e805df25f1c6f80225648b75a
2 years ago
Richard Fuchs
8fba68f2c9
MT#55283 verify "zero" DTLS cert
... instead of "current" if available
closes #1771
Change-Id: Id1b742b2446d4d59b3de251a1d1a5dcbed86834a
2 years ago
Richard Fuchs
4a1fe2b779
MT#55283 extend codec_tracker_update
Allow codec_tracker_update to reference an existing codec_store. Then
when a supplemental codec type needs to be generated, make it look up
the type in the existing codec_store and re-use the existing payload
type if present instead of creating a new one. This allows payload type
numbers to remain unchanged during a re-invite.
Change-Id: I9e5edd897515a5e3eb5033aa6bbf21c8667d6133
2 years ago
Richard Fuchs
a1d8bf2590
MT#55283 add codec_store_merge() and logic
During an offer, we update the codecs from the given list not only on
the side of the offerer, but also on the answerer's side, in order to
perform the codec answer routine during the answer phase. While doing
this, we empty out the existing list of codecs (on both sides) and
repopulate it fresh from the given list.
This can cause problems during a reverse re-invite, when the list of
codecs on the answerer's side already contained the codecs that had been
offered before. When setting up the new re-invite offer, we want to
retain codecs (and their payload types and format parameters) that were
already in place, instead of recreating a new list from scratch.
Improve this by adding a `merge_cs` option to the populating functions,
which points back to the stream_params codec_store. Codecs that would
have been removed from the codec_store during the repopulation are then
moved back into the stream_params codec_store instead. This then allows
the functions adding new codecs to the list (offer/transcode) to
reference these codecs that were previously in place, and so they can be
added back with the same options as they had existed before, instead of
recreating them from scratch.
Change-Id: I53e7ab10e9144a308a5c36be5ebfddd73c212f06
2 years ago
Richard Fuchs
83140f60df
MT#55283 backport fix for I2ce02e92debce0b
Change-Id: Ib88765ee02b2d83175c41034dc1f3a6895808777
2 years ago
Richard Fuchs
0a7812aed5
MT#55283 fix missing unlock
Change-Id: I2ce02e92debce0ba33b6a271ba831d7ba67e622b
2 years ago
Richard Fuchs
ed635a6460
MT#55283 retain codec tracker status for answers
In case of repeated answers without additional offer in between, we
shouldn't reset the codec tracker status at the end of the codec answer
routine, so that we end up with the same state during the next answer.
Change-Id: I54f6136cc5684473553b4862c13ea9f4a3dcfe99
2 years ago
Richard Fuchs
8a3ddda53a
MT#55283 add fmtp to debug log messages
Change-Id: I5ea043233daedcdab565a24d8a76bf441b5c7d74
2 years ago
Andrii Pogrebennyk
64631fb962
Add the new option rtcp-interval description and example
2 years ago
Richard Fuchs
6792188bec
MT#55283 use g_auto for nftables
Change-Id: Ib53e4d820b2ae5e03fa68985c3a18e95c3f8f276
2 years ago
Dennis Yurasov
6a8c523d55
MT#55283 Avoiding "Too many packets in UDP receive ...
... queue (more than 50), aborting loop. Dropped packets possible" errors.
closes #1769
Change-Id: I2c5041756aa6b14182bb1bbc2d037120064edcb0
2 years ago
Andrii Pogrebennyk
c75cffddcc
MT#55283 add config rtcp_interval used when generate-RTCP=on
closes #1759
Change-Id: I09722106d42e25f4befa953d374fa96c344322b7
2 years ago
Richard Fuchs
cfa560c6b4
MT#55283 use g_auto for GHashTable
Change-Id: I698f661711104a0fd6a983c58c0256532e86f87e
2 years ago
Richard Fuchs
c28ba5cd4e
MT#55283 use g_auto for GString
Change-Id: Ie7eb4a8f4115cdf13770cb112d8116b29ae94d73
2 years ago
Richard Fuchs
afbb76992c
MT#55283 use g_auto for str objects
Change-Id: Idf211e3e73593e0b8213d516446d33d95e866db1
2 years ago
Richard Fuchs
83ee0b1aca
MT#55283 use g_auto for sdp_ng_flags
Change-Id: I29f011df3874693d926940adba1531f0c747d30b
2 years ago
Richard Fuchs
bc61caf2cc
MT#55283 turn sdp_ng_flags into a typedef
... and introduce types.h to contain typedefs and forward declarations
of their structs.
Change-Id: I579eaf188a0adab13e4a9cca703f8575ac45cca8
2 years ago
Richard Fuchs
fccf2df73c
MT#55283 use transparent union
for flags parsing helper functions, for type safety's sake.
Change-Id: I5378444aa26c3049735398cf8aabd96b990ae33f
2 years ago
Richard Fuchs
43b171c714
MT#55283 replace free_gvbuf via g_autoptr
Change-Id: If2ce7fb274478a0c044c00ded1404c31258ed0c7
2 years ago
Richard Fuchs
5a2819bd9d
MT#55283 use g_auto for string buffers
Change-Id: I135f75355a128feb8f3152c170ca4f9022d917a8
2 years ago
Richard Fuchs
43d1427b4d
MT#55283 switch basic GQueue to g_auto
Change-Id: I3b17e0a0f6e451e3a0e62c209a887db6ac1f7f55
2 years ago