RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Change 1:
Remove rms specific script and service files in rms bbappend file
cd meta-cmf-raspberrypi/metacd build-raspberrypi3-rdk-camera/tmprecipes-extended/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/rms/git-r0/git/builders/make2/CCdist/rms/config/
vi config.lua
Line Number : 41
- pushPullPersistenceFile="/usr/local/rms/config/pushPullSetup.xml",
+--[[ pushPullPersistenceFile="/usr/local/rms/config/pushPullSetup.xml", ]]--
Disable this "pushPullPersistenceFile="/usr/local/rms/config/pushPullSetup.xml"," line in config.lua
Change 2:
cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/rms/git-r0/git/sources/thelib/src/streaming/hls
vi hlsplaylist.cpp
Function Name : OpenSegment
Line Number : 562
- _appending ? ((uint32_t) _segmentSequence) : SEGMENT_SEQUENCE(_segmentSequence));
+ _appending ? ((uint32_t) _segmentSequence) : (uint32_t)SEGMENT_SEQUENCE(_segmentSequence));
Added (uint32_t) type casting in this "_appending ? ((uint32_t) _segmentSequence) : SEGMENT_SEQUENCE(_segmentSequence));" line
Change 3:
rms/
vi rms_git.bbappend
Disable below lines in rms bbappend file
do_install_append() {
-install -Dm755 ${S}/startRMS.sh ${D}${base_libdir}/rdk/startRMS.sh
-install -d ${D}${systemd_unitdir}/system
-install -m 0644 ${S}/rms-launcher.service ${D}${systemd_unitdir}/system/
+#install -Dm755 ${S}/startRMS.sh ${D}${base_libdir}/rdk/startRMS.sh
+#install -d ${D}${systemd_unitdir}/system
+#install -m 0644 ${S}/rms-launcher.service ${D}${systemd_unitdir}/system/
install -Dm755 ${S}/rms.conf ${D}${prefix}/local/rms/bin/
}
-SYSTEMD_SERVICE_${PN}_append = "rms-launcher.service"
+#SYSTEMD_SERVICE_${PN}_append = "rms-launcher.service"
-FILES_${PN}_append = " \
- ${systemd_unitdir}/system/rms-launcher.service \
- ${base_libdir}/rdk/startRMS.sh \
-"
+#FILES_${PN}_append = " \
+# ${systemd_unitdir}/system/rms-launcher.service \
+# ${base_libdir}/rdk/startRMS.sh \
+#"
Change 2:
Remove cvr specific script and service files in cvr bbappend file
cd meta-cmf-raspberrypi/meta-rdk-camera/recipes-multimedia/cvr
vi cvr_git.bbappend
Disable below lines in cvr bbappend file
do_install_append() {
mkdir -p ${D}${prefix}/local/cvr
-install -Dm755 ${WORKDIR}/startCVR.sh ${D}${base_libdir}/rdk/startCVR.sh
-install -d ${D}${systemd_unitdir}/system
-install -m 0644 ${WORKDIR}/cvr-launcher.service ${D}${systemd_unitdir}/system/
+#install -Dm755 ${WORKDIR}/startCVR.sh ${D}${base_libdir}/rdk/startCVR.sh
+#install -d ${D}${systemd_unitdir}/system
+#install -m 0644 ${WORKDIR}/cvr-launcher.service ${D}${systemd_unitdir}/system/
install -Dm755 ${WORKDIR}/cvr.conf ${D}${prefix}/local/cvr/
}
-SYSTEMD_SERVICE_${PN}_append = "cvr-launcher.service"
+#SYSTEMD_SERVICE_${PN}_append = "cvr-launcher.service"
-FILES_${PN}_append = " \
- ${systemd_unitdir}/system/cvr-launcher.service \
- ${base_libdir}/rdk/startCVR.sh \
-"
+#FILES_${PN}_append = " \
+# ${systemd_unitdir}/system/cvr-launcher.service \
+# ${base_libdir}/rdk/startCVR.sh \
+#"
inherit systemd
Change 3:
Add pw-capture in pipewire-launcher.service file
cd meta-cmf-raspberrypi/meta-rdk-camera/recipes-extendedmultimedia/rmspipeiwre/files/
vi startPipeWire.sh
Adding pw-capture in startPipeWire.sh file
pipewire &
pipewire-media-session &
+
+pw-capture &
Change 4:Copy this file in this directory startRMS.sh
...