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

Bug: Hiding Anonymous Chats brokes OBS integration #307

Open
MattyBoombalatty opened this issue Feb 4, 2024 · 3 comments
Open

Bug: Hiding Anonymous Chats brokes OBS integration #307

MattyBoombalatty opened this issue Feb 4, 2024 · 3 comments
Labels
bug Something isn't working Searching Sponsor Issues that needs a funding to be done.
Milestone

Comments

@MattyBoombalatty
Copy link

When hiding anonymous chats in the plugin admin interface, the OBS integration is broken.

@JohnXLivingston
Copy link
Owner

Good catch. Thanks.

@JohnXLivingston JohnXLivingston removed their assignment Feb 5, 2024
@JohnXLivingston JohnXLivingston added the bug Something isn't working label Feb 5, 2024
@JohnXLivingston JohnXLivingston added this to the Bug Fixes milestone Feb 5, 2024
@JohnXLivingston JohnXLivingston changed the title Hiding Anonymous Chats Disables OBS Plugin Bug: Hiding Anonymous Chats Disables OBS Plugin Feb 5, 2024
@JohnXLivingston JohnXLivingston changed the title Bug: Hiding Anonymous Chats Disables OBS Plugin Bug: Hiding Anonymous Chats brokes OBS integration Feb 5, 2024
@JohnXLivingston JohnXLivingston added the Searching Sponsor Issues that needs a funding to be done. label Apr 15, 2024
@JohnXLivingston
Copy link
Owner

JohnXLivingston commented Jun 19, 2024

When hiding anonymous chats in the plugin admin interface, the OBS integration is broken.

Hello @MattyBoombalatty.

I released a new version of the plugin this morning, version 10.1.0.
This version comes with a new feature, that make it possible to generate authentication tokens, so that you can integrate the chat as OBS dock: https://johnxlivingston.github.io/peertube-plugin-livechat/documentation/user/obs/#obs-dock

image

This is not documented yet, but you can combine these tokens with the readonly mode.

To do so, you have just to mix the url from both modes (the readonly mode, and the dock mode):

  • take the readonly mode url (something like http://example.com/plugins/livechat/router/webchat/room/8df24108-6e70-4fc8-b1cc-f2db7fcdd535?_readonly=noscroll&_transparent=true
  • generate a token, and copy the end part of the dock url (everything after "#", should look like: #?p=AeogLUHNHQDmGrBimVDclEvBeOYsU6&j=root%40p1.localhost&n=Root)

You should end up with something like: http://example.com/plugins/livechat/router/webchat/room/8df24108-6e70-4fc8-b1cc-f2db7fcdd535?_readonly=noscroll&_transparent=true#?p=AeogLUHNHQDmGrBimVDclEvBeOYsU6&j=root%40p1.localhost&n=Root

@MattyBoombalatty
Copy link
Author

Thank you! Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Searching Sponsor Issues that needs a funding to be done.
Projects
Status: Next Todo
Development

No branches or pull requests

2 participants