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

使用C API mk_player拉流一段时间断开 #3498

Open
dev000il opened this issue Apr 28, 2024 · 1 comment
Open

使用C API mk_player拉流一段时间断开 #3498

dev000il opened this issue Apr 28, 2024 · 1 comment

Comments

@dev000il
Copy link

zlm C API
mk_player rtsp拉流
摄像机 海康鱼眼

使用场景
多线程拉流,每个线程中创建一个mk_player
mk_player player = mk_player_create();
mk_player_set_on_result(player, on_mk_play_event_func, ctx);
mk_player_set_on_shutdown(player, on_mk_shutdown_func, ctx);
mk_player_play(player, url);

运行一段时间后,进on_mk_shutdown_func
play interrupted: 255 connection reset by peer

2024-04-26 14:23:20.115 W rknn_yolov5_video_zero_out[5986-event poller 2] RtspPlayer.cpp:689 onPlayResult_l | 255 connection reset by peer

@xiongguangjie
Copy link
Member

这个对端关闭tcp链接了,

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

No branches or pull requests

2 participants