How to stream with OBS

This commit is contained in:
Alexandre Iooss 2020-09-29 13:43:49 +02:00
parent a01e489089
commit 19a331b9e0
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,7 @@ This project was developped at [Cr@ns](https://crans.org/) to stream events.
Features:
- WebRTC playback with a lightweight web interface.
- SRT stream input, supported by FFMpeg, OBS and Gstreamer.
- Low-latency streaming, sub-second with web player.
- Authentification of incoming stream using LDAP server.
@ -38,6 +39,13 @@ docker run -it --rm -p 8080:8080 -p 2112:2112 -p 9710:9710 ghostream
As stated by OBS wiki, when streaming you should adapt the latency to `2.5 * (the round-trip time with server, in μs)`.
### With OBS
As OBS uses FFMpeg, you need to have FFMpeg compiled with SRT support. To check if SR is available, run `ffmpeg -protocols | grep srt`.
On Windows and MacOS, OBS comes with his own FFMpeg that will work.
In OBS, go to "Settings" -> "Stream" and change "Service" to "Custom..." and "Server" to `srt://127.0.0.1:9710`.
### With GStreamer
To stream X11 screen,