add vlc/ubuntu notice

This commit is contained in:
aler9 2022-05-04 09:43:01 +02:00
parent 58e3fa358e
commit 3e4bae5cab

View File

@ -60,6 +60,8 @@ Features:
* [From a Raspberry Pi Camera](#from-a-raspberry-pi-camera)
* [From OBS Studio](#from-obs-studio)
* [From OpenCV](#from-opencv)
* [Read from the server](#read-from-the-server)
* [From VLC and Ubuntu](#from-vlc-and-ubuntu)
* [RTSP protocol](#rtsp-protocol)
* [RTSP general usage](#rtsp-general-usage)
* [TCP transport](#tcp-transport)
@ -582,6 +584,25 @@ while True:
sleep(1 / fps)
```
## Read from the server
### From VLC and Ubuntu
The VLC shipped with Ubuntu 21.10 doesn't support playing RTSP due to a [license issue](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982299).
To overcome the issue, remove the default VLC instance and install the snap version:
```
sudo apt purge -y vlc
snap install vlc
```
Then use it to read the stream:
```
vlc rtsp://localhost:8554/mystream
```
## RTSP protocol
### RTSP general usage