打通rtsp视频链路

This commit is contained in:
GuanYuankai 2025-10-20 16:30:40 +08:00
parent 8e146a8060
commit 11350e0b43
7 changed files with 18 additions and 4 deletions

9
.gitignore vendored
View File

@ -1,5 +1,4 @@
# 特例列表
!rknn_sdk
# Prerequisites
*.d
@ -48,4 +47,8 @@ build_gyk/
build-gyk/
# Ignore Mosquitto runtime data and logs
mosquitto/data/
mosquitto/log/
mosquitto/log/
# 特例列表
!rknn_sdk/librknn_api/aarch64/*.so
!rknn_sdk

View File

@ -7,6 +7,7 @@ services:
container_name: edge-proxy-shared-dev
image: edge-proxy-edge-proxy-dev:latest
platform: linux/arm64
network_mode: "host"
privileged: true
devices:
- /dev/ttyS7:/dev/ttyS7
@ -29,6 +30,10 @@ services:
- "9999:9999"
- "502:502"
- "8080:8080"
dns:
- 8.8.8.8
- 114.114.114.114
command: sleep infinity
mqtt-broker:

View File

@ -66,9 +66,14 @@ RUN cd /tmp/build-context/external/paho.mqtt.c && \
cmake --build build --target install && \
rm -rf /tmp/build-context
COPY rknn_sdk/rknn_server/aarch64/usr/bin/rknn_server /usr/bin/rknn_server/
COPY rknn_sdk/librknn_api/include/rknn_api.h /usr/local/include/
COPY rknn_sdk/rknn_server/aarch64/usr/bin/rknn_server /usr/bin/rknn_server
COPY rknn_sdk/librknn_api/aarch64/librknnrt.so /usr/lib/librknnrt.so
COPY rknn_sdk/librknn_api/aarch64/librknn_api.so /usr/lib/librknn_api.so
COPY rknn_sdk/whl/*.whl /tmp/rknn_wheels/
RUN pip3 install /tmp/rknn_wheels/*.whl && \
rm -rf /tmp/rknn_wheels
RUN chmod +x /usr/bin/rknn_server
RUN ldconfig
RUN rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1 @@
librknnrt.so

Binary file not shown.

Binary file not shown.