Richard Fuchs
01263d644c
TT#101150 refactor counter stats into macro list
...
Change-Id: Ic23fd457bfd5a9cae08f2d48b6ab8054480cd070
4 years ago
Richard Fuchs
ad64f4fa00
TT#101150 introduce proper struct for "counter" style stats
...
Change-Id: Ifd06c54b25126426fe21723b8fb7a21d9bd03cba
4 years ago
Richard Fuchs
7dcc4473f5
TT#101150 split out "gauge" style stats
...
Change-Id: I52617a083bbbd41342b6413d8cacc5235cec51d9
4 years ago
Richard Fuchs
a1f3530292
TT#101150 separate out `struct stream_stats`
...
Change-Id: I709060d9e805175bd99173df03e581b593506e15
4 years ago
Richard Fuchs
9c3e5e1fd7
TT#101150 properly name RTPE_STATS_INC/ADD
...
Change-Id: Iba35ea5a453d1a45b575ee98c4aeb2e0aef39473
4 years ago
Richard Fuchs
406f2dc36d
TT#101150 remove in_tos_tclass from struct stats
...
Change-Id: I000f19f3eade23085952c86f6f730ab954f81b95
4 years ago
Richard Fuchs
1fac2b08b9
TT#101150 use rtpe_now for timer start time
...
makes testing it easier
Change-Id: I47205dac1aaac752f1fa7a3cdf892f1fd0c45970
4 years ago
Richard Fuchs
30d91ecc63
TT#101150 add test script for stats output
...
Change-Id: I13cc172b082e78c3d52032bd72e0a2f5158c71ed
4 years ago
Richard Fuchs
fd064304bb
TT#14008 fix missing timestamping during redis restore
...
closes #1363
Change-Id: I4aac5096fd18067b3503e834a687277e7d5903fb
4 years ago
Richard Fuchs
a4e3f96b3f
TT#14008 always add a=mid to media section
...
closes #1361
Change-Id: I8c3dfb54f47f0cfeb913f27b240eed55e2ca8154
4 years ago
Richard Fuchs
3f69a48f07
TT#14008 add NAT-wait flag
...
Change-Id: Icfbacc3094ee20955eb50ad9f9c487e9b9a239b9
4 years ago
Richard Fuchs
ac60645c13
TT#14008 fix possible null pointer
...
closes #1358
Change-Id: Id4ad456304569dd79fd1ac19b3f2127c705cd650
4 years ago
Ricardas Stoma
d1e2720b39
TT#14008 show codec name in media stats
...
closes #1347
Change-Id: Iba796f585ae93a17347dea96f91472a60bf32b60
4 years ago
Richard Fuchs
d6bffa17f1
TT#142100 fix possible null pointer
...
Change-Id: I6f46bd768e3d77e56f3f95a2280c3ee41fcc9813
4 years ago
Richard Fuchs
ff2aed5907
TT#14008 avoid confirm/unconfirm/reconfig flip-flop
...
Distinguish between unconfirming the learned peer address and
retriggering the kernel stream. In particular we don't want to unconfirm
the sinks every time we confirmed our own peer, as that starts an
unconfirm/reconfirm loop.
Change-Id: I1f172385aefeacbc4585729bce25fbc68f04c2bd
4 years ago
Richard Fuchs
b28ea21f41
TT#14008 add extra debug logging for kernel streams
...
Change-Id: I7a17e74dea7ce11e5923f82436efbfe3160d8ed8
4 years ago
Richard Fuchs
758badb46a
TT#14008 output list of subscriptions in final log stats
...
Change-Id: I14d6b7bd195496cda2122e64d34d942ae4f650e9
4 years ago
Richard Fuchs
af79ec6a91
TT#14008 rework offer/answer subscriptions
...
While doing the A/B reassociation during an offer/answer exchange, we
don't (necessarily) want to remove all existing subscriptions. Instead
we cant to unsubscribe all subscribers so we don't do media forking, but
leaving existing subscriptions alone to make early media reception
possible. This mirros the old behaviour.
Change-Id: Ib9e6671ca2d23d1eb4509d7cf939015c816cc622
4 years ago
Richard Fuchs
6f0439daf3
TT#14008 avoid duplicate bencode dict keys
...
Multiple untagged monologues can exist at the same time which would lead
to a broken bencode dictionary. Instead use a pseudo label to
distinguish them.
Change-Id: I0f41c42df8ec17c1c4fb5cc6451ea039612e505f
4 years ago
Richard Fuchs
2a39277f0c
TT#14008 add hash table for subscriptions for quick lookups
...
Change-Id: Id1585cc7edb8c72bc571006f20228706d00e6955
4 years ago
Richard Fuchs
6c9fe540cf
TT#14008 remove redundant check for FILLED sinks
...
We may have multiple subscribers, some of which may be dead/unused. We
don't care if we have these since we don't forward to them anyway.
possibly relevant for #1337
Change-Id: I3cded5080aa2005e9dd615cccf60bd4cba5feb7d
4 years ago
Richard Fuchs
5c01d905e5
TT#14008 use bool type for SSRC changed funcs
...
Change-Id: I026f7d93c8fa3bbfea6b1ab6967b8cd1231637d5
4 years ago
Richard Fuchs
2770bec906
TT#14008 set non_forwarding flag if no sinks are present
...
This silences a warning coming back from incorrect usage of the kernel
module
Change-Id: I2f03518a67620b92ef6b6ccd4ae6a4780087e206
4 years ago
Richard Fuchs
702dd9bb13
TT#14008 don't try to update kernel stats for no-kernel streams
...
Set NO_KERNEL_SUPPORT when we don't actually kernelise the stream, and
use that flag when trying to pull stream stats.
probably closes #1337
Change-Id: I46af55e353d87c5afdda3c106d1f3470273105bf
4 years ago
Richard Fuchs
f6461ab452
TT#14008 use FILLED flag instead of advertised address for sink test
...
The advertised address might be empty (trickle ICE) so use the FILLED
flag instead to see if the sink is eligible.
Change-Id: I114bd7400ccfcc3ecbc871bdcc5aee4e7d699816
4 years ago
Richard Fuchs
6443cfcb8e
TT#14008 skip stray warning message for trickle ICE updates
...
Change-Id: I2c9c9745df1ac6dbdea5873f8f54709e69dc1f82
4 years ago
Stefan Mititelu
db53dd683a
TT#14008 Fix graphite deadlock
...
closes #1346
closes #1345
Change-Id: I47e65ca2c9bd0ba23ef740edfa46b65f3aeda62c
4 years ago
Richard Fuchs
c7085085a7
TT#14008 fix lock order between janus_session and websocket_conn
...
Make sure janus_session lock is obtained first and websocket_conn lock
second, in order to prevent a possible deadlock.
Change-Id: I3db1d5cea0c0295cc10c71edd20c86ce054f520b
Warned-by: Coverity
4 years ago
Richard Fuchs
e82be64a57
TT#14008 remove logically dead code
...
Change-Id: If8ca08c997c715a98a89376f098393dc04f685a9
Warned-by: Coverity
4 years ago
Richard Fuchs
1c5433a877
TT#14008 fix Coverity MISSING_LOCK warning
...
This isn't really necessary as at this point the janus_session object is
private to the thread, but we add the locking anyway to silence the
warning.
Warned-by: Coverity
Change-Id: I0b192f2f5827ad917cf5110ce486fc6cd49e1a71
4 years ago
Richard Fuchs
40695b2af3
TT#14008 fix possible segfault
...
closes #1342
Change-Id: I469b749cca4e270100572b7eabc9bcd022e83f5d
4 years ago
Richard Fuchs
8a60d17574
TT#131651 support reverse re-invite to new to-tag
...
Change-Id: Iaea12033d3a142b4675cc22ed0e3270af654e7de
(cherry picked from commit d11432ec814fa4e504be02f3bdee2cc6cf9fa704)
4 years ago
Richard Fuchs
e04df3b961
TT#101150 use rtpe_now for uptime
...
Change-Id: Idd7e56058c9f27ca05b242bed52fe1f623bc9cbd
4 years ago
Richard Fuchs
2130e2f62b
TT#89352 support Janus control protocol
...
Change-Id: I0a6d5fc93c5fa505390408043feeca3f5cf61181
4 years ago
Richard Fuchs
a52c0fecf4
TT#14008 don't delete calls from foreign DB during restore
...
If a keyspace notification SET is received and the call already exists
as a foreign call, the call is first destroyed before being re-restored.
The call destruction involves a DEL from Redis on the "hosted DB"
number, which points to the foreign DB. This makes it impossible to then
restore the call because it's just been deleted.
closes #1308
closes #1334
Change-Id: Ie895b021441b2d299f8ebb5bde1824b01e12633c
4 years ago
Richard Fuchs
d1f320c80f
TT#14008 lock Redis context during restore GET
...
Change-Id: I487427b4711aa9600db376f3987086fa47472bdb
4 years ago
Richard Fuchs
acefaf1d3c
TT#14008 report Redis errors on restore failures
...
Change-Id: Id1090fe88d02896595ce4a45ac87953714e0d9d1
4 years ago
Richard Fuchs
74d3fa2f28
TT#14008 fix indentation
...
Change-Id: Ib8fea31c49013cbb62056c5980ee5aa3655db6d6
4 years ago
Richard Fuchs
f0b1906809
TT#89352 add option to strip a:extmap
...
closes #1271
Change-Id: I17e177b96983798f693f162c45643b5a82258278
4 years ago
Richard Fuchs
70665e3aef
TT#89352 add shortcut for "accept any"
...
Change-Id: I49cb88c7097cd51ef5641a6f4b3bf622bb4dc276
4 years ago
Richard Fuchs
d90de55e83
TT#14008 rename g_tree_remove_all to avoid namespace conflict
...
closes #1327
Change-Id: I30e745a7d2a2b0fa8cef90ecb76881071c437695
4 years ago
Richard Fuchs
05e9b5f131
TT#91151 avoid possible null pointer
...
Warned-by: coverity
Change-Id: Ic841c9926e6f07817a0ec17528db2faaadc2f0c9
4 years ago
Richard Fuchs
f2f45a0836
TT#89352 return proper ICE candidate parsing result
...
Change-Id: I6bdd5db074eae0dccb86bb50d1370154bb024bf2
4 years ago
Richard Fuchs
d824acf69a
TT#91151 don't send DTLS to trickle ICE addresses
...
Change-Id: Ie2519391e30479547f8d6e4239d6d65c316c34b9
4 years ago
Richard Fuchs
fbcddaca49
TT#91151 negotiate DTLS role and SDES for publish
...
Change-Id: I246415c416a5d4f8126511d6a867109048810bf6
4 years ago
Richard Fuchs
b945104b5e
TT#89352 switch `done` flag to bool type
...
Change-Id: I6206a13779ccd44a575654f6af8627492d4b13ed
4 years ago
Richard Fuchs
c6bb16612d
TT#91151 don't segfault on empty strings to redis
...
Change-Id: I8a68fd61c862ce85f6a8879c7e2f85a05723a2b6
4 years ago
Richard Fuchs
1fd62d6857
TT#91151 populate "created from" for published calls
...
Change-Id: I01eacb87dc645615337b10814666c0d108ba9ac9
4 years ago
Richard Fuchs
5fc71c0357
TT#14008 support %l format even if recording is started mid call
...
Change-Id: I3efe6de99ad78f8167b18de50e5c52760b12fead
4 years ago
Richard Fuchs
b0c97e4ccc
TT#89352 support extended ICE candidate syntax
...
Change-Id: Ib0d116d69297459a0ec8e3c06f5497df4bb7dbfb
4 years ago