nextcloud-spreed-signaling/proxy
Daniel Calviño Sánchez 020cbaf49d Send updated offers to subscribers after publisher renegotiations
When a publisher has a connection the publisher can update the
connection (for example, to add a video track to an audio only
connection) by sending an updated offer to Janus. Janus detects that,
adjusts the connection and then sends back an answer. Once the publisher
connection is updated Janus starts a renegotiation for the subscribers
and generates the offers to be sent to them.

The signaling server did not handle the event, so the offers were not
sent and the subscriber connections were not updated. Now the offers are
sent as needed, which makes possible for the renegotiation to be
completed by the clients.

In this case the "offer" message will also include an "update" parameter
so clients can differentiate between offers to create new connections or
update the existing one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-02-25 07:47:17 +01: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 Fix formatting of non-string variable. 2022-01-10 15:03:54 +01:00
proxy_session.go Send updated offers to subscribers after publisher renegotiations 2022-02-25 07:47:17 +01: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 deps: Migrate to "github.com/golang-jwt/jwt". 2021-10-11 14:02:57 +02:00
proxy_tokens_static.go deps: Migrate to "github.com/golang-jwt/jwt". 2021-10-11 14:02:57 +02:00