Open pengchanglu opened 1 month ago
XIU version For example: v0.12.4
Use commands from the official website : ffmpeg -re -stream_loop -1 -i test.mp4 -c:v copy -c:a copy -rtsp_transport tcp -f rtsp "rtsp://127.0.0.1:5544/live/test?token=123" push rtsp error tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] frame decoded from buffer [2024-07-12T02:25:57Z DEBUG xrtsp::session] dollar sign: false [2024-07-12T02:25:57Z TRACE commonlib::http] header_end_idx is: 97 97 [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] flushing framed transport [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] writing; remaining=133 [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] framed transport flushed [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] frame decoded from buffer [2024-07-12T02:25:57Z DEBUG xrtsp::session] dollar sign: false [2024-07-12T02:25:57Z TRACE commonlib::http] header_end_idx is: 150 150 [2024-07-12T02:25:57Z INFO streamhub] event data: {"Publish":{"identifier":{"Rtsp":{"stream_path":"live/test"}},"info":{"id":"1720751157","pub_type":"PushRtsp","notify_info":{"request_url":"","remote_addr":""}}}} [2024-07-12T02:25:57Z ERROR streamhub] event_loop Publish err: exists [2024-07-12T02:25:57Z ERROR xrtsp::rtsp] session run error, err: event execute error: exists
To Reproduce Steps to reproduce the behavior, provide necessary files to reproduce(e.g. record file or wireshark package):
Expected behavior A clear and concise description of what you expected to happen.
It looks like there was a double publication of one stream from the logs? And now the latest version is v0.12.7
XIU version For example: v0.12.4
Use commands from the official website : ffmpeg -re -stream_loop -1 -i test.mp4 -c:v copy -c:a copy -rtsp_transport tcp -f rtsp "rtsp://127.0.0.1:5544/live/test?token=123" push rtsp error tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] frame decoded from buffer [2024-07-12T02:25:57Z DEBUG xrtsp::session] dollar sign: false [2024-07-12T02:25:57Z TRACE commonlib::http] header_end_idx is: 97 97 [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] flushing framed transport [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] writing; remaining=133 [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] framed transport flushed [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] attempting to decode a frame [2024-07-12T02:25:57Z TRACE tokio_util::codec::framed_impl] frame decoded from buffer [2024-07-12T02:25:57Z DEBUG xrtsp::session] dollar sign: false [2024-07-12T02:25:57Z TRACE commonlib::http] header_end_idx is: 150 150 [2024-07-12T02:25:57Z INFO streamhub] event data: {"Publish":{"identifier":{"Rtsp":{"stream_path":"live/test"}},"info":{"id":"1720751157","pub_type":"PushRtsp","notify_info":{"request_url":"","remote_addr":""}}}} [2024-07-12T02:25:57Z ERROR streamhub] event_loop Publish err: exists [2024-07-12T02:25:57Z ERROR xrtsp::rtsp] session run error, err: event execute error: exists
To Reproduce Steps to reproduce the behavior, provide necessary files to reproduce(e.g. record file or wireshark package):
Expected behavior A clear and concise description of what you expected to happen.