nextcloud-spreed-signaling/proxy
Daniel Calviño Sánchez 3636e69dba Add specific ID for connections
A new ID is introduced for publishers and subscribers to be able to
identify different connections in the same session. While it was
possible to do that from the Janus handles this ID is meant to be shared
with the clients and set by the peer sending the offer, so it is set by
the client for publishers and by the signaling server for subscribers
(in which case the Janus handle is used).

This will make possible to know without any ambiguity if an offer/answer
belongs to an already existing connection or not. This can be used, for
example, to know if an offer represents an update or a new connection,
or to discard unneeded messages that might be sent in some corner cases
by the clients.

The ID name is "sid" for consistency with the property name used by the
internal signaling server of Talk.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-27 11:14:59 +02:00
..
main.go No need to include trailing newline in log messages. 2021-06-04 16:42:17 +02:00
proxy_client.go Switch dependency tracking to Go modules. 2021-04-09 16:15:00 +02:00
proxy_server.go Add specific ID for connections 2022-04-27 11:14:59 +02:00
proxy_server_test.go Use "T.Cleanup()" instead of manually deferred shutdown function. 2022-04-05 12:57:40 +02:00
proxy_session.go Add specific ID for connections 2022-04-27 11:14:59 +02:00
proxy_stats_prometheus.go Add prometheus metrics. 2021-08-10 08:50:39 +02:00
proxy_tokens.go Switch dependency tracking to Go modules. 2021-04-09 16:15:00 +02:00
proxy_tokens_etcd.go Update etcd to v3.5.1 2022-04-05 11:16:38 +02:00
proxy_tokens_static.go Stop using deprecated ioutil package. 2022-04-05 12:48:27 +02:00