Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Integrated video player pauses music even when video has no audio

Open catdevnull opened this issue 3 years ago • 3 comments

When recording a video without audio and then playing it back with the built-in player, it will unnecessarily pause music.

catdevnull avatar Jul 07 '22 00:07 catdevnull

Hi,

I'm really sorry but I was really unable to get you. Like are you referring to any music/audio that's being played in background that gets paused while you watch a video that doesn't have any audio in our in-app gallery?

Also, thanks a lot for trying out our camera app @catdevnull!

MHShetty avatar Jul 07 '22 07:07 MHShetty

Yes, that's exactly what I mean. Thank you for developing the app, it's the best OSS camera experience I've ever had, by far.

catdevnull avatar Jul 07 '22 12:07 catdevnull

Hi @catdevnull,

It's our pleasure. Glad that you liked our app :)

Checking whether the video has audio by its metadata using the MediaMetadataRetriever class and then explicitly setting the audio to false via it's controller might help resolve this as an issue. My personal system that I was working on earlier is currently broken and is under repair, I'll try working on this issue once my system gets fixed.

Thanks for filing this issue @catdevnull!

MHShetty avatar Jul 08 '22 06:07 MHShetty