Skip to main content

Firmware Usage - IPC Streaming

Navigation bar

Buildroot only. Other firmware has no web page and no default streaming!


Downloading the Filesystem​


Firmware here: Buildroot​

File shared via Netdisk:
Link: https://pan.baidu.com/s/1NyfRuSKcakxMJCZohiFl6A?pwd=fanc Extraction code: fanc Copy this content and open the Baidu Netdisk mobile app for easier operation
--Shared by Baidu Netdisk Super Member v6

After extracting: RV1126_RV1109_AI_Camera_V1.1.4_20240907_imx307_imx415.img


Basic Configuration / Network Configuration​


Checking the IP Address via ADB​

After the device is connected to the LAN, connect to the device via USB, and you can check the IP directly in adb

roy@HUAWEIMagicMiniM4-7 ~ % adb devices 
List of devices attached
fec3d3812d367ee device

adb shell

Checking the IP address inside the device: eth0 10.0.1.222

root@rv1126_rv1109:/# ip addr 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
link/ether 62:c6:19:eb:91:a5 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.254/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever

Changing the Network IP Address​

  • For the imx307 camera, modify the /oem/usr/share/rkipc-imx307.ini configuration file

  • For the imx415 camera, modify the /oem/usr/share/rkipc-imx415.ini configuration file

  • If no camera is present, modify the /oem/usr/share/rkipc-common.ini configuration file

Taking IMX415 as an example

root@rv1126_rv1109:/# vi /oem/usr/share/rkipc-imx415.ini

Default static configuration

Change it to method=dhcp for dynamic acquisition

...
[network.eth]
enable = 1
interface_num=1
ndevice_name=eth0
method=static
device_ip=10.0.0.254
subnetMask=255.255.255.0
gateway=10.0.0.1
DNS1=10.0.0.1
DNS2=114.114.114.114

Change it to dynamic acquisition:

...
[network.eth]
enable = 1
interface_num=1
ndevice_name=eth0
method=dhcp
# ... delete the following

After changing it, obtain a dynamic DHCP address again

root@rv1126_rv1109:/# dhcpcd eth0

Checking the IP address inside the device: eth0 10.0.0.125

root@rv1126_rv1109:/# ip addr 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
link/ether 62:c6:19:eb:91:a5 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.254/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet 10.0.0.125/22 brd 10.0.3.255 scope global dynamic noprefixroute eth0
valid_lft 4057sec preferred_lft 3545sec
If you do not want to display the 10.0.0.254 IP address, just reboot:
root@rv1126_rv1109:/# reboot

After rebooting

root@rv1126_rv1109:/# ip addr 
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000
link/ether 62:c6:19:eb:91:a5 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.125/22 brd 10.0.3.255 scope global dynamic noprefixroute eth0
valid_lft 4057sec preferred_lft 3545sec

Basic Usage​


Viewing the Stream​

Via the default IP

rtsp://10.0.0.254:1935/live/substream

Via the dynamic IP obtained in the previous steps Note that everyone's network environment is different, so check it via ADB

rtsp://10.0.0.125:1935/live/substream

Image

Note: the IP has been changed to dynamic acquisition. The default streaming port of the Buildroot firmware is 1935

Please check the IP via the adb command or the router device list; it is no longer explained separately!


Stopping the Stream​

Important If you do not stop the camera, it stays occupied and you cannot access it

If you need to run another program that uses the camera, stop it first:

/etc/init.d/S98_lunch_init stop

Web Page Content​

Open IP 10.0.0.125 directly in the browser

Via the dynamic IP obtained in the previous steps Note that everyone's network environment is different, so check it via ADB

Image


Video latency! Special note!​

Please refer to FAQ - Video latency! Special note!


Troubleshooting Common Issues​


Streaming Abnormalities​

  • Usually the camera is not inserted, or is not recognized correctly

After running adb shell, according to the camera model, enter logcat | grep imx415 or logcat | grep imx307 to view the driver loading information of the corresponding imx series camera

If logcag is not available, use dmesg | grep imx415 or dmesg | grep imx307

If there is no loading information, it means there is no camera or it is not recognized properly. Reference information:

root@rv1126bp-buildroot:/# logcat | grep imx
...
Jan 1 00:00:01 rv1126bp-buildroot kern.info kernel: [ 1.157751] imx307 1-001a: driver version: 00.01.06
Jan 1 00:00:01 rv1126bp-buildroot kern.info kernel: [ 1.366783] imx415 1-0010: driver version: 00.01.08

No Router​

Some student users have no router, only Wi-Fi. You can share the network as follows,

  • First open Adapter Settings in the control panel

Control Panel - Network Connections - Change adapter settings

  • Enable sharing

WLAN - Right-click - Properties - Sharing - Allow other network users to connect through this computer's Internet connection(N) - OK

Image

  • Check that it is enabled successfully; Ethernet is automatically switched to the shared subnet

Ethernet - Status - Details - 192.168.137.1

Image

  • Finally, connect the computer's Ethernet to the device and find the device's shared IP through arp

It is usually 192.168.137.x

Exclude 192.168.137.1 (Ethernet gateway)

Exclude 192.168.137.255 (broadcast address)

Win + R cmd

arp -a

Interface: 192.168.137.1 --- 0x11
Internet Address Physical Address Type
192.168.137.113 68-2d-70-50-86-07 static
192.168.137.255 ff-ff-ff-ff-ff-ff static

Image


Image


AI Translation Notice

This page was translated into English by AI and is provided for reference only. The original document is written in Chinese. If there is any discrepancy, the Chinese version prevails.

本页英文内容由 AI 自动翻译生成,仅供参考;原文为中文,如有差异请以中文原文为准。

查看中文原文 / View the Chinese original →