Bug 15194 - AVQueuePlayer insertItem:afterItem: should accept null
Summary: AVQueuePlayer insertItem:afterItem: should accept null
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.0.0.x
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-10-04 01:47 UTC by david30856
Modified: 2013-10-04 07:03 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description david30856 2013-10-04 01:47:56 UTC
Per Apple documentation, see below, you should be able to pass null for afterItem. However currently passing null throws an exception. 


Places given player item after a specified item in the queue.
- (void)insertItem:(AVPlayerItem *)item afterItem:(AVPlayerItem *)afterItem


    The item to be inserted.

    The item that the newly inserted item should follow in the queue. Pass nil to append the item to the queue.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2013-10-04 07:03:31 UTC

maccore/master: 8e13b0950f00ae89b57791caa97aadc9842fd0a6
monotouch/master: d93334f52ab178668718dfc27ac1023c65d84241