Flex VideoDisplay 在空闲超时后重新连接
我有一个能够连接到源并播放的 VideoDisplay。连接超时后,我希望在单击播放按钮时重新建立连接。现在,当我重置源并播放 videoDisplay 时,它陷入加载状态。
I have a VideoDisplay that is able to connect to a source and play. After the connection times out I want the connection to be re-established when my play button is clicked. Right now when I reset the source and play the videoDisplay, it gets stuck in the loading state.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
需要将源设置为 null 然后返回到您想要的源并调用 load() 然后设置播放头位置
need to set source to null then back to your intended source and call load() then set the playhead position