Commit Graph

499 Commits

Author SHA1 Message Date
Ginger Wong
f30cfcf20f includes fix for #210
Merge branch 'gw/1003-firefoxscrollbars'
2020-10-03 13:51:52 -07:00
Ginger Wong
ff3a50dc03 linty stuff 2020-10-03 13:50:08 -07:00
Ginger Wong
ab1eb69fd1 apply scrollbar tricks to moz browser; make scroll colors on emoji picker easier to see; make emoji hover color easier to see 2020-10-03 13:42:48 -07:00
Gabe Kangas
e042c85f88
Hardware status admin api (#218)
* Add metrics for disk usage

* Add admin API for hardware metrics

* Fix error message alert
2020-10-02 12:18:08 -07:00
Gabe Kangas
f4fdc6c951
Current broadcaster details admin api (#206)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Store inbound broadcast details for admin purposes

* Add /api/admin/broadcaster endpoint

* Reset broadcaster on disconnect

* Move controller to admin directory
2020-10-02 00:12:47 -07:00
Gabe Kangas
236f25b772
Viewer metrics api (#208)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add viewers over time API

* Move controllers to admin directory
2020-10-02 00:06:14 -07:00
Gabe Kangas
d8c43d2c56
Add server config admin endpoint (#207)
* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests

* Add server config admin endpoint
2020-10-02 00:02:42 -07:00
Gabe Kangas
9b7784634b
First pass at YP registration/configuration (#209)
* Spike: Ping YP service with instance details

* WIP: Add to the config to support YP

* Add YP response endpoint

* Handle YP errors. Use config. Off by default

* Show message about YP support on launch

* Add animated gif preview when generating thumb

* Increase quality of preview gif and only create it if YP is enabled

* Do not allow re-registration by clearing the key

* Make large and small logos actually structured

* Change log level

* Fix default YP service URL

* Point to default hostname

* Set default value for YP to false
2020-10-01 23:55:38 -07:00
Anoop
6946d4b3ea
Make video segment filename unique (#214)
* Make video segment filename unique

* fix typo

* Remove type casting function
2020-10-01 23:34:29 -07:00
Gabe Kangas
48c8cf5ed2 Admin API to change in-memory streaming key. Closes #212 2020-10-01 23:17:27 -07:00
Gabe Kangas
7b64fc7c30
Disconnect stream Admin API + HTTP Basic Auth (#204)
* Create http auth middleware

* Add support for ending the inbound stream. Closes #191

* Add a simple success response to API requests
2020-10-01 18:16:58 -07:00
Gabe Kangas
f8068826ab Add script to build and bundle admin 2020-09-30 17:26:07 -07:00
Gabe Kangas
8aa5c33999
Update caching logic/headers (#184)
* Improve caching by adding etags and reducing the max-age

* Move caching into middleware. Set cache headers on segments
2020-09-30 14:14:39 -07:00
Gabe Kangas
6a0e8deae3 Use ISO date strings. Make random delays longer. 2020-09-28 21:39:56 -07:00
Ginger Wong
1a477de89a Merge branch 'master' of https://github.com/gabek/owncast 2020-09-27 23:04:51 -07:00
Ginger Wong
3add3897ac show play button when video is paused (issue #201) 2020-09-27 23:04:42 -07:00
gingervitis
fc27d73030
Merge pull request #171 from owncast/gek/remove-player-progress-bar
Remove player progress bar.  Closes #159
2020-09-27 22:03:40 -07:00
Gabe Kangas
ef3796a033 Use default video variants if none supplied. Fixes #199 2020-09-27 20:12:45 -07:00
Gabe Kangas
1c74b8aeca Use config-example instead of config in Docker build 2020-09-27 16:36:52 -07:00
Gabe Kangas
c9d6366b3b
Create release docker image without shipping source and go toolchain. (#188)
* Create release docker image without shipping source and go toolchain.
Closes #185

* Explicitly add ca-certificates to image

* Combine apk run commands

* Update scripts/Dockerfile-build

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>

Co-authored-by: Aaron Ogle <geekgonecrazy@users.noreply.github.com>
2020-09-26 00:44:43 -07:00
Gabe Kangas
ec9f8ba004 Stop using skypack CDN for emoji button and bump version. Address #141 2020-09-25 19:36:11 -07:00
Gabe Kangas
903a250526 Use the defaults to make the config file look simpler 2020-09-25 11:28:41 -07:00
Gabe Kangas
1a767fc2e8 Remove verbose logging from docker build 2020-09-25 11:08:53 -07:00
Gabe Kangas
63bb647990 Created a fake chat message generator script for testing 2020-09-24 23:52:54 -07:00
Gabe Kangas
519be9d3b4 Don't update viewer counts if a live stream session is not active. 2020-09-24 20:27:47 -07:00
Gabe Kangas
fc45645280 Reset session stats when we cleanup the session. Closes #180 2020-09-24 19:38:24 -07:00
Gabe Kangas
cb2794f68c Fix cleanup. ticker -> timer and stop reinstantiation 2020-09-23 21:35:27 -07:00
Gabe Kangas
0cb31644f4 Quiet, log. 2020-09-23 18:18:15 -07:00
Gabe Kangas
9b272d8d3c Make test script destination optional 2020-09-23 18:14:37 -07:00
Ginger Wong
336a35e981 Merge branch 'master' of https://github.com/gabek/owncast 2020-09-22 17:10:06 -07:00
Ginger Wong
01f956d043 detect portrait mode on mobile so it doesnt go into two col layout when keyboard is up, (#178) 2020-09-22 17:09:55 -07:00
Gabe Kangas
0ac9ea7f57 Add a test utility for timing the duration of things easily 2020-09-22 14:10:01 -07:00
Gabe Kangas
17ef8eed0d Use built-in aac codec for test script 2020-09-22 11:08:35 -07:00
Ginger Wong
58570be302 disable chat when websocket disconnects, enable it when it connects 2020-09-22 01:38:43 -07:00
Gabe Kangas
5af0afa2a0 Disable chat input when websocket disconnects. Closes #174 2020-09-22 01:22:49 -07:00
Gabe Kangas
da120fd426 Update default config file 2020-09-22 01:12:56 -07:00
gingervitis
661eedc03a
chat fixes v3 or 5 or 123 (#168)
* only consider short-heights when not smallscreen; hide status bar when small screen, but leave shadow;

* fix max char counting bugs with paste, yet be still be able to use modifier keys even when max chars reached

* rmeove 'chat' button; move into textarea

* use image for emoji picker for sizing consitency

* cleanup unused things

* - totally unecessary emoji picker style improvements
- totally necessary doctype added to emoji picker so it shows up more stable-y on mobile views

* more stable layout positioning for chat panel without hacky margins, so that the bottom of the message list will always be on top of the form input, and not behind it at any point.

* hide header on touch screens when screns are small and screen height is short (possibly when keyboard is up), so that there's more visibliity to see messages. this only works on chrome, not ios safari right now, due to the position: fixed of things.

* move char counting to keyup instead

* address message text horiz overflow (#157)

* dont jumpToBottom if user has scrolled about 200px from the bottom (#101)

* scroll to bottom on resize too

* cleanup

* revert test bool

* typo

* re-readjust short-wide case again

* - add focus to input field after emoji is selected, put cursor at end
- instead of smooth scrolling to bottom, just jump there.
2020-09-21 20:11:09 -07:00
Gabe Kangas
f2f5993e22 A shell script to point at a dir of video files to stream as test content on a loop 2020-09-21 18:31:06 -07:00
Gabe Kangas
7e2963ab1c Remove player progress bar. Closes #159 2020-09-21 14:28:12 -07:00
Gabe Kangas
2e6d61c7c2 Allow user colors to be more red 2020-09-21 14:14:55 -07:00
Gabe Kangas
38d93a549a Tweak user colors and add a little testing script for future experimenting. Closes #170 2020-09-21 13:56:07 -07:00
Gabe Kangas
257847fdf8 Fix chat visibility toggle 2020-09-20 19:27:26 -07:00
Ginger Wong
29ebe80ad0 remove test cruft so chat panel visibility is remembered 2020-09-20 15:49:52 -07:00
Ginger Wong
91590f95bb hide extra videojs video elements that dont have a src to address #165 2020-09-20 15:49:15 -07:00
Gabe Kangas
0c5e788aa2
Preload preact, emoji. Defer some js. (#162) 2020-09-20 10:03:54 -07:00
Gabe Kangas
6903db8579 Re-create offline state after wiping HLS files. For #153 2020-09-17 10:31:41 -07:00
Bradley Hilton
dd9267f1ee
Reset the directories when the stream gets disconnected (#152)
* Reset the directories when the stream gets disconnected

* Cleanup after a delay

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-09-16 13:31:21 -07:00
Gabe Kangas
80b2b9e668 Move API endpoints under an API url namespace. Closes #148 2020-09-14 16:15:53 -07:00
Gabe Kangas
6a3f634ef5
Misc web updates (#147)
* Try and clarify max viewer count string

* Shrink title font size on small screens to fit username

* Hide stream info on small screens to buy some space

* Hide emoji button on small screens until we can fix it. For #140

* Make jumping to bottom be a part of the render pass to fix race condition. For #140

* Remove About in info view. We can add it back. Just playing with that since it was missing a space anyway

* address some own mr comments

Co-authored-by: Ginger Wong <omqmail@gmail.com>
2020-09-13 22:02:04 -07:00
gingervitis
75db8c1edb
Merge pull request #146 from owncast/gek/fix-disabled-chat
Fix chat not coming back after server comes back.
2020-09-12 18:57:09 -07:00