Best way to get chat messages for a specific video for a chat overlay #66
Replies: 1 comment 1 reply
-
Hello, I never did such things, so I don't really know what is possible and how it works (streamlabs, overlays, ...). NB: the chat url is like https://www.yiny.org/plugins/livechat/4.0.0/router/webchat/room/399a8d13-d4cf-4ef2-b843-98530a8ccbae , with the plugin version in it. You can also use this url https://www.yiny.org/plugins/livechat/router/webchat/room/399a8d13-d4cf-4ef2-b843-98530a8ccbae , that does not contain the plugin version. So that the url never changes. You can also try to connect to the Prosody server with an XMPP client that can use the BOSH protocol. It should be possible. To find the correct parameters, check the code in this file: https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/conversejs/builtin.ts (use the anonymous login, you will not be able to connect easily with a Peertube user). But your client should ignore cross domain warnings/errors. Perhaps @tytan652 has a solution. He is trying to achieve this by using Matterbridge. See here #57 and here #58 In the future I plan to add an option to allow XMPP client-2-server and server-2-server connections. This will definitively be a solution. But it is not my priority. And I have some technical problems to solve before I can do this. |
Beta Was this translation helpful? Give feedback.
-
Hi! So I intend on making a chat overlay that can be used to overlay on a stream, for livestreamers in an app such as streamlabs. I was wondering what would be the easiest way to get the chat messages? I could actually just use the popout chat itself, but I just need to add additional styling, specific to the overlay. What would be the easiest way to go about this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions