├── README.md ├── rws_0.73.2_RaspiZeroW_armhf.deb ├── rws_0.73.2_armhf.deb ├── rws_0.74.1_RaspZeroW_armhf.deb └── rws_0.74.1_armhf.deb /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Rpi WebRTC Streamer Package 3 | 4 | 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](https://github.com/kclyu/rpi-webrtc-streamer). 5 | 6 | ## Supported Hardware 7 | 8 | ### Raspberry PI 9 | - Raspberry PI 2/3 10 | - Raspberry Pi Zero W 11 | 12 | ### Video Camera 13 | - RPI Camera board V1/V2 14 | - Arducam 5 Megapixels 1080p Sensor OV5647 Mini Camera Video Module 15 | 16 | ## Latest Deb Package 17 | The latest Deb versions are listed below. 18 | 19 | 20 | |Deb File|SHAsum|Date| 21 | |----------------|---------------|---------------| 22 | |[rws_0.74.1_armhf.deb](https://github.com/kclyu/rpi-webrtc-streamer-deb/blob/master/rws_0.74.1_armhf.deb)|17699dfee3a4b26f97db8c8a6040d1de|2020-02-04| 23 | [rws_0.74.1_RaspZeroW_armhf.deb](https://github.com/kclyu/rpi-webrtc-streamer-deb/blob/master/rws_0.74.1_RaspZeroW_armhf.deb)|fa4332756f4e302739134470771085c0|2020-02-04| 24 | _The above deb files are for Raspbian OS Buster._ 25 | 26 | ## Downloading Deb Package 27 | 28 | The downloaded file can be installed with the following command. 29 | 30 | *The two apt commands below does not need to be run if the current Raspberry PI OS is up to date.* 31 | ``` 32 | sudo apt update 33 | sudo apt full-upgrade 34 | 35 | sudo dpkg -i rws_xxx_armhf.deb 36 | ``` 37 | 38 | To remove rws package, please use following command 39 | ``` 40 | sudo dpkg -r rws 41 | ``` 42 | *Since the current log directory is located in the installation directory, you can delete the '/opt/rws' directory manally after dpkg remove.* 43 | ## Installation Directory 44 | When the installation is complete, the following files and directories are created under **/opt/rws**. 45 | 46 | |File/Directory|Description| 47 | |---------------|------------| 48 | |LICENSE|There are LICENSE files for the S/W package and libraries used by RWS.| 49 | |webrtc-streamer|RWS man binary executable| 50 | |etc|configuration files| 51 | |web-root|Where test html files and js files are located.| 52 | |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.| 53 | 54 | ## Process Management 55 | RWS is only compatible with systemd. To execute the process and check the status, use the following command. 56 | 57 | #### Stop 58 | ``` 59 | sudo systemctl stop rws 60 | ``` 61 | #### Start 62 | ``` 63 | sudo systemctl start rws 64 | ``` 65 | 66 | #### Status/Monitoring 67 | `sudo systemctl status rws` is used for process status checking. 68 | `sudo journalctl -u rws` for log message for process start/stop/standard error log checking. 69 | ``` 70 | sudo systemctl status rws 71 | ● rws.service - Rpi WebRTC Streamer 72 | Loaded: loaded (/etc/systemd/system/rws.service; enabled) 73 | Active: active (running) since Thu 2017-06-08 21:08:45 KST; 2h 47min ago 74 | Main PID: 14968 (webrtc-streamer) 75 | CGroup: /system.slice/rws.service 76 | └─14968 /opt/rws/webrtc-streamer --log /opt/rws/log 77 | 78 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 79 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 80 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 81 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 82 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 83 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 84 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 85 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 86 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 87 | Jun 08 22:04:44 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 88 | Hint: Some lines were ellipsized, use -l to show in full. 89 | 90 | sudo journalctl -u rws 91 | Jun 08 19:56:05 raspberrypi systemd[1]: Stopped Rpi WebRTC Streamer. 92 | Jun 08 19:56:05 raspberrypi systemd[1]: Stopped Rpi WebRTC Streamer. 93 | Jun 08 21:08:45 raspberrypi systemd[1]: Starting Rpi WebRTC Streamer... 94 | Jun 08 21:08:45 raspberrypi systemd[1]: Started Rpi WebRTC Streamer. 95 | Jun 08 21:08:45 raspberrypi systemd[1]: Started Rpi WebRTC Streamer. 96 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 97 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 98 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 99 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 100 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 101 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 102 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 103 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 104 | Jun 08 21:09:18 raspberrypi webrtc-streamer[14968]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM 105 | ``` 106 | #### Open Testing URL in Chrome Browser 107 | Open the following URL in the chrome browser will display the native-peerconnection testing page. 108 | 109 | ``` 110 | http://your-private-ip-address:8889/np2/ 111 | ``` 112 | *`8889` port number is the websocket_port specified in the config file, and the URL protocol uses http instead of https.* 113 | 114 | 115 | ## Version History 116 | Please refer to [RWS repo](https://github.com/kclyu/rpi-webrtc-streamer) for version-specific history and function description. 117 | 118 | 119 | 120 | 121 | -------------------------------------------------------------------------------- /rws_0.73.2_RaspiZeroW_armhf.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kclyu/rpi-webrtc-streamer-deb/f372a30224c14025f191682530c611046721c261/rws_0.73.2_RaspiZeroW_armhf.deb -------------------------------------------------------------------------------- /rws_0.73.2_armhf.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kclyu/rpi-webrtc-streamer-deb/f372a30224c14025f191682530c611046721c261/rws_0.73.2_armhf.deb -------------------------------------------------------------------------------- /rws_0.74.1_RaspZeroW_armhf.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kclyu/rpi-webrtc-streamer-deb/f372a30224c14025f191682530c611046721c261/rws_0.74.1_RaspZeroW_armhf.deb -------------------------------------------------------------------------------- /rws_0.74.1_armhf.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kclyu/rpi-webrtc-streamer-deb/f372a30224c14025f191682530c611046721c261/rws_0.74.1_armhf.deb --------------------------------------------------------------------------------