RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi0-rdk-camera:~# ls /dev/video0 /dev/video0 |
STEP 9:
Check mediastreamer and rms binaries are running or not before RTSP streaming validation.
ps -Af | grep media
Need to stop below service file to validate gstreamer based live streaming
systemctl stop rms-launcher.service
systemctl stop pipewire-launcher.service
systemctl stop mst-launcher.service
Need to do below changes in config.lua file
vi /usr/local/rms/config/config.lua
Code Block | ||||
---|---|---|---|---|
| ||||
-
+ ]]--
-- RTSP
{
- ip="127.0.0.1",
+ ip="0.0.0.0",
port=5544,
protocol="inboundRtsp",
},
-
+ --[[ |
After stoping those service file, then we need to start/trigger below service and binaries.
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi3-rdk-camera:~# systemctl start mst-launcher |
To start RMS binary , We need to go cd /usr/local/rms/bin directory
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi3-rdk-camera:~# cd /usr/local/rms/bin/
root@raspberrypi3-rdk-camera:/usr/local/rms/bin# ./rdkcmediaserver ../config/config.lua & |
Need to check mediastreamer and RMS running status with below command
Code Block | ||||
---|---|---|---|---|
| ||||
root@raspberrypi3-rdk-camera:~# ps -Af | grep media root 2396 197 1 1 13 1015:5730 ? 00:0400:4000 mediastreamer v4l2src root 10072555 1613 1 3 10:57 ? 30 15:31 pts/0 00:00:01:05 ./rdkcmediaserver ../config/config.lua root 109592574 19431613 0 1115:3231 ttyS0pts/0 00:00:00 grep media |
STEP 10:
...
Note: VLC player available PC and RPI target should run in same network.