BATC Streamer - Chat Engine
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.
Thank you
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.
Thank you
BATC Streamer - Chat Engine
I'm working on an idea to post chats from the BATC repeater chat engine to the repeater video output. I've worked out how to do the video side and a I have a PoC working.
Could anyone with knowledge of this guide me as to how I can extract each text chat line from the BATC chat engine? A good start would be to know what the back-end chat engine is built from, perhaps there is already an integration of library out there for this part?
The plan is to use OBS chat integration feature
Rob's Stream Viewer seems to perform these functions, I'm really just wanting to extract each message as it comes.
Any guidance on a potential integration would be most appreciated.
Justin.
Could anyone with knowledge of this guide me as to how I can extract each text chat line from the BATC chat engine? A good start would be to know what the back-end chat engine is built from, perhaps there is already an integration of library out there for this part?
The plan is to use OBS chat integration feature
Rob's Stream Viewer seems to perform these functions, I'm really just wanting to extract each message as it comes.
Any guidance on a potential integration would be most appreciated.
Justin.
Re: BATC Streamer - Chat Engine
I am sure it is possible, but are you sure it is a good idea? It would effectively mean anyone being able to send messages via the repeater, which is not covered by the license.
Mike
Mike
Re: BATC Streamer - Chat Engine
I would only allow access to people who were logged into the BATC web site, by switching off "guest chat" I think it would be fine. I don't think there are many members who are not licensed, anyway if they really want to break the law I guess they can always transmit into the repeater...
Re: BATC Streamer - Chat Engine
The Chat uses SocketIO, like websocket protocol.
I've just implemented the basic functionality in my stream viewer app, it does not do the secure connection part (for logged in users), that is beyond my knowledge.
But if you disable guest chat then all messages are 'filtered'....
So you could do it using a custom python script for OBS.
Rob
I've just implemented the basic functionality in my stream viewer app, it does not do the secure connection part (for logged in users), that is beyond my knowledge.
But if you disable guest chat then all messages are 'filtered'....
So you could do it using a custom python script for OBS.
Rob
Re: BATC Streamer - Chat Engine
Yes, that would work. I think the unlicensed wouldn't have the knowledge to access the repeater anyway. If they have they could probably get a license so make sure to recruit them to the hobby.G8YTZ wrote: ↑Thu Apr 28, 2022 9:18 amI would only allow access to people who were logged into the BATC web site, by switching off "guest chat" I think it would be fine. I don't think there are many members who are not licensed, anyway if they really want to break the law I guess they can always transmit into the repeater...
Mike
Re: BATC Streamer - Chat Engine
Rob,
That's more-or-less my idea. Use the site PC to run OBS (or something similar) and plonk the chats on a green screen, then I can use the ATEM upstream keyer to key in the chat.
Any help with what a script could look like, or indeed if I could somehow use your chat window rather than OBS, but just display each chat for 10 seconds or so.
Justin.
That's more-or-less my idea. Use the site PC to run OBS (or something similar) and plonk the chats on a green screen, then I can use the ATEM upstream keyer to key in the chat.
Any help with what a script could look like, or indeed if I could somehow use your chat window rather than OBS, but just display each chat for 10 seconds or so.
Justin.
Re: BATC Streamer - Chat Engine
I'll try have a look this week and see if i can get something to work..
Rob
Rob
Re: BATC Streamer - Chat Engine
Spent a few hours playing with this tonight but annoyingly no luck so far...
For some reason I can't seem to get the python-socketio library to connect, it's just returning a 404 error....hmmm
Wil play some more if i get time and see if i get any further.
Rob
For some reason I can't seem to get the python-socketio library to connect, it's just returning a 404 error....hmmm
Wil play some more if i get time and see if i get any further.
Rob
Re: BATC Streamer - Chat Engine
That would be cool if you could suss it out!