This Repo is for testing the deb package of rpi-webrtc-streamer. For more information on rpi-webrtc-streamer, please refer to this Rpi-WebRTC-Streamer Repo.
- Raspberry PI 2/3
- Raspberry Pi Zero W
- RPI Camera board V1/V2
- Arducam 5 Megapixels 1080p Sensor OV5647 Mini Camera Video Module
The latest Deb versions are listed below.
Deb File | SHAsum | Date |
---|---|---|
rws_0.73.2_armhf.deb | cae754917e0a8e022a462e672bf641783f2fa17a | 2018-05-01 |
rws_0.73.2_RaspiZeroW_armhf.deb | 240b8911b0c0965e9932802ac0988b01d8808cb7 | 2018-05-01 |
The downloaded file can be installed with the following command.
The two apt commands below does not need to be run if the current Raspberry PI OS is up to date.
sudo apt update
sudo apt full-upgrade
sudo dpkg -i rws_xxx_armhf.deb
To remove rws package, please use following command
sudo dpkg -r rws
Since the current log directory is located in the installation directory, you can delete the '/opt/rws' directory manally after dpkg remove.
When the installation is complete, the following files and directories are created under /opt/rws.
File/Directory | Description |
---|---|
LICENSE | There are LICENSE files for the S/W package and libraries used by RWS. |
webrtc-streamer | RWS man binary executable |
etc | configuration files |
web-root | Where test html files and js files are located. |
log | Directory where log messages are stored. Files from rws_log_0 to rws_log_9 are created. If webrtc-streamer is not restarted, the files will not moved between shift folders. When the process is restarted, the log files in the '/opt/rws/log' directory are moved to 00. And files in 00 move to 01, 01 move to 02 ... the log files in the last 09 directory are deleted. |
RWS is only compatible with systemd. To execute the process and check the status, use the following command.
sudo systemctl start rws
sudo systemctl stop rws
sudo systemctl status rws
is used for process status checking.
sudo journalctl -u rws
for log message for process start/stop/standard error log checking.
sudo systemctl status rws
● rws.service - Rpi WebRTC Streamer
Loaded: loaded (/etc/systemd/system/rws.service; enabled)
Active: active (running) since Thu 2017-06-08 21:08:45 KST; 2h 47min ago
Main PID: 14968 (webrtc-streamer)
CGroup: /system.slice/rws.service
└─14968 /opt/rws/webrtc-streamer --log /opt/rws/log
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Hint: Some lines were ellipsized, use -l to show in full.
sudo journalctl -u rws
Jun 08 19:56:05 raspberrypi systemd[1]: Stopped Rpi WebRTC Streamer.
Jun 08 19:56:05 raspberrypi systemd[1]: Stopped Rpi WebRTC Streamer.
Jun 08 21:08:45 raspberrypi systemd[1]: Starting Rpi WebRTC Streamer...
Jun 08 21:08:45 raspberrypi systemd[1]: Started Rpi WebRTC Streamer.
Jun 08 21:08:45 raspberrypi systemd[1]: Started Rpi WebRTC Streamer.
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL
Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM
Open the following URL in the chrome browser will display the native-peerconnection testing page.
http://your-private-ip-address:8889/native-peerconnection/
8889
port number is the websocket_port specified in the config file, and the URL protocol uses http instead of https.
Please refer to RWS repo for version-specific history and function description.