Richard Fuchs
f5277e5c30
MT#55283 add http-buf-size option
closes #1950
Change-Id: I12047e7e6af8e0d927744a0dc70c5b4668420878
5 months ago
Richard Fuchs
1480574001
MT#55283 overhaul WS locking logic
Multiple writers may operate on a single WS connection simultaneously.
Make sure they don't get in each other's way while constructing their
messages/responses by holding the lock from the beginning of the
response until the point when it's fully ready. This fixes a problem of
parts of multiple messages getting mixed up with each other.
Change-Id: If84224fc06b423cd65c12981a5b09ee99b121df2
7 months ago
Richard Fuchs
a2c9d5c7a1
MT#55283 add media PUBLIC flag
A simple mechanism to track whether a given media endpoint has been
advertised to the public. If it hasn't, then any media received on it is
considered suspicious, and source addresses are ignored for learning
purposes.
Change-Id: I76a08e3f442f263dad192ff496a5d734a9349d26
6 months ago
Richard Fuchs
d2f8fd489a
MT#55283 loosen check from e969a7942
The internally used VALID flag doesn't reflect the "valid" state from
the RFC, possibly leading to legitimate packets (DTLS etc) to be
ignored. Introduce a new flag to track which ICE pairs have been
authenticated through requests or responses.
Change-Id: I11b8e2bb6a7638ab9405304c6f45c29b20d3739c
6 months ago
Richard Fuchs
8a1b420af3
MT#62735 add `recrypt` flag
Change-Id: Ia2779bf51c155df473e523d30bd018ce54bea900
8 months ago
Tom Briden
9fd6b31186
MT#55283 add flag to discard delay buffer packets in codec_handlers_stop before media playback
if a delay buffer is enabled, the packets get scheduled in the future,
but media playback packets are scheduled immediately. this results
in choppy playback due to the packets coming in at the same time.
This change adds a new bool to chu_args that gets enabled when
play-media is called and passed in to codec_handlers_stop so the delay
buffer queue is cleared instead of flushed
Change-Id: Id534f9087d934481f17341bc577099dc2362f8e1
7 months ago
Tom Briden
3bd7298cfe
MT#55283 codec: disable clock skew calculation during media playback
when media playback happens, all packets get scheduled at the same
time with a send time in the future. however, this results in the
output_skew calculation triggering an unnecessary shift in the send
timer, which can cause choppy playback
Change-Id: I449f221a4d348eb615c2af1dca30bec163aa4fc6
7 months ago
Richard Fuchs
5d613020e6
MT#55283 add global bufferpool
These are normally held per thread, but in cases of threads not having
dedicated init/cleanup functions (GLib thread pool), we can use a global
one as fallback.
Fixes #1936
Change-Id: Ia2ff3523e6079baa73e0721862100ec2f8b66c88
7 months ago
Richard Fuchs
71addf5118
MT#62687 support codec preferences
Change-Id: Ib8eaca5b2223cf7eb40e9dc68e8ab05782bd4f99
8 months ago
Richard Fuchs
ac2d404904
MT#55283 sequencer cache
Change-Id: Ie5903be9b202507f84eba6a000abab812a577c90
8 months ago
Richard Fuchs
c8dd521e33
MT#55283 obsolete SSRC tracking
Change-Id: Ic0a3c7826180e1e1f4a783dcc6d775c92fe38d1f
8 months ago
Richard Fuchs
cf22d82932
MT#55283 eliminate input/output combination SSRC
Change-Id: I94636b7f6fb6fb31cd3bf332fffe0203e17f6c16
8 months ago
Richard Fuchs
19af8034a4
MT#55283 split SSRC hash into in and out
Change-Id: Ie1d378ee455e6fadb39a16f4c1d86f604870c536
8 months ago
Richard Fuchs
4d5ff2401a
MT#55283 scale dtx timers
Change-Id: I296b56b8f77349addf384bf8bc3896b0b799f4bd
8 months ago
Richard Fuchs
6e07f40f47
MT#55283 scale mqtt_publish_interval
Change-Id: I7ed5d5ea275139a81a91126100af6edadafe66fd
8 months ago
Richard Fuchs
206e7db48b
MT#55283 scale redis timeouts
Change-Id: I7594f38da85a61c3846f8c5eb41ee01b63de36ac
8 months ago
Richard Fuchs
e12ba22a7c
MT#55283 scale redis timers
Change-Id: I8b9fcbb63ab096c7f1362f2df2f137258c45dc12
8 months ago
Richard Fuchs
180cb210cc
MT#55283 scale rtcp-interval
Change-Id: I2edc92d2fc2d707b93d7510ee69217b9ff5e07d5
8 months ago
Richard Fuchs
461de892c4
MT#55283 scale expire times
Change-Id: Ia7daea4471967797c404c4346b9786cd274067d8
8 months ago
Richard Fuchs
4eadfd2274
MT#55283 scale delete-delay
Change-Id: I61478a8f9d08921dd086735b96f6594e22690d30
8 months ago
Richard Fuchs
482166f0dc
MT#55283 scale offer-timeout
Change-Id: I35419b378eaef025ec32dce616fdd046d3e05c8e
8 months ago
Richard Fuchs
d3dc92aca9
MT#55283 scale final-timeout
Change-Id: I59f95f472477099cb71caebd828b2178f2577285
8 months ago
Richard Fuchs
3261098384
MT#55283 scale timeout
Change-Id: I23628cfcf4e5044300a01c1e15591746467df1ba
8 months ago
Richard Fuchs
9061ce05be
MT#55283 scale silent-timeout
Change-Id: I111628b82110df3b37922c2aeffae401abf782f8
8 months ago
Richard Fuchs
f796537ef3
MT#55283 simplify ntp_ts_lsw, ntp_ts_msw
Change-Id: I33d72c8ef2b6832378c92902fc9bc253d325ace3
8 months ago
Richard Fuchs
27ff6e6f57
MT#55283 convert last_redis_update to int64_t
Change-Id: Id521b8b87ae2366c341e4b9871f253a24e750538
8 months ago
Richard Fuchs
f35881548d
MT#55283 convert async_last to int64_t
Change-Id: I86284e3b6c0dc9c52be0e2ee54bf63a0490cece1
8 months ago
Richard Fuchs
71f2234902
MT#55283 obsolete timeval_diff
Change-Id: I83ea176acd77cdd9c371e4c8cde324bdfc3c2486
8 months ago
Richard Fuchs
a4bd720105
MT#55283 convert time_t to int64_t
Change-Id: I9664249782355f7363a46bafcca6504415585875
8 months ago
Richard Fuchs
ad65c9096f
MT#55283 convert call structs to int64_t
Change-Id: If1a077d206d96914651b3e4624e7fc09f239ed09
8 months ago
Richard Fuchs
27ce6148ce
MT#55283 convert packet_stream_last_packet to int64_t
Change-Id: I33079b6fbe34e291b2b3d6ec00816db99b69ebf4
8 months ago
Richard Fuchs
7b9ec8699f
MT#55283 convert last_packet to int64_t
Change-Id: Ib199a61352865566e45d5957aa520099d86066ee
8 months ago
Richard Fuchs
952429aa89
MT#55283 convert last_packet to int64_t
Change-Id: I21aec3c852a213c433b3a6c62d8b039303ec0f01
8 months ago
Richard Fuchs
0050ac5998
MT#55283 convert redis to int64_t
Change-Id: I5238eaf821512b21dac33716fb9c5109c9e0955c
8 months ago
Richard Fuchs
b455cf88a4
MT#55283 convert dtls to int64_t
Change-Id: Iff59c5a708655293612b114980a9cb13b9444ed1
8 months ago
Richard Fuchs
8c694b5e2b
MT#55283 convert cookie_cache to int64_t
Change-Id: If94cc69d180a0a17b0973a30800e0770d7d8f413
8 months ago
Richard Fuchs
7f84fe590b
MT#55283 convert last_packet to int64_t
Change-Id: Ia7fb2964d35f75a7bc21d058426d244838c77191
8 months ago
Richard Fuchs
e92f260e7a
MT#55283 convert daemon/ to int64_t
Change-Id: Ie557204821fddfa5af0be96cc8f0ff2dd093fc7c
8 months ago
Richard Fuchs
165c42fb8e
MT#55283 convert calls to int64_t
Change-Id: I7c9a2229ba3eea418e009bb04def336476d2ec25
8 months ago
Richard Fuchs
87df808bb9
MT#55283 convert ssrc to int64_t
Change-Id: Ibdf18621fa6c2015ab7f4d6a68e27938f0cbe120
8 months ago
Richard Fuchs
5dd2b5bb74
MT#55283 convert graphite to int64_t
Change-Id: Ifeb8e560716330a5c3e573a355a90a46c3f68f30
8 months ago
Richard Fuchs
c59864d3d8
MT#55283 convert rtpe_started to int64_t
Change-Id: Ib80187cfa9abd7f947926b9195e998bee6369ff6
8 months ago
Richard Fuchs
20ffa4f780
MT#55283 convert timerthread to int64_t
Change-Id: Ia7bdb7538428edef1ff83d7bd8f6116d5e618510
8 months ago
Richard Fuchs
5d878748d3
MT#55283 convert jitter_bufer to int64_t
Change-Id: I959cfbd8d56d13bb30419c19f4245876c71c7b25
8 months ago
Richard Fuchs
b2e75d60db
MT#55283 convert codec_calc_jitter to int64_t
Change-Id: Ia042d86b6b1091561fadd896e77925f48012c7bd
8 months ago
Richard Fuchs
cf98f9013a
MT#55283 remove rtcp_parse_ctx
Change-Id: If3cbe4460e444db305e6ac366c140d17a0a9dd95
8 months ago
Richard Fuchs
40319c1fd1
MT#55283 convert ice_agent to int64_t
Change-Id: I50b5ec76c7c00aade5095885eae1ee8392f0b44c
8 months ago
Richard Fuchs
f34786dade
MT#55283 convert media_packet to int64_t
Change-Id: I4b1da113cf01d34473027987d4ee60215655fdec
8 months ago
Richard Fuchs
8b50a41063
MT#55283 convert homer to int64_t
Change-Id: Id3cb59aa72d0271e3e93c339211f9bb9deb4a222
8 months ago
Richard Fuchs
39e4d974ce
MT#55283 convert media_player to int64_t
Change-Id: If6ef6ce10a7a5e183a7cbf5c621828f2a0c0b3c7
8 months ago