avplayer Questions
8
I have a view controller that uses AVPlayer. this view controller can load a modal view controler where the user can record audio using AVAudioRecorder.
this is what happens:
if the user plays th...
Thousandth asked 17/3, 2011 at 21:14
3
(NOTE: I am running iOS 9 and am doing HTTP Live Streaming)
I have an AVPlayer and want to show a loading indicator while the player is buffering. When the player starts playing with a slow connec...
Lakeesha asked 12/3, 2017 at 3:21
1
I'm would to know why AVPlayer ask's
union ranges in requests.
Example:
1. We have good wi-fi connection.
2. Track with total length = 1000000.
AVPlayer in first will ask bytes=0-1 - its ok, it j...
Quartersaw asked 5/8, 2013 at 12:20
3
Solved
I have a lot of long (45 mins - 90 mins) MP4 videos in a public S3 bucket and I want to play them in my iOS app using AVPlayer.
I am using AVPlayerViewController to play them but I need to wait sev...
Guggle asked 11/1, 2022 at 11:46
6
Solved
If I load an AVPlayer with a file from a host with
[AVPlayer playerWithPlayerItem:playerItem];
And the "buffering" takes longer than the user wants, how do I allow them to cancel it?
3
Solved
I am working with apple tv. I have a UIView inside my UIViewController. I am adding AVPlayerViewController as subview of my UIView. UIView's frame is CGRect(x: 50, y: 50, width: 1344, height: 756)....
Pinkard asked 24/3, 2017 at 8:32
2
I am using a sample code from Apple to play a video on a UICollectionViewCell background.
I'm using AVPlayerLooper, since it is a iteration of the same video.
My problem here is that when the vid...
Kidwell asked 31/10, 2017 at 1:24
2
I have created player in iOS. It works well for URLs such as mp4 and m3u8.
But I have one webm extension URL. AVPlayer is not working for this.
Sample url:
http://images.all-free-download.com/f...
7
Im playing a video in AVPlayer, and now I need to mute the audio alone while playing it. Please suggest how to do in objective C.
Thanks,
Suresh
Fellmonger asked 25/5, 2011 at 7:0
2
Solved
- (void)viewDidLoad {
[super viewDidLoad];
self.slider.maximumValue = 30;
}
- (void)slide:(UISlider *)slider {
NSLog(@"....progress slider value:%d", (int)slider.value);
CMTime showingTime = C...
3
Quick question, does anybody know how i can get rid of the black bars at the top and bottom of my video? I just started using AVPlayer and i'm just removing codes here and there in attempt to remov...
4
I am using a subclass of AVQueuePlayer and when I add new AVPlayerItem with a streaming URL the app freezes for about a second or two. By freezing I mean that it doesn't respond to touches on the U...
Aarhus asked 9/10, 2011 at 3:14
1
Main thread blocked by synchronous property query on not-yet-loaded property (assetProperty_MediaPlaybackValidation) for HTTP(S) asset. This could have been a problem if this asset were being read ...
13
Solved
Is there a way to know whether an AVPlayer playback has stalled or reached the end?
Arbutus asked 13/4, 2011 at 21:26
6
I am using m3u8 video format for streaming the video and now I need to display subtitles for the same.
I searched in Apple Documentation and found that I can achieve this by using the closedCapti...
Scalf asked 17/7, 2012 at 15:0
4
I am trying to get video resolution when playing hls stream.
I have typical player init:
let urlAsset = AVURLAsset(URL: currentVideoUrl)
self.player=AVPlayer(playerItem: AVPlayerItem(asset:urlAss...
Krell asked 21/6, 2016 at 11:20
3
Solved
I have spent the whole day and went through a lot of SO answers, Apple references, documentations, etc, but no success.
I want a simple thing: I am playing a video using AVPlayer and I want to pau...
Tasimeter asked 17/9, 2016 at 20:33
6
If you set AVPlayerViewController.showsPlaybackControls to false, the controls will not show at all. Even if you tap the screen.
I want the controls to start out hidden, but still be able to summo...
1
I'd like to know if it is possible to detect when the playback controls appear or disappear from the AVPlayerViewController view.
I'm trying to add a UI element on my player that must follow the pl...
Carvel asked 12/3, 2019 at 15:34
3
Solved
I'm trying to control the volume of the Apple Watch itself in code from SwiftUI.
I'm streaming audio using the AVPlayer.
Is there an API to set the Volume of the Watch or use to Digital Crown to ...
3
Working on a project in swift, where I'm trying to initiate the AVPlayer, and for some reason it trows me an exception saying
AudioHardware.cpp:1200:AudioObjectRemovePropertyListener: AudioObje...
7
Im trying to figure out how to retrieve a videos frame rate via AVPlayer. AVPlayerItem has a rate variable but it only returns a value between 0 and 2 (usually 1 when playing). Anybody have an idea...
Jackfruit asked 19/5, 2012 at 16:16
3
Solved
I am observing KVO AVPlayerItemNewErrorLogEntryNotification of the AVPlayer and I find the following error:
errorStatusCode:-12645 errorDomain :CoreMediaErrorDomain
errorComment:Internal erro...
Krystin asked 7/3, 2016 at 23:33
7
Solved
I am building a MP3 player for iOS that plays audio files hosted on the web. I want to offer the ability to play the files offline so I have the files downloading using ASIHTTP but I am cannot seem...
Narrate asked 6/3, 2012 at 3:20
5
Solved
I'm trying to play an slow motion video (filmed by the user's iPhone) in an AVPlayer.
I am retrieving the AVAsset with a request on a PHAsset from a picker:
[manager requestAVAssetForVideo:PHAss...
Bespoke asked 1/5, 2016 at 0:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.