2019-03-29 21:25:57 +00:00
|
|
|
|
2019-03-29 21:33:58 +00:00
|
|
|
name: v4l2-rtspserver
|
2019-03-30 14:58:34 +00:00
|
|
|
version: git
|
2019-03-30 11:57:49 +00:00
|
|
|
summary: RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
|
2019-03-29 21:25:57 +00:00
|
|
|
description: |
|
2019-03-30 15:32:26 +00:00
|
|
|
This is a lightweight streamer feed from :
|
|
|
|
* an Video4Linux device that support H264, HEVC, JPEG, VP8 or VP9 capture.
|
|
|
|
* an ALSA device that support PCM S16_BE, S16_LE, S32_BE or S32_LE
|
|
|
|
The RTSP server support :
|
|
|
|
* RTP/UDP unicast
|
|
|
|
* RTP/UDP multicast
|
|
|
|
* RTP/TCP
|
|
|
|
* RTP/RTSP/HTTP
|
|
|
|
The HTTP server support (available using -S option for capture format that could be muxed in Transport Stream):
|
|
|
|
* HLS
|
|
|
|
* MPEG-DASH
|
|
|
|
It could run on personnal computer, but also on raspberry-pi, nano-pi or onion-omega2+.
|
2019-03-29 21:25:57 +00:00
|
|
|
|
2019-03-30 15:32:26 +00:00
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
2019-03-29 21:25:57 +00:00
|
|
|
|
|
|
|
parts:
|
2019-03-30 14:58:34 +00:00
|
|
|
v4l2rtspserver:
|
2019-03-29 21:58:48 +00:00
|
|
|
plugin: cmake
|
2019-03-30 11:57:49 +00:00
|
|
|
source: .
|
2019-03-29 21:58:48 +00:00
|
|
|
source-type: git
|
2019-03-30 11:57:49 +00:00
|
|
|
build-packages:
|
|
|
|
- g++
|
|
|
|
- make
|
|
|
|
- pkg-config
|
|
|
|
- liblog4cpp5-dev
|
|
|
|
- libasound2-dev
|
2019-03-30 15:32:26 +00:00
|
|
|
stage-packages:
|
2019-03-30 17:17:10 +00:00
|
|
|
- liblog4cpp5v5
|
|
|
|
- libasound2
|
2019-03-29 21:58:48 +00:00
|
|
|
|
2019-03-30 17:17:10 +00:00
|
|
|
apps:
|
|
|
|
v4l2rtspserver:
|
2020-08-16 19:22:40 +00:00
|
|
|
command: v4l2rtspserver -b $SNAP/share/v4l2rtspserver/ -P "$(snapctl get rtsp-port)" "$(snapctl get devices)"
|
2019-03-30 17:17:10 +00:00
|
|
|
daemon: simple
|
|
|
|
plugs: [network-bind]
|