Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleConsole output
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
languagebash
titleConsole output: Config.lua change
-
+	]]--
 				-- 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
languagebash
titleConsole output: Trigger mediastreamer
root@raspberrypi3-rdk-camera:~# systemctl start mst-launcher


To start RMS binary , We need to go cd /usr/local/rms/bin directory

Code Block
languagebash
titleConsole output: Trigger RMS
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
languagebash
titleConsole output: Check status
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     10959 2574  19431613  0 1115:3231 ttyS0pts/0    00:00:00 grep media

STEP 10:

...

  •  RMS validation with libcamera works only with SD resolution.
  • Observed 2 to 3 sec's of glitches in RMS with RTSP validation using both v4l2 and libcamera