Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push rtsp error #137

Open
pengchanglu opened this issue Jul 12, 2024 · 1 comment
Open

push rtsp error #137

pengchanglu opened this issue Jul 12, 2024 · 1 comment

Comments

@pengchanglu
Copy link

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.

@harlanc
Copy link
Owner

harlanc commented Jul 12, 2024

It looks like there was a double publication of one stream from the logs? And now the latest version is v0.12.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants