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

API/MistVideoObject: How to know which track is playing (and when to check)? #205

Open
labor4 opened this issue Sep 9, 2024 · 0 comments

Comments

@labor4
Copy link

labor4 commented Sep 9, 2024

Hi

Sorry to bother, but I think I got lost in the MistVideoObject! 😀
No seriously, I'd be greatful for a hint:

I'm trying to query what tracks are currently playing.

I see that in:

...reference.info.meta.tracks

there is the whole menu.

I saw that the content of the event playerUpdate_trackChanged reveals the corresponding track id for both audio and video. But that event seems to only show up with webrtc.

Therefore question:

  • Where can I read which trackid is currently selected, so I can look it up in ...reference.info.meta.tracks?
  • which event certainly marks the time after which that value can be safely queried?

Thank you kindly!

Best Regards

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