Commit Graph

515 Commits

Author SHA1 Message Date
Bruno-DaSilva ded51b2b20
Add unlocks to error cases in handlers::handlePublish()
In handlers::handlePublish(), the mutex for the rtmp stream is locked at the beginning of the function. The previous implementation checked for error cases (e.g. incorrect stream key), logging and immediately returning if an error case was found. The mutex, however, was not unlocked, leading to the server effectively 'freezing' as other interactions try and lock that mutex. 
This MR adds mutex unlocks in each error case to ensure that the server continues to function in the event of a recoverable error.
2020-12-01 21:23:41 -08:00
Nick 9da46087e1
Merge pull request #144 from zorglube/master
Templated the chat messages.
2020-11-14 12:39:15 -05:00
Zorglube 0fa99f7ab4 Templated the chat messages. 2020-11-11 20:51:29 +01:00
Zorchenhimer e26ae33758 Fix building on non-windows machines
Don't default to windows if GOOS is not set.  Likewise, don't default to
386 if GOARCH isn't set.  Go will use the system's default values, or
any values set before running `make`.
2020-11-04 23:20:15 -05:00
Zorchenhimer a840f80f9a Fix make recipe for wasm_exec.js file
Add GO_VERSION to the command that copies the wasm_exec.js file so it
will look in the correct folder when using an alternate version of Go.
2020-11-04 22:59:01 -05:00
Nick 15f790ae56
Merge pull request #141 from zorglube/master
Run from anywhere, build for different ARCH (Third time)
2020-11-03 20:14:00 -05:00
Zorglube a0b3e856c2 revert common/chatdata.go 2020-11-02 12:45:15 +01:00
Zorglube 8260e9c9df zorchenhimer PR comment 2020-11-02 12:41:34 +01:00
Bertrand Moreau 2d1cd12fc0 Chat template 2020-10-26 14:27:14 +01:00
Zorglube 7349628293 setting.go:
- Leave the position of the log file free
2020-10-24 01:08:57 +02:00
Zorglube 6b7e6cd083 Fixed the Emotes feature 2020-10-20 20:57:05 +02:00
Zorglube c8fa4746ce Merge branch 'master' of https://github.com/zorglube/MovieNight into master 2020-10-20 01:10:32 +02:00
Zorglube 0ecc199621 Makefile.common: fix stupid mistake 2020-10-20 01:09:31 +02:00
Zorglube 3a61dc6948 MakeFile: typo 2020-10-20 01:09:31 +02:00
Bertrand Moreau ebb0d7bdc2 Crossplatform make
Work in progress 50%
2020-10-20 01:09:31 +02:00
Bertrand Moreau be67c27355 Typo + cross-compile arch 2020-10-20 01:09:31 +02:00
Zorglube 223fabf53a Create MakeFile.BSD 2020-10-20 01:09:28 +02:00
Zorglube 4e9741fa6e Add DSB into builds 2020-10-20 01:07:43 +02:00
Bertrand Moreau 87d2d201ec Removed: if windows
It isn't mandatory to be suffixed by ".exe" to be runnable into an
windows.
2020-10-20 01:01:58 +02:00
Bertrand Moreau 516b9a212b Run from anywhere
Get the runpath at runtime, in order to run MovieNight from whatever
position into the filesystem.
2020-10-20 01:01:55 +02:00
Zorglube b3dc13affb Relative running 2020-10-20 00:59:57 +02:00
Zorglube 8c7a303e14 absolut dir 2020-10-20 00:56:52 +02:00
Zorglube 304e4751e2 Relative dir 2020-10-20 00:56:47 +02:00
Zorglube a8d1019dc0 BSD Make if 2020-10-20 00:53:14 +02:00
Zorglube 3b3ec278a6 Update .travis.yml 2020-10-20 00:53:13 +02:00
Zorglube bdc4adc5a6 Update .travis.yml 2020-10-20 00:53:13 +02:00
Bertrand Moreau 7ff584504c remove Clever Could conf 2020-10-20 00:53:13 +02:00
Bertrand Moreau 73d0731849 Remove git workflow 2020-10-20 00:53:13 +02:00
Bertrand Moreau aa666a1bbb Remove release 2020-10-20 00:53:13 +02:00
Zorglube 0e4b8db4c1 Release update 2020-10-20 00:53:13 +02:00
Zorglube e37a5271ce Release FreeBSD 2020-10-20 00:53:13 +02:00
Zorglube 8ce5687e01 GitHub CI/CD 2020-10-20 00:53:13 +02:00
Zorglube 6db037840a "appIsGoPath": false 2020-10-20 00:53:13 +02:00
Bertrand Moreau 1599fd90d2 Revert "Clever Cloud : "appIsGoPath": true,"
This reverts commit b75f9e6ca0.
2020-10-20 00:53:13 +02:00
Bertrand Moreau 4eb6f0c6c0 Revert "Clever Cloud : "appIsGoPath": false"
This reverts commit dcad017738.
2020-10-20 00:53:13 +02:00
Bertrand Moreau 072d5d351b Revert ""appIsGoPath": true"
This reverts commit 5d0786577e.
2020-10-20 00:53:13 +02:00
Zorglube 081b34e6c1 "appIsGoPath": true 2020-10-20 00:53:13 +02:00
Zorglube 0569ff41a1 Clever Cloud : "appIsGoPath": false 2020-10-20 00:53:13 +02:00
Zorglube f6e1f72eab Clever Cloud : "appIsGoPath": true, 2020-10-20 00:53:13 +02:00
Bertrand Moreau fccd8c59d5 Remove git workflow 2020-10-20 00:51:29 +02:00
Bertrand Moreau a9c02bf4ef Remove release 2020-10-20 00:51:29 +02:00
Zorglube 4f0985f3c5 Release update 2020-10-20 00:51:29 +02:00
Zorglube 9a25073869 Release FreeBSD 2020-10-20 00:51:29 +02:00
Zorglube ea13725618 GitHub CI/CD 2020-10-20 00:51:29 +02:00
Bertrand Moreau a17c0243a0 Revert "Clever Cloud : "appIsGoPath": true,"
This reverts commit b75f9e6ca0.
2020-10-20 00:51:29 +02:00
Bertrand Moreau ab84989606 Revert "Clever Cloud : "appIsGoPath": false"
This reverts commit dcad017738.
2020-10-20 00:51:29 +02:00
Bertrand Moreau f15e8274ca Revert ""appIsGoPath": true"
This reverts commit 5d0786577e.
2020-10-20 00:51:29 +02:00
Zorglube a7f99a8853 "appIsGoPath": true 2020-10-20 00:51:29 +02:00
Zorglube 7f61d31245 Clever Cloud : "appIsGoPath": false 2020-10-20 00:51:29 +02:00
Zorglube 7b9720af04 Clever Cloud : "appIsGoPath": true, 2020-10-20 00:51:29 +02:00