You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following this guide, I need to use HlsMediaSource.Factory but I can't find it anywhere. Sorry if there is a convention I do not know but I see there is ExoPlayerBuilder for ExoPlayer.Builder but no HlsMediaSourceFactory anywhere.
Try accessing HlsMediaSource.Factory or HlsMediaSourceFactory.
DefaultDataSource.FactorydefaultDataSourceFactory=newDefaultDataSource.Factory(Context);_trackSelector=newDefaultTrackSelector(Context);//Here get error: The type name 'Factory' does not exist in the type 'HlsMediaSource'varmediaSource=newHlsMediaSource.Factory(defaultDataSourceFactory);var_exoPlayer=newExoPlayerBuilder(Context).SetMediaSourceFactory(mediaSource).SetTrackSelector(_trackSelector).Build();_exoPlayer.Prepare();_videoView.Player=_exoPlayer;
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
I need to take a look. Sometimes I have to use remove-node, because bindings get overly complicated and take too much time. OTOH, our tooling is not ideal and API is skipped sometimes by tool[s] itself.
I will take a look and report it here and then see how to fix it.
Android framework version
net8.0-android
Affected platform version
net8.0-android, Xamarin.AndroidX.Media3.ExoPlayer.Hls 1.5.0
Description
Following this guide, I need to use HlsMediaSource.Factory but I can't find it anywhere. Sorry if there is a convention I do not know but I see there is
ExoPlayerBuilder
forExoPlayer.Builder
but noHlsMediaSourceFactory
anywhere.Steps to Reproduce
Xamarin.AndroidX.Media3.ExoPlayer.Hls
Nuget package.HlsMediaSource.Factory
orHlsMediaSourceFactory
.Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: