1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-23 09:42:19 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
0371d3dc7c Authenticate streams 2020-10-01 23:31:14 +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
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
e8b145550e Skip stream tests if ffmpeg is not installed 2020-09-30 19:28:30 +02:00
Yohann D'ANELLO
ddd8be155e Try to test serving SRT server 2020-09-30 16:53:15 +02:00
Alexandre Iooss
8883c878bf
Better error handling in stream forwarder 2020-09-30 15:28:19 +02:00
Alexandre Iooss
8f7384ba35
Rename multicast to stream forwarding 2020-09-30 15:07:36 +02:00
Yohann D'ANELLO
351870e92a Merge remote-tracking branch 'origin/golang' into multicast
# Conflicts:
#	stream/srt/srt.go
2020-09-29 22:43:37 +02:00
Yohann D'ANELLO
5fa492547b Use external configuration to setup multicasts 2020-09-29 22:40:49 +02:00
Yohann D'ANELLO
2920b6883c Separate multicast feature 2020-09-29 21:31:53 +02:00
Alexandre Iooss
ad26242d4a
Simplify SRT handling 2020-09-29 20:58:55 +02:00
Yohann D'ANELLO
969d36fab4 Use FFMPEG to broadcast the stream on Twitch 2020-09-29 20:56:31 +02:00
Alexandre Iooss
5b5bf2b518
Test splitHostPort 2020-09-29 18:52:27 +02:00
Alexandre Iooss
29eeb2c0fd
Load SRT host and port from configuration 2020-09-29 16:49:30 +02:00
Yohann D'ANELLO
da5ba44e6b 🌱 Create empty test files to have a realistic coverage 2020-09-28 21:18:49 +02:00
Alexandre Iooss
92f44c981d
More code for SRT handling 2020-09-28 16:32:35 +02:00
Alexandre Iooss
6c7ac2d3b3
Fix sck to srtgo 2020-09-27 22:32:49 +02:00
Alexandre Iooss
a6e972bb51
SrtSocket is a struct 2020-09-27 22:30:12 +02:00
Alexandre Iooss
5999fc69d8
Try to fix SRT initialization 2020-09-27 22:27:18 +02:00
Alexandre Iooss
172b1c3a84
Handle stream in a goroutine 2020-09-27 22:10:47 +02:00
Yohann D'ANELLO
9e3494fe6d 🐛 Fix debug format printing 2020-09-27 21:21:58 +02:00
Alexandre Iooss
622bb42435
Switch to haivision SRT module 2020-09-27 20:43:00 +02:00
Alexandre Iooss
d4aa09c632
Add basic SRT support 2020-09-27 11:14:22 +02:00