Commit graph

6457 commits

Author SHA1 Message Date
Gabe Kangas
20eb8287ef Reset after player ended to force poster. Break out reset function. 2020-06-25 21:24:43 -07:00
Gabe Kangas
a31076a591 Fix I guess what was a typo 2020-06-25 18:26:54 -07:00
Gabe Kangas
04dc0796d8
New video transcoder (#27)
* New video transcoder

* Set a smaller max muxing size + logging tweaks

* No need to return an err since it wiill panic anyway

* Use a default encoder preset if one is not supplied

* Rename to NewTranscoder.  Add comments.

* Rename Bitrate to VideoBitrate. Config file changes required with this rename.

* Allow overrides of segment length. Allow offline stream to live in a single segment

* Append offline state video to existin HLS stream instead of overwriting because players do not like that

* Make properties private as they do not need to be exported
2020-06-25 17:44:47 -07:00
Gabe Kangas
17eb9da30c Remove commented out code 2020-06-25 10:27:08 -07:00
Gabe Kangas
260877f60d Enable file/line-level verbose debugging by providing enableDebugFeatures option. #20 2020-06-25 01:25:28 -07:00
Gabe Kangas
8b379f895b Support config file location as an argument. #20 2020-06-25 01:23:50 -07:00
Gabe Kangas
4132cf6d09 Move where the message type is set, and standardize on all caps CHAT 2020-06-24 23:20:19 -07:00
Gabe Kangas
8878ca1e88 Have both connect and disconnect time in the status API 2020-06-24 22:52:05 -07:00
Gabe Kangas
a297e33eff Make IDs for chat messages generated server-side, not client. For #26 2020-06-24 22:00:49 -07:00
Gabe Kangas
5dffaf215b Fix missing poster in the player. Closes #29 2020-06-24 14:34:22 -07:00
Gabe Kangas
a3273e9deb Value injection at build time seems to only work for the main package 2020-06-24 12:55:49 -07:00
Bradley Hilton
abb2f363af
Decouple chat from core and add chat rest api (#25)
* Decouple the chat package from the core

* Add rest api endpoints for the chat aspect
2020-06-23 13:11:01 -07:00
Bradley Hilton
af1e2c5dd0
Add a launch.json to enable vscode debugging (#24) 2020-06-23 00:42:56 -07:00
Bradley Hilton
fe96739f60
Fix a memory leak with the chat aspect. (#23)
Essentially, the for loop wasn't being returned out
of and that caused the read listener to never be
let up and released to the gc
2020-06-22 23:52:50 -07:00
Bradley Hilton
487bd12444
Project restructure (#18)
* First pass at restructuring the project; untested but it does compile

* Restructure builds and runs 🎉

* Add the dist folder to the gitignore

* Update core/playlist/monitor.go

* golint and reorganize the monitor.go file

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2020-06-22 18:11:56 -07:00
Gabe Kangas
b0768de6c0 Remove panic from thumbnail generation 2020-06-22 13:43:45 -07:00
Gabe Kangas
b6085130c6 Fix build script 2020-06-22 13:43:45 -07:00
Ginger Wong
e643727be5 Merge branch '0620gw-updates' 2020-06-21 01:31:51 -07:00
Ginger Wong
1a44a4bd2f user content general layout 2020-06-21 01:31:08 -07:00
Ginger Wong
1ecf39c2f1 clean up social code 2020-06-21 00:07:57 -07:00
Ginger Wong
19dee67f2a set up components and icons for optional creator's social pages; add airplay icon 2020-06-20 23:41:13 -07:00
Gabe Kangas
22a1eb90ab Fix hls_list_size and delete_segments not working 2020-06-21 06:01:16 +00:00
Gabe Kangas
7d5104d581 Get rid of obviously bad performance in the slice of segments and reference each in a map instead 2020-06-21 06:01:09 +00:00
Gabe Kangas
b1e1d0168a
Merge pull request #17 from graywolf336/update-module-path
Update the module path
2020-06-19 18:05:27 -07:00
Bradley Hilton
5ef358dbd0
Update the module path 2020-06-19 16:39:49 -05:00
Gabe Kangas
04dd7d7f90 Explicitly set poster in js 2020-06-19 13:40:44 -07:00
Gabe Kangas
4c194afce9 Experiment with markdown being supported in chat messgaes 2020-06-19 13:40:36 -07:00
Gabe Kangas
7bdc9052d3 Fix undefined reference in js 2020-06-19 12:19:18 -07:00
Gabe Kangas
56f7dbba9f Fix offline video while in passthrough mode, it needs an explicit output bandwidth 2020-06-19 11:38:20 -07:00
Gabe Kangas
a81d95eafa
Merge pull request #15 from graywolf336/prevent-duplicate-streams
Reject second stream attempting to overtake existing stream
2020-06-19 10:29:08 -07:00
Bradley Hilton
a0dfd018a9
Reject second stream attempting to overtake existing stream 2020-06-19 12:00:27 -05:00
Gabe Kangas
04e8e2d82d Fix passthrough video setting 2020-06-18 22:38:01 -07:00
Gabe Kangas
886485255a Fix errors on Firefox 2020-06-18 20:46:07 -07:00
Gabe Kangas
88b2301321
Merge pull request #10 from graywolf336/fix-initial-offline-state
Fix initial offline state
2020-06-18 18:08:26 -07:00
Bradley Hilton
5611f4d00e
Merge branch 'master' into fix-initial-offline-state 2020-06-18 20:07:23 -05:00
Gabe Kangas
69da77b054 Fix short segment thumbnails. Move to JPG thumbs. Fix default thumb copy. 2020-06-18 17:56:06 -07:00
Bradley Hilton
453bdd88a6
Remove the previous thumbnail when restarting 2020-06-18 19:39:31 -05:00
Bradley Hilton
42371a30fe
Fix the race condition where the logo wasn't copied over for the default thumbnail 2020-06-18 19:35:09 -05:00
Gabe Kangas
cfc7ea7967 Remove log 2020-06-18 15:31:51 -07:00
Gabe Kangas
465fa84b17 Add some more to .gitignore 2020-06-18 15:12:39 -07:00
Gabe Kangas
55776b0136 Add default thumbnail 2020-06-18 15:12:25 -07:00
Gabe Kangas
f1d945f4ca
Merge pull request #5 from graywolf336/add-gitignore
Add a gitignore file
2020-06-18 15:00:41 -07:00
Bradley Hilton
b79f801aff
Add a gitignore file 2020-06-18 16:43:46 -05:00
Gabe Kangas
26760b3be1 Rework how videojs is initialized 2020-06-18 14:38:06 -07:00
Gabe Kangas
f013a8639a Actually fix race condition that happens in production. I think. 2020-06-18 13:37:01 -07:00
Ginger Wong
51b79287c5 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-18 10:25:58 -07:00
Ginger Wong
b39824b8c3 updates towards more customization 2020-06-18 10:24:54 -07:00
Gabe Kangas
3ce6026cc8 Simplify videojs init 2020-06-18 01:24:09 -07:00
Gabe Kangas
e8edce5178 Continue to troubleshoot race condition at launch 2020-06-18 01:23:52 -07:00
Ginger Wong
d15080db11 Merge branch 'master' of https://github.com/gabek/owncast 2020-06-18 00:12:39 -07:00