We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
加载rtsp流的时候,需要先stop原先的,再open新的,然后play,这样速度很慢。 而且从调用play开始到画面出现,大约需要2秒多的时间。 stop一个流再play另外一个流,会出现黑屏现象。 建议: 1、增加一个可以切换视频流地址的函数。可参考同类产品的switchurl这个函数,这样有利于多个视频播放的切换。且在switch过程中,画面不应黑屏,可以保留上一个流的最后一个画面。 2、加快播放的加载速度,从调用play到出现画面的时间控制在0.5秒以内。 3、stop时,可考虑增加一个选项:是否清屏。选择此参数,则stop时清除,不选择,则stop时保留最后一帧。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
加载rtsp流的时候,需要先stop原先的,再open新的,然后play,这样速度很慢。
而且从调用play开始到画面出现,大约需要2秒多的时间。
stop一个流再play另外一个流,会出现黑屏现象。
建议:
1、增加一个可以切换视频流地址的函数。可参考同类产品的switchurl这个函数,这样有利于多个视频播放的切换。且在switch过程中,画面不应黑屏,可以保留上一个流的最后一个画面。
2、加快播放的加载速度,从调用play到出现画面的时间控制在0.5秒以内。
3、stop时,可考虑增加一个选项:是否清屏。选择此参数,则stop时清除,不选择,则stop时保留最后一帧。
The text was updated successfully, but these errors were encountered: