Paul Wells
4d8d232a19
ensure participant init is correctly serialized for logging ( #4417 )
2026-03-31 19:33:57 -07:00
Raja Subramanian
cef6fdb7b6
Correct direction for request/response for prom counters. ( #4027 )
...
* Correct direction for request/response for prom counters.
I think I had it reversed.
* clean up
* clean up
2025-10-24 23:15:23 +05:30
Raja Subramanian
ca0d5ee972
Count request/response packets on both client and server side. ( #4001 )
...
Currently, the signal requests are counted on media side and signal
responses are counted on controller side. This does not provide the
granularity to check how many response messages each media node is
sending.
Seeing some cases where track subscriptions are slow under load. This
would be good to see if the media node is doing a lot of signal response
messages.
2025-10-14 16:58:36 +05:30
Raja Subramanian
34a491309f
Delete v2 signalling ( #3835 )
...
* Delete v2 signalling
* deps
* mage generate
* deelte unused file
2025-08-06 09:08:09 +05:30
Raja Subramanian
b9a44c3fbf
Signalling V2 protocol implementation start ( #3794 )
...
* WIP
* name
* refactor validate
* WIP
* WIP
* signal cache initial impl
* HandleConnect in room manager
* generate subscriber offer
* handle ConnectRequest as stand alone
* segmentation, reassembly
* clean up
* rearrange
* lock scope
* support metadata in connect request
* prom
* add SifTrailer to ConnectResponse
* prom for get offer error counter
* RtcInit counter
* Jie feedback
* signal client
* consolidate v1 and v2 into SignalClient
* clean up
* comment
* deps
* mage generate
* fix tests
* pass around roomName and participantIdentity
* mage generate
2025-07-18 00:01:21 +05:30
Raja Subramanian
b760918a0d
Use logger from request context. ( #3623 )
...
That will have projectID and can potentially be used for project level
logging if we are able to pass around the project logger more.
2025-04-24 11:34:16 +05:30
Raja Subramanian
0f61ff3a2f
Remove redundant log ( #3523 )
2025-03-12 15:31:08 +05:30
Raja Subramanian
7685cd25fd
Log ParticipantInit on signal start to get a picture of join params ( #3522 )
2025-03-12 14:55:16 +05:30
Raja Subramanian
365e63230d
Some misc clean up. ( #3156 )
...
* Some misc clean up.
- Have been seeing counterfeiter warnings about efficiency for a while
with go:generate declaration multiple times in the same package.
Address that: https://github.com/maxbrunsfeld/counterfeiter?tab=readme-ov-file#step-2b---add-counterfeitergenerate-directives
- A bit more readability on parameters passed to `sendLeave`
* spacing
* revert some deletes as the complaint was in analytics service only
* Declare in package only once.
Although the warning is about go:generate multiple times when directly
giving the interface to generate, have `go:generate` multiple times in a
package even with `-generate` ends up generating once per invocation.
Once per package is enough to run the generation just once.
2024-11-04 11:26:41 +05:30
Paul Wells
f1886ece42
update protocol ( #2760 )
...
* update protocol
* deps
2024-06-05 19:46:34 -07:00
Paul Wells
e5b8e25064
use shared psrpc utils ( #2506 )
...
* use shared psrpc utils
* fix
* deps
2024-02-24 00:38:49 -08:00
Paul Wells
9eca035738
revert signal retry ( #2413 )
2024-01-26 08:14:49 -08:00
Paul Wells
025eb1164c
retry signal stream start ( #2410 )
2024-01-25 15:48:12 -08:00
Paul Wells
48dba9d589
reduce closing signal stream log level ( #2182 )
2023-10-24 17:46:07 -07:00
David Zhao
981fb7cac7
Adding license notices ( #1913 )
...
* Adding license notices
* remove from config
2023-07-27 16:43:19 -07:00
Raja Subramanian
40f5902d36
Consistently use connID as log tag ( #1801 )
2023-06-17 21:02:02 +05:30
Raja Subramanian
12db469297
Better tracking of signalling connection. ( #1794 )
...
* Better tracking of signalling connection.
- Reason for closing signaling channel.
- ConnectionID attached to request source/response sink
* Tests
2023-06-15 12:53:34 +05:30
Paul Wells
5f3ea75a1e
conditionally block on signal relay close ( #1722 )
2023-05-18 13:53:20 -07:00
Raja Subramanian
c79e0ce06f
Make signal close async. ( #1711 )
...
* Make signal close async.
Left notes about async close in code.
Also reducing retry config timeout
- Timeout to 7.5 seconds (making it 1/4th of current config)
- max retry to 4 seconds
- so, it can do 4 tries now in 7.5 seconds (with retries ending at 0.5
seconds, 1.5 seconds, 3.5 seconds, 7.5 seconds). The change of max to
4 seconds is not really needed, but it lined up with 7.5. So, made the
change.
* update comments a bit
2023-05-16 14:08:17 +05:30
Paul Wells
fc09cacfce
increase level for signal stream closed log messages ( #1660 )
...
* increase level for signal stream closed log messages
* ensure stream closes on signal close receipt
* cleanup
2023-04-27 08:30:40 -07:00
Paul Wells
f9f89cd7cf
close signal with reliable message ( #1658 )
...
* close signal with reliable message
* update protocol
2023-04-26 22:59:39 -07:00
David Colburn
ab6c994db4
update protocol/psrpc ( #1643 )
...
* update protocol/psrpc
* metadata references
2023-04-21 12:43:20 -07:00
Paul Wells
70041f004f
create signalStats from out of order join ( #1640 )
2023-04-20 03:27:41 -07:00
Paul Wells
422a28551e
record signal read failure metrics ( #1639 )
2023-04-19 15:33:42 -07:00
Paul Wells
96f3aaa587
free signal join response to gc after forwarding ( #1619 )
2023-04-16 17:38:09 -07:00
Paul Wells
9c64d71e91
update message counter in signal relay ( #1620 )
2023-04-16 08:40:23 -07:00
Paul Wells
eb095db70a
Batch signal retries ( #1593 )
...
* batch signal retries
* cleanup
* update protocol
* range check message dedup
* update protocol with codegen
* block while draining
* only log send timeouts
* cleanup
* cleanup
* cleanup
* typo
* update config yaml options
* update protocol
2023-04-09 18:18:21 -07:00
Paul Wells
234f7ea5cb
read batched signal messages ( #1583 )
...
* batch signal messages
* update protcol
2023-04-05 14:41:52 -07:00
Paul Wells
6636e37664
add prometheus psrpc metrics observer ( #1571 )
...
* add prometheus psrpc metrics observer
* record rpc error counts
* update psrpc
* update protocol
2023-04-05 03:50:43 -07:00
Paul Wells
aaab3b8ce8
fix signal client message buffer size ( #1561 )
...
* fix signal client message buffer size
* update psrpc dep
2023-03-29 16:34:45 -07:00
Paul Wells
04150c044b
count active signal sessions ( #1519 )
...
* count active signal sessions
* fix
* generate fake
2023-03-14 17:35:32 -07:00
Paul Wells
54bf7e0dac
allow configuring signal message buffer size ( #1504 )
...
* allow configuring signal message buffer size
* update psrpc
2023-03-08 17:34:14 -08:00
Paul Wells
2c93d55e5c
add stream retry middleware for signalling ( #1503 )
2023-03-08 00:51:19 -08:00
Paul Wells
e22de045ba
add signal psrpc service ( #1485 )
...
* add signal psrpc service
* update protocol dep
* refactor for cloud
* update psrpc
* pr feedback
2023-03-03 15:49:46 -08:00