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

flv播放,有时候不能展示视频,有时候能展示。然后我把video标签写死后就每次都能了 #798

Open
siifan168 opened this issue Aug 9, 2023 · 1 comment

Comments

@siifan168
Copy link

我是在react中使用的,因为有很多video标签可以播放,所以每次创建flv的时候video标签具体绑定那个是算出来的。然后有时候它播放的时候会打印这个,并且视频不能播放:
[FLVDemuxer] > Parsed onMetaData
flv.min.js:9 [FLVDemuxer] > Parsed AVCDecoderConfigurationRecord
flv.min.js:9 [MSEController] > Received Initialization Segment, mimeType: video/mp4;codecs=avc1.420016

当我写一个确定的video标签值的时候,它每次都能正常播放

@siifan168
Copy link
Author

解决#796

关于我把video标签值写死了它就能正常播放,是因为我重新写了一个新的video标签,赋予了新的id,而不是直接重用原来的video。

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