1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 15:02:19 +00:00

Clarify gstreamer in README

This commit is contained in:
Alexandre Iooss 2020-10-14 10:12:37 +02:00
parent 80dbbfef79
commit b612ce192e
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -63,7 +63,7 @@ For container, you may use MPEGTS for now (will change).
### With GStreamer ### With GStreamer
To stream X11 screen, To stream your X11 screen,
```bash ```bash
gst-launch-1.0 ximagesrc startx=0 show-pointer=true use-damage=0 \ gst-launch-1.0 ximagesrc startx=0 show-pointer=true use-damage=0 \
@ -73,6 +73,8 @@ gst-launch-1.0 ximagesrc startx=0 show-pointer=true use-damage=0 \
! srtserversink uri=srt://127.0.0.1:9710/ latency=1000000 streamid=demo:demo ! srtserversink uri=srt://127.0.0.1:9710/ latency=1000000 streamid=demo:demo
``` ```
*This might not work at the moment.*
## Playing stream ## Playing stream
### With a web browser and WebRTC ### With a web browser and WebRTC
@ -109,7 +111,7 @@ As MPV uses ffmpeg libav, support for SRT streams can be easily added.
### ld returns an error when launching ghostream ### ld returns an error when launching ghostream
When using `libsrt-gnutls-dev` rather than `libsrt-openssl-dev` on Debian/Ubuntu, When missing `libsrt-openssl-dev` on Debian/Ubuntu,
then srtgo package is unable to build. then srtgo package is unable to build.
```bash ```bash
@ -121,8 +123,6 @@ then srtgo package is unable to build.
collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status
``` ```
The solution is to switch to `libsrt-openssl-dev`.
## References ## References
- Phil Cluff (2019), *[Streaming video on the internet without MPEG.](https://mux.com/blog/streaming-video-on-the-internet-without-mpeg/)* - Phil Cluff (2019), *[Streaming video on the internet without MPEG.](https://mux.com/blog/streaming-video-on-the-internet-without-mpeg/)*