Questions tagged avplayer

Explore the latest questions and answers asked by our top developers.

Xamarin.Forms AVPlayer exit fullscreen from method

I have a Xamarin application which plays a video for 30 seconds and then shows a dialog. The user can continue to watch (dismiss the dialog) or click an action in the dialog (which then should close full-screen and navigate elsewhere in the app). I have this working on the simulator. However, when I run […]

By Trevi Awater
Published
Categorised as Uncategorised Tagged , , ,

How to detect volume button press on tvOS remote

Im trying to find a way to observe the player so that I can detect when a user increases or decreases the volume on the Apple TV. I have managed to get this to work for iOS by using: var audioSession: AVAudioSession? audioSession?.addObserver(self, forKeyPath: "outputVolume", options: [.new], context: &videoPlayerViewControllerKVOContext) if keyPath == "outputVolume" { guard […]

By kaddie
Published
Categorised as avplayer, avqueueplayer, swift, tvos Tagged , , ,

Why AVPlayer not stopping on the last frame of HLS streamed video?

I have used to stitchedStreamPlayer to play stream video. However, i am not able to stop on last frame of video. It is showing black screen. I set the property [player setActionAtItemEnd:AVPlayerActionAtItemEndPause]; still is not stopping video on the last frame. How should i stop on the last frame? Source: Ios Questions

By Ameet Dhas
Published
Categorised as avplayer, ios, objective-c, video-streaming Tagged , , ,

how can I play a video by file path (saved in photo gallery) using AVPlayer or MPMoviePlayer? – xamarin.ios

Actually, I am capturing video using AVCaptureSession+AVCaptureMovieFileOutput and then storing file path in SQLite. Now I want to play recorded video using that file path. so, my question is how can I play a video by file path (saved in photo gallery) using AVPlayer or MPMoviePlayer? I am working in xamarin.ios Source: Xamarin.ios Questions

what is the best way to play and setup controls for video (like play, pause, stop, volume and seek bar) on xamarin.ios

what is the best way to play and set up controls for video (like play, pause, stop, volume and seek bar) on xamarin.ios. Source: Xamarin.ios Questions

By Manzar Gulzar
Published
Categorised as Uncategorised Tagged , , , ,

Xamarin.iOS native crash at AVPlayer pause

In recent updates to Xamarin Forms 4.8, I encountered crashes randomly when the AVPlayer is paused. The Output window contains many rows of these outputs: 8 124 00000046: 0128 3 2 3 00000052: 0131 2 12 132 0000005E: 0132 2 20 144 000000A6: 0100 4 4 256 000000B2: 0101 4 4 180 000000BE: 0102 3 […]

By Tek Mun
Published
Categorised as Uncategorised Tagged , ,

How to find AVPlayer current bitrate

I am trying to fetch bit rate at which the AVPlayer is playing the video stream . I tried with observed bit rate property of AVPlayerItemAccessLogEvent , but it gives very high value.After exploring further on Observed-bit-rate property I understood that this property shows the value of download rate of a segment.I need to know […]

By Karthik
Published
Categorised as avplayer, avplayeritem, bitrate, ios7 Tagged , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq