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

Add troubleshooting section in README

This commit is contained in:
Alexandre Iooss 2020-10-03 21:16:48 +02:00
parent 81bc85ef0e
commit fd07556963
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -76,6 +76,24 @@ You may directly open the SRT stream with ffplay:
ffplay -fflags nobuffer srt://127.0.0.1:9710?streamid=demo
```
## Troubleshooting
### ld returns an error when launching ghostream
When using `libsrt-gnutls-dev` rather than `libsrt-openssl-dev` on Debian/Ubuntu,
then srtgo package is unable to build.
```bash
~/ghostream$ go run main.go
# github.com/haivision/srtgo
/usr/bin/ld : ne peut trouver -lsrt
/usr/bin/ld : ne peut trouver -lsrt
/usr/bin/ld : ne peut trouver -lsrt
collect2: error: ld returned 1 exit status
```
The solution is to switch to `libsrt-openssl-dev`.
## References
- Phil Cluff (2019), *[Streaming video on the internet without MPEG.](https://mux.com/blog/streaming-video-on-the-internet-without-mpeg/)*