Commit Graph

294 Commits

Author SHA1 Message Date
Yohann D'ANELLO 610ddfab28 Handle client connection closure 2020-10-04 13:08:46 +02:00
Alexandre Iooss 2a24598aea
Use password to diff viewer from streamer 2020-10-04 12:40:56 +02:00
Alexandre Iooss 3c16c11f38
Hide sidebar widget if no url provided 2020-10-04 11:57:42 +02:00
Alexandre Iooss db0937dd1a
Remove useless comments in SRT 2020-10-04 11:45:53 +02:00
Alexandre Iooss 5cdb5282ef
Display SRT url on web page 2020-10-04 11:45:16 +02:00
Alexandre Iooss 3f5d317250
Do not use file mode for SRT 2020-10-04 11:25:55 +02:00
Alexandre Iooss 97ac6f370d
Add MPV and OBS instructions in README 2020-10-04 11:20:25 +02:00
Alexandre Iooss 848b03a262
Add default demo:demo credentials 2020-10-04 10:39:17 +02:00
Yohann D'ANELLO 83da3cc392 Docker production image must download libsrt from the edge repository 2020-10-04 01:34:09 +02:00
Alexandre Iooss 58e0473f42
Translate ld error 2020-10-03 21:19:57 +02:00
Alexandre Iooss fd07556963
Add troubleshooting section in README 2020-10-03 21:16:48 +02:00
Alexandre Iooss 81bc85ef0e
Typo in README 2020-10-03 18:28:42 +02:00
Alexandre Iooss 32739e156f
How to play in README 2020-10-03 18:28:06 +02:00
Alexandre Iooss 6172cf89be
Remove globals in SRT server 2020-10-03 17:50:34 +02:00
Alexandre Iooss 93ac5a7de1
Comment Server SRT 2020-10-03 17:42:38 +02:00
Yohann D'ANELLO 98a798429c Linting 2020-10-03 16:15:42 +02:00
Yohann D'ANELLO 8da60ebdcc Add empty configuration in Web Handler test 2020-10-03 13:28:54 +02:00
Yohann D'ANELLO 94224edfba Enlarge forwarding channel to avoid blockings from the forwarding package 2020-10-03 00:08:32 +02:00
Yohann D'ANELLO 8498829e08 Support stream listening 2020-10-02 23:35:01 +02:00
Yohann D'ANELLO 087d6eee3b Use : as more conventional separator for user:password 2020-10-02 22:39:38 +02:00
Yohann D'ANELLO 596beeeb89 Manage SRT sockets in a dedicated go routine 2020-10-02 22:12:13 +02:00
Yohann D'ANELLO 7ceecad355 ID is better than Id according to Golang 2020-10-02 21:13:50 +02:00
Yohann D'ANELLO 8eab4dfe22 ID is better than Id according to Golang 2020-10-02 10:33:16 +02:00
Yohann D'ANELLO 12bd0b71e3 Reorder imports 2020-10-02 09:46:15 +02:00
Yohann D'ANELLO 8c2a7f73d7 Don't hardcode SRT API value 2020-10-02 09:44:31 +02:00
Yohann D'ANELLO 8520fedf87 Add stream authentication in README 2020-10-01 23:33:29 +02:00
Yohann D'ANELLO 0371d3dc7c Authenticate streams 2020-10-01 23:31:14 +02:00
Yohann D'ANELLO b5338e06bc Fix forwarding test, overwrite /dev/null 2020-10-01 20:53:26 +02:00
Yohann D'ANELLO 1511884ee6 Test authentication 2020-10-01 20:11:43 +02:00
Yohann D'ANELLO 650040ef10 Forwarding test must serve then the forwarding package in a subroutine 2020-10-01 19:34:40 +02:00
Yohann D'ANELLO d7e104261f Unify the forwarding package start with the other, start it in a go routine 2020-10-01 19:26:12 +02:00
Yohann D'ANELLO 98d5c609a3 Comment Packet structure 2020-10-01 19:05:39 +02:00
Yohann D'ANELLO e74213fefa 🐛 Copy SRT data in another buffer before sending it in the forwarding package to avoid overwriting issues 2020-10-01 18:54:35 +02:00
Yohann D'ANELLO ee1f1e331b 💩 Change port of SRT server if the forwarding test. We should instead kill the server after the test. 2020-10-01 12:09:49 +02:00
Yohann D'ANELLO c0689ae063 💩 Change port of SRT server if the forwarding test. We should instead kill the server after the test. 2020-10-01 12:07:28 +02:00
Yohann D'ANELLO efa44488c0 Use channels to send SRT packets to forwarded streams 2020-10-01 12:00:59 +02:00
Yohann D'ANELLO dc7a3fef9f Test stream forwarding, but disable it while the project structure is not clean, ie. to avoid that forwarding is a dependency to srt 2020-10-01 11:20:34 +02:00
Yohann D'ANELLO cc4c556f2c Wait 1 second after the web server got served to avoid a request that came too early 2020-10-01 09:47:59 +02:00
Yohann D'ANELLO cb14434091 🐳 Use Alpine edge repo version in Dockerfile since libsrt is not packaged in v3.12 yet 2020-10-01 09:40:37 +02:00
Yohann D'ANELLO 0a95aae42b 🎉 libsrt got packaged in community's Alpine Linux repo, FFMPEG is compiled with libsrt, so we use Alpine Linux 2020-10-01 09:29:25 +02:00
Yohann D'ANELLO 3828168742 🐳 Use COPY . . in Dockerfile since there isn't any proper method to copy folders in Docker image 2020-09-30 23:01:45 +02:00
Yohann D'ANELLO e8b145550e Skip stream tests if ffmpeg is not installed 2020-09-30 19:28:30 +02:00
Yohann D'ANELLO 3c21f744e8 Build the docker image over Debian Bullseye since Alpine FFMPEG is not built with libsrt yet 2020-09-30 19:28:08 +02:00
Yohann D'ANELLO f455950865 FFMPEG is needed to use stream forward 2020-09-30 16:59:45 +02:00
Yohann D'ANELLO ddd8be155e Try to test serving SRT server 2020-09-30 16:53:15 +02:00
Michaël Paulon 2096643ab4 you need the -dev package to get srt/srt.h 2020-09-30 16:36:59 +02:00
Yohann D'ANELLO 56c89879c8 Try to test serving HTTP server 2020-09-30 16:11:51 +02:00
Yohann D'ANELLO ea860a0790 More coverage on web package 2020-09-30 16:09:25 +02:00
Alexandre Iooss ac40d81e98
Use fetch API to fetch viewers count 2020-09-30 15:56:24 +02:00
Alexandre Iooss 9fe544b7bc
Add a favicon 2020-09-30 15:52:26 +02:00