Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live mode (Jitsi versus RTMP) and pairing external devices #1398

Open
sampaccoud opened this issue Feb 23, 2022 · 0 comments
Open

Live mode (Jitsi versus RTMP) and pairing external devices #1398

sampaccoud opened this issue Feb 23, 2022 · 0 comments

Comments

@sampaccoud
Copy link
Contributor

sampaccoud commented Feb 23, 2022

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
We have 2 main ways to do a live in Marsha:

  • in a Jitsi conference, configured by Marsha via the intructor's admin connection and streaming to Media Live via RTMP
  • via an external tool streaming directly to RTMP (OBS, Zoom,...)

The questions raised are:

  • how do we switch from one mode to the other without any weird experiences
  • how do we pair external devices in either mode and what happens to paired devices when the mode changes

Describe the solution you'd like
We propose the following Ux:

More Ux and technical considerations:

  • Switching mode should disconnect external devices and browsers that may have joined the conference in "jitsi" mode or may be streaming to the RTMP endpoint in "rtmp" mode. We can do that by deleting and recreating the Media Live input (but keeping the rest of the pipeline in order to not lose recordings for example)
  • When pairing an external device, Marsha should return the mode of the live (jtsi or rtmp) so that the external device knows if it is compatible with this mode or not. Indeed, some cameras may only be able to stream RTMP, while other devices like the jitsi box may only be able to join a Jitsi conference. In the "jitsi" mode, the pairing process should return the conference address and JWT token to access it. In the "rtmp" mode, the pairing process should return the url and key to connect to the RTMP endpoint.
  • Switching mode should be subject to a popup confirmation explaining that the connected external devices will be disconnected and the connected users will be lost.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants