Comments (7)
Updated the list and added persist chat
from owncast.
Disable chat after stream ends.
With 8878ca1 the web frontend now knows the time the stream disconnected. We can add a grace period so N minutes after a disconnect is when the chat is locked down. What should that value be? 5 minutes comes to mind as a middle ground. Anything longer than that and the streamer probably isn't coming back, but I could see somebody dropping off for a few minutes for whatever reason. Rebooting their computer, changing streaming settings, etc. What do you think?
from owncast.
Persist chat
How far back should we persist?
We were earlier talking about Boltdb, but it might make more sense to use SQLite so we can efficiently query against timestamps and use it more as live storage than just on-disk source of restoring an array of messages.
from owncast.
I'll look into implementing checkbox 3 - with tis logic
When status.online
has flipped to false
; then disable chat after X time.
from owncast.
Re: persisting chat - include timestamps with each message.
from owncast.
@graywolf336 Curious about your thoughts on using an ORM like https://github.com/go-gorm/gorm for working with the chat persistence, have you ever used it or anything similar? I've only used the database/sql
stuff, but I'm curious if there's any niceties around an ORM or if it's worth it for something simple like this.
from owncast.
Added basic chat persistence.
from owncast.
Related Issues (20)
- Documentation broken link: https://owncast.online/website HOT 3
- Documentation broken link: https://owncast.online/encoding HOT 1
- Documentation broken link: https://blog.rtrace.io/posts/hosting-owncast/ HOT 4
- Documentation broken link: https://blog.rtrace.io/images/rtraceio-raffael-roundbadge-1024x1024.png HOT 3
- Documentation broken link: https://yourserver/hls/stream.m3u8 HOT 3
- Documentation broken link: https://r2.dev/ HOT 1
- Documentation broken link: https://github.com/owncast/owncast/blob/web/components/_COMPONENT_HOW_TO.md HOT 1
- Documentation broken link: https://ownextend.online/ HOT 1
- Documentation broken link: https://smol.stream/emojiwall/smolstream-logo-b.png HOT 1
- Documentation broken link: https://jit.org/ HOT 1
- Documentation broken link: https://github.com/rmens/owncast.github.io/assets/6742496/d3369234-fe13-4df6-99aa-b62d4a3f2c46 HOT 1
- Documentation broken link: https://github.com/rmens/owncast.github.io/assets/6742496/49f068db-29a4-49bd-89dd-619395d25381 HOT 3
- Documentation broken link: https://developer.apple.com/documentation/http_live_streaming/understanding_the_http_live_streaming_architecture HOT 4
- Documentation broken link: Internal link: /content/docs/encoding HOT 1
- Documentation broken link: Internal link: /images/hacktoberfest.jpg HOT 1
- Documentation broken link: Internal link: /content/docs/sslproxies/caddy HOT 3
- Video embed does not fill vertical height HOT 1
- invalid streaming key? HOT 3
- How to edit the index.html?? HOT 1
- Replace unsupported Picmo emoji picker with something else HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owncast.