Implement video handshake for player video feed. The primary view in a match room indicates its desired video feed size, and the producer page will attempt to get a video feed to match.
The video feed is modelled as a view metadata that needs to be transported and shared. The meta information will be supplied in the websocket query string so they will be available as soon as the connection is established.
Seems to work but needs a bit more testing.
Bonus: Clean up use of custom query string management. Use modern URL API instead.
Also, found a bug, when producer refreshes, it does not automatically restarts its peer video feed to the view. Will try to fix that in the PR before merging.
Implement video handshake for player video feed. The primary view in a match room indicates its desired video feed size, and the producer page will attempt to get a video feed to match.
The video feed is modelled as a view metadata that needs to be transported and shared. The meta information will be supplied in the websocket query string so they will be available as soon as the connection is established.
Seems to work but needs a bit more testing.
Bonus: Clean up use of custom query string management. Use modern URL API instead.
Also, found a bug, when producer refreshes, it does not automatically restarts its peer video feed to the view. Will try to fix that in the PR before merging.