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

视频流自动重试无法响应类型为streamEnd的报错 #406

Open
singlemonkey opened this issue Dec 22, 2024 · 0 comments
Open

视频流自动重试无法响应类型为streamEnd的报错 #406

singlemonkey opened this issue Dec 22, 2024 · 0 comments

Comments

@singlemonkey
Copy link

const option = {
autoWasm: true,
wasmDecodeAudioSyncVideo: true,
wasmDecodeErrorReplay: true,
hasAudio: false,
useMSE: true,
useWCS: false,
controlAutoHide: false,
isResize: false,
loadingText: "请稍等, 视频加载中......",
timeout: 10,
loadingTimeout: 20,
loadingTimeoutReplay: true,
loadingTimeoutReplayTimes: -1,
heartTimeout: 20,
heartTimeoutReplay: true,
heartTimeoutReplayTimes: -1
}

播放器配置如上,设置了超时时间和无限重试,但是在直接拔掉摄像头之后,从zlmediakit推出来的流会直接断掉,同时播放器接收到streamEnd报错,但视频播放在视频流重新注册完成后,并不会自动执行。

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

1 participant