Baseflow / ExoPlayerXamarin

Xamarin bindings library for the Google ExoPlayer library
https://baseflow.com
MIT License
153 stars 66 forks source link

Getting Track Metadata (Xamarin Exoplayer 2.18.1) #180

Open isaranghi opened 1 year ago

isaranghi commented 1 year ago

Hello,

I am trying to implement fetching of Audio/Video metadata from the video track. I have added a Listener to the Explayer by caller player.AddListener. The IPlayer.IListener interface has a function "OnTracksChanged(Tracks tracks)". Now according to the Exoplayer documentation, I should be able to fetch the trackgroups from the tracks object (https://developer.android.com/guide/topics/media/exoplayer/track-selection#java). But I don't see GetGroups or Gruops in the Tracks object of this Xamarin version. Any idea how can I fetch the tracks groups? Or any other workaround showing the Audio/Video metadata of the current track?

Thanks.

ArchangelWTF commented 1 year ago

Hey there!

It's very likely this is stripped out due to having something in the bindings being related to it having been removed, though I'm honestly not sure what's causing it's removal.

That being said I'm also not sure of any workarounds related to it, I could have a look at it but considering ExoPlayerXamarin is pretty much on life support it's not going to be a super high priority.