Closed Fantuan-cell closed 6 months ago
Please share sample file/URL.
You may mail me at <alexmercerind@gmail.com>.
Please share sample file/URL.
You may mail me at [alexmercerind@gmail.com](mailto:alexmercerind@gmail.com).
Are you using emulator by any chance?
I am using a real phone and the system is Android 8.0
My phone directly uses the video_player plugin to play videos, and there is sound and picture.
My phone directly uses the Video_player plugin to play videos, and there is sound and picture.
But when using video_player_media_kit to play videos, there will be no sound.
Does our default media_kit test application work well?
You can download pre-built APK from our README:
We use OpenSL ES audio output driver by default.
Hi!
Your feedback will be helpful. We're committed to resolve your issue.
Hi @Fantuan-cell.
I updated media_kit_libs_android_video in recently; you may test if your issue is resolved.
Also: Does mpv-android work on your device?
I also have similar problems, no sound in windows。
@alexmercerind There is no sound even when using the demo you provided.
@longgong do you call setVolume
anywhere in your code? i think that was the problem
check fix in: https://github.com/media-kit/media-kit/pull/598,
you can test it by adding in pubspec
dependency_overrides:
video_player_media_kit:
git:
url: https://github.com/zezo357/media_kit
path: ./video_player_media_kit
ref: fix-sound
and let me know if fixed the issue for you so we merge it
@longgong do you call
setVolume
anywhere in your code? i think that was the problem check fix in: #598,you can test it by adding in pubspec
dependency_overrides: video_player_media_kit: git: url: https://github.com/zezo357/media_kit path: ./video_player_media_kit ref: fix-sound
and let me know if fixed the issue for you so we merge it
yes,I just saw that modification. There is sound now.
Glad to hear that, I think this issue need to be reopened @alexmercerind until it's merged so I will reopen it.
dependencies:
There is no sound when playing videos using video_player_media_kit. What needs to be set?
mycode