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

如何设置初始播放的进度 #12

Open
creeveliu opened this issue Feb 20, 2019 · 5 comments
Open

如何设置初始播放的进度 #12

creeveliu opened this issue Feb 20, 2019 · 5 comments

Comments

@creeveliu
Copy link

比如手机上播放到1分钟的时候,投屏到电视端,也从1分钟开始播,如何实现呢?

(seek方法需要手动调用,视频加载过程中调用seek似乎是无效的,视频还是从头开始播,视频真正开始播放的时候调用seek才生效,但是似乎没有地方可以判断视频是否真正开始播放)

@ClaudeLi
Copy link
Owner

@creeveliu 可以查看下device /*/AVTransport/action 看下有没有

@creeveliu
Copy link
Author

@creeveliu 可以查看下device /*/AVTransport/action 看下有没有

不是很明白,是在盒子返回的description.xml中查看吗?这个跟不同盒子相关?

我用的是小米盒子,用腾讯视频投屏是可以特定位置开始播放的。

我如果要实现设置初始播放的进度的话,需要做什么操作呢?

@zhenhuamu
Copy link

@creeveliu 请问你这个问题解决了吗?

@creeveliu
Copy link
Author

@zhenhuamu 还没有

@ClaudeLi 能详细说一下解决的方法吗?

@zhenhuamu
Copy link

@zhenhuamu还没有

@ClaudeLi能详细说一下解决的方法吗?
 我的方法是,通过订阅服务的状态解决,但是感觉方法不是较好的解决方案

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

3 participants