The above topic may face the same issue .
After another two day test.
the crash problems occured when If use GitHub - bluenviron/mediamtx: Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy and record video and audio streams. for rtsp server.
But if I use real IP camera, the app has running for two days not crash. I am still watching…