I have problem into mute and sound , I have Played the video in iPad using URL then using button I need to mute the audio of that video player.Please help me out dis Problem Thanks.
Related
I have some questions about Audio muted after getting any call on iOS.
First, I implemented a sound that plays when the mute button is turned on
I have two kinds of media,
video with sound
recorded voice audio
I want to play recorded voice audio with video but mute video sound.
To play these medias, I used the MPMoviePlayerController for video and the AQPlayer for recorded audio.
Is it possible?
If so, Anyone has an idea, Please?
I have a custom video player that works very well. I discovered a problem and would like to know if this is a problem of iOS or is there a way to solve. When I'm watching and listening to the video with headphones on and take off my headphones, the sound continues, but the video freezes.
I am using MPMoviePlayerController for video and AVAudioPlayer for audio.
Tks for help
You can get a callback when headphones are unplugged from the device. This might be a good starting point.
Check out this SO question: Headphones unplugged during playback cause bug on iPhone app
I'm using mpmovieplayer to play video on ios 4, and I want to keep the audio playing when my app enter background, but it doesn't work. I thing it's because video player use GPU to render video on screen and this is not allowed by apple when app enter background.
So, is there any way to do that? There are some apps have this feature, and they seems just use the mpmovieplayer, is it work by detach the video layer of mpmovieplayer?
Thanks for your answer!
You'll need to have separate audio file and video file for this. Play both when you need to play video and just the audio when app gets into background.
I want to play some videos with audio from different audio files. For this i am playing a video(using MPMoviePlayerController) and i am playing an audio(using AVAudioPlayer).
When i play my code through simulator it works fine (the video with my audio file specified). When i run the application in device it doesn't work like that. It plays video but sound file is not getting played. How can i play an audio and a video together ?
This has been discussed before and I don't think anyone's figured it out yet:
Play audio and video at a same time in iPhone application
how can we play audio and video together in ipod/iphone?
Which format support the audio file with a playing video?