Commit graph

9616 commits

Author SHA1 Message Date
Matt Steele
edec533eef
Set Content-Type on status endpoint (#70) 2020-07-19 10:26:05 -07:00
Gabe Kangas
fbfea8e38c Throw and error if a stream key is not set in the config 2020-07-18 17:46:18 -07:00
Ginger Wong
d775924c59 barebones noscript layout 2020-07-18 17:44:18 -07:00
Gabe Kangas
fff911010c Centralize default values into an instance of config. For #64 2020-07-18 17:41:15 -07:00
Gabe Kangas
2855027f22
Use endpoint for chat history instead of websocket (#67)
* Change placeholder when chat is disabled

* Use the /chat endpoint for bulk chat history population instead of websocket. For #47

* Force LiveUI/seek bar during live to show. Closes #11.

* Change pulling chat history into app.js

* Force new messages to have visability = true
2020-07-18 17:27:04 -07:00
Ginger Wong
38a279485b disable click events on video container when offilne 2020-07-18 17:18:58 -07:00
Ginger Wong
e12de3215f cleanup 2020-07-18 17:17:10 -07:00
Ginger Wong
0af67c0cdc simplified layout updates based on only media queries 2020-07-18 17:15:52 -07:00
Gabe Kangas
7c6d7669c4 Whoops. Missing file. Thanks automated build 2020-07-18 15:39:30 -07:00
Gabe Kangas
a266633a9a Force LiveUI/seek bar during live to show. Closes #11. 2020-07-18 15:37:17 -07:00
Gabe Kangas
8ba0b6d7ce Show in the UI how long the user has been streaming for. Closes #59 2020-07-18 15:08:43 -07:00
Gabe Kangas
addfce2ec9 Change placeholder when chat is disabled 2020-07-16 20:15:08 -07:00
Gabe Kangas
3eba516f04 Add cachebuster to source to force new video. Attempt to fix #63 2020-07-16 19:54:12 -07:00
gingervitis
42b0b05d78
App Javascript refactor (#56)
* objectify app away from window. wip

* fix messaging obj binding; put logo behind video; fix /null issue with temp logo image

* first pass at js refactor

* remove unused files that had been consolidated during refactor

* set up vue before getting config

* add a few comments

* dont use big arrow function, just bind, for safari

* add airplay after instantiating video; check if input exists before disabling it;:

* only set poster on pause during playback, and onEnded; take out sample videoJS tech options

* disable chat after 5mins after going offline

* move 'online' class to video container as it conflicts with dynamically change classnames from non-vue sources

* disable chat based on lastdisconnecttime

* fix typo; do offline mode onEnded instead of status offline

* move offline ui display things to offline mode function; move poster setting on pause to main app to keep player obj cleaner; use opacity to hide video element on offline as sometimes control bars may still linger with vis:hidden

* fixes'

* don't autoplay. just show play button when stream is online so that it's easier to start playign without looking for the unmute button

* clean up console logs

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-07-16 12:17:05 -07:00
Gabe Kangas
2afde7b3f9 Fix missing default video bitrate if none is supplied 2020-07-15 23:56:14 -07:00
Gabe Kangas
a277012650 Limit the backlog of chat messages to recent messages. For #47 2020-07-15 22:06:24 -07:00
Gabe Kangas
aebbce4b76 Add some simple load tests 2020-07-15 21:40:22 -07:00
Gabe Kangas
a8fe8a1cfa Add support for specifying the path for chat db. Closes #61 2020-07-15 17:20:47 -07:00
Gabe Kangas
26e4092295 Cleanup unnecessary items in main readme 2020-07-15 16:46:26 -07:00
Gabe Kangas
5f37baf410 Use higher quality logo in config 2020-07-15 16:24:54 -07:00
Gabe Kangas
5fe9955f26 Increase the time between broadcast started and when we are marked as online 2020-07-15 16:14:12 -07:00
Gabe Kangas
ccf556eb39 uncomment 2020-07-15 10:40:04 -07:00
Gabe Kangas
95fd8aed96 Added a basic transcoder test 2020-07-14 18:54:52 -07:00
Gabe Kangas
a9a46a4493 Run the container in the background so Github actions does not get hung up 2020-07-14 18:22:07 -07:00
Gabe Kangas
738570563e Update the dev dockerfile and build dockerfile to fix #60 2020-07-14 17:51:48 -07:00
Gabe Kangas
a7a9ae0984 Fix incorrect logging method 2020-07-14 16:48:41 -07:00
Gabe Kangas
63954d4e1b We only have a single test, but might as well run it anyway 2020-07-14 16:46:58 -07:00
Gabe Kangas
58858c99c2 Github action for building binary + docker image 2020-07-14 16:27:53 -07:00
Gabe Kangas
a11999c3c0 Log cleanup 2020-07-13 23:55:12 -07:00
Gabe Kangas
ec83e11bd9 Approximately 3 segments should be available before playback can start 2020-07-13 23:51:55 -07:00
Gabe Kangas
dd1b9411bf Add verbose logging for RTMP metadata 2020-07-13 23:32:35 -07:00
Gabe Kangas
4559bde977 Most things have 30 as a standard fps instead of 25 2020-07-13 20:58:45 -07:00
Gabe Kangas
a9a83f78a3 Set a default framerate so we can specify the correct iframe settings 2020-07-13 19:37:25 -07:00
Gabe Kangas
ab21706d73 Add our own botlist for user-agent matching. Closes #51 2020-07-13 19:07:30 -07:00
Gabe Kangas
46b3922e1d Add who Owncast is not for question in FAQ 2020-07-13 17:11:34 -07:00
Gabe Kangas
8dfe3360e1 Fix typo 2020-07-13 16:29:03 -07:00
Gabe Kangas
579688ba36 Comment and document configuration stuffs 2020-07-13 15:53:57 -07:00
Gabe Kangas
fe102e7164 Make setting the offline content optional 2020-07-13 15:13:24 -07:00
Gabe Kangas
15f24b84ce Make setting extraUserInfoFileName optional 2020-07-13 15:10:16 -07:00
Gabe Kangas
b23adcecb1 Remove extra items in config to continue to simplify 2020-07-13 15:04:53 -07:00
Gabe Kangas
8e473048ff Remove S3 and IPFS frome example config as they are optional 2020-07-13 14:57:00 -07:00
Gabe Kangas
0027957a33 Make setting the max # of segments in playlist optional 2020-07-13 14:55:21 -07:00
Gabe Kangas
9b104f1d40 Make setting the web server port optional 2020-07-13 14:48:56 -07:00
Gabe Kangas
44806d1a8e Make setting save location paths optional 2020-07-13 14:45:54 -07:00
Gabe Kangas
d51901e191 Make setting the segment length optional 2020-07-13 14:39:44 -07:00
Gabe Kangas
51e2e68017 Support default path of ffmpeg and not needing to specify it in the config 2020-07-13 14:32:12 -07:00
Gabe Kangas
5b0eb8834f Fix mastodon typo. Closes #57 2020-07-13 14:16:41 -07:00
Gabe Kangas
bd5fce42c0 Add screenshot to README 2020-07-13 08:33:10 -07:00
Gabe Kangas
d8960f420a Updated build script to use xgo and support cgo. Closes #54 2020-07-12 23:19:08 -07:00
Matt Steele
965c213d59
Correct indenting (#55) 2020-07-12 15:58:59 -07:00