We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version Media3 main branch
More version details media3 version : 1.5.0
Code :
@singleton @provides fun provideExoPlayer( @ApplicationContext context: Context, trackSelector: DefaultTrackSelector, audioAttributes: AudioAttributes, ): ExoPlayer { return ExoPlayer.Builder(context).setTrackSelector(trackSelector) .setWakeMode(C.WAKE_MODE_NETWORK) .setAudioAttributes(audioAttributes, true) .setHandleAudioBecomingNoisy(true) .build() }
@Singleton @Provides fun providesAudioAttribute(): AudioAttributes { return AudioAttributes.Builder().setUsage(C.USAGE_MEDIA) .setContentType(C.AUDIO_CONTENT_TYPE_MOVIE) .build() }
I can listen Video Audio and Ringtone both, How to handle this?
The text was updated successfully, but these errors were encountered:
Hi @Kitta0812,
Thanks for reporting! Could you please provide the information of the device model and the OS version that you used to reproduce this issue?
Sorry, something went wrong.
Hi @tianyif I have tested in These 3 Devices and same issue in all 3 Vivo V11 Android OS 10 API 29 Redmi Note 12 OS 14 API 34 Poco X3 OS 12 API 31
Hi @tianyif Any Update on these, else is there any Info that you required from me
tianyif
No branches or pull requests
Version
Media3 main branch
More version details
media3 version : 1.5.0
Code :
@singleton
@provides
fun provideExoPlayer(
@ApplicationContext context: Context,
trackSelector: DefaultTrackSelector,
audioAttributes: AudioAttributes,
): ExoPlayer {
return ExoPlayer.Builder(context).setTrackSelector(trackSelector)
.setWakeMode(C.WAKE_MODE_NETWORK)
.setAudioAttributes(audioAttributes, true)
.setHandleAudioBecomingNoisy(true)
.build()
}
I can listen Video Audio and Ringtone both, How to handle this?
The text was updated successfully, but these errors were encountered: