Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
12.43k
stars
1.54k
forks
source link
MediaMTX API / streams crash on RPi 4 when PATCHing configuration with 2 cameras #3943
When using dual cameras on RPi 4 attempting to adjust the libcam parameters via the API causes the mediamtx server API to crash along with the adjusted stream
n.b. this issue pre-dates release v1.9.3 but tests carried out on latest version to confirm the issue still exists.
Steps to recreate
Base scenario:
Start the mediamtx process with single camera configuration (mediamtx.single.yml)
Open a live stream to the camera (e.g. SRT using VLC - srt://{DEVICE ADDRESS}:8890/?streamid=read:cam0&latency=250)
Which version are you using?
v1.9.3
Which operating system are you using?
Linux arm64 Standalone binary
Describe how to replicate the issue
Problem Statement
When using dual cameras on RPi 4 attempting to adjust the libcam parameters via the API causes the mediamtx server API to crash along with the adjusted stream
n.b. this issue pre-dates release v1.9.3 but tests carried out on latest version to confirm the issue still exists.
Steps to recreate
Base scenario:
Failure scenario:
Configuration files
'.txt' added to enable upload mediamtx.single.yml.txt mediamtx.double.yml.txt
Kernel
Linux raspberrypi 6.6.36-v8+ #2 SMP PREEMPT Tue Jul 9 13:02:03 +08 2024 aarch64 GNU/Linux
Logs
Log file attached with DEBUG level. Search for 'PATCH' string in the file
Workaround
Use multiple configuration files, symlink and restart mediamtx as necessary
Server logs
mediamtx.double.log
Network dump
No response