-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add input to rename internal video streams #1359
Add input to rename internal video streams #1359
Conversation
Signed-off-by: Arturo Manzoli <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the internal stream name is changed, are all the widgets that are connected to it losing their connection?
Yes, they are. I think is alright to automate that. |
There are probably two options here:
The first option is the easiest to implement, but it's much more likely to incur in bugs. The second is probably the right approach, unlikely to create any bug situations, as it removes the need for any side-effects, but involves a little more work. |
Signed-off-by: Arturo Manzoli <[email protected]>
I went for option 1, but using a very controlled approach |
Just to make sure, if the widgets were assigned to one stream, and this stream had its internal name changed, what is going to happen? Is it creating some error or is it auto-connecting to the first one available? |
After a stream is renamed, both the player and mini-recorder will check if the renamed stream is the one they are using. If it is, they will retrieve the new name from the video store and replace the old (renamed) one. If not, nothing happens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's all working fine for me!
I would ask you only to test it as much as possible before the next release. I will do the same here.
My main concern is if people rename streams and the widgets don't get it, specially the video recorder, so a user clicks the record button expecting things to be recorded and they are not. I didn't find any signs for this situation in the code thought.
I agree with your concerns. I'll test for that also |
Now user can double click the stream name or press the 'pencil' icon to change its internal name:
Screenshare.-.2024-09-23.2_29_18.PM.mp4
Closes #1336