avfoundation
Playing song through MPMusicPlayerController and using AVCaptureSession at the same time
I have a problem where I have setup an AVCaptureSession with an audio and video inp开发者_运维问答ut and a capture preview layer. All works great until I try to play a song using MPMusicPlayerControll[详细]
2023-03-20 01:17 分类:问答Is there a way to distinguish between a live stream and an on-demand file stream with AVPlayer?
I\'m trying to create a more generic media controller for several types of streaming media and want to adapt the UI to the type of stream;[详细]
2023-03-19 23:21 分类:问答MPMusicPlayer inaccurate currentPlaybackTime for VBR audio
When I seek to a position in a non-vbr mp3 by setting MPMusicPlayer\'s currentPlaybackTime property, I\'m able to seek accurately. When I seek to the same position with a VBR mp3, it seeks to a furthe[详细]
2023-03-19 07:24 分类:问答Find assets in library - add to a AVMutableComposition - export = crash
I\'ve been struggling with adding assets from the iPhone Photo Library to a AVMutableComposition and then export them. Here is what I got:[详细]
2023-03-18 13:02 分类:问答Get raw data stream from AVFoundation Capture Session
I need to get the data stream from an AVCaptureSession in a semi-live streaming type of way.In my experience with AVFoundation, I can only write the file to disk and then read it out.[详细]
2023-03-18 11:54 分类:问答Best way for looping and using background sounds in iphone?
Lets say I am dragging my finger on screen and I have 1 second .caf sound file in my bundle. So what is the best way to play my sound file in a loop till i am dragging my fingers. And i开发者_开发知识[详细]
2023-03-18 03:48 分类:问答What does AVErrorMediaServicesWereReset mean?
I\'m currently writing a custom video player using AVPlayer. The video plays fine and works in 99% of cases. But when seeking, I occasionally run into an error. My AVPlayerItem\'s status changes to AV[详细]
2023-03-16 01:30 分类:问答ios take multiple pictures without user interaction
I have been researching for this and read different opinions but i wanted to ask you more specific questions.[详细]
2023-03-15 19:05 分类:问答Record video iphone and play a sound
How i can record video and play a sound at the same time? I am having trouble doing so. I am using AVFoun开发者_JS百科dationSet audio session category to AVAudioSessionCategoryPlayAndRecord?[详细]
2023-03-14 16:03 分类:问答How to stop Repeated Audio play in Audio Mixer (MixerHost) for iOS
I have got Audio Mixer(MixerHost) sample code from Apple iOS. This code is working fine. It is playing the sample Audio files continuously. Can you tell me how to stop my Mixer code to stop after pla[详细]
2023-03-14 14:36 分类:问答