Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auto unmute on any control attempt #65.
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29359ba
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.
Is this really necessary?
https://github.com/m1k1o/neko/blob/dev/client/src/main.ts#L39
here it already adds an click event, which un-mutes the video on the next click.
29359ba
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.
perhaps you wanted to control the video while it is muted?
it seems like a change which I would love to see reverted.
29359ba
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.
That click event is not propagated inside control canvas, because that is stopping all events propagation (so that other keys don't get interpreted by browser but are sent to the remote one). Therefore, I needed to add extra event.
I see now, that is disables the usage of muted completly, because it unmutes on each click. Didn't realize that first, but I'd like to keep this feature, so that it unmutes only on initial click.