Bug 8136 - App "StreamingAudio" throws exception on clicking 'Stream and Play' button.
Summary: App "StreamingAudio" throws exception on clicking 'Stream and Play' button.
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 6.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Oleg Demchenko
URL:
Depends on:
Blocks:
 
Reported: 2012-11-01 10:16 UTC by Atin
Modified: 2014-11-10 09:56 UTC (History)
7 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description Atin 2012-11-01 10:16:15 UTC
Steps to reproduce:
1. Open the 'StreamingAudio' sample app
2. Debug OR Release the application
3. Click on 'Stream and Play' button

Actual result:
We observe following result:
For iPhone 4S  iOS 6:
On clicking 'Stream and Play' OR 'Stream, Save and Play' button application throws exception: "MonoTouch.AudioToolbox.AudioSessionException".

For For iPhone 4/4S iOS 5.1:
1. On clicking 'Stream and Play' button song start downloading and playing but and after completion of song application throws exception: "MonoTouch.AudioToolbox.AudioSessionException".
2. On clicking 'Stream, Save and Play' button it navigate to 'Streaming audio' where downloading progress bar, volume slider and pause button appear but downloading does not start and audio does not play. On pressing Pause button it does not convert to Play.

Note: On clicking 'Stream, Save and Play' button, user is blocked on the navigated page, user have not any option to return back and the console output is: https://gist.github.com/3993819

Expected result:
On clicking 'Stream and Play' button application does not throw any exception/error.

Supplement info:
MD log:  https://gist.github.com/3993797
Crash report: https://gist.github.com/3993781
Stacktrace: https://gist.github.com/3993005
Stacktrace: https://gist.github.com/3993680
iOS device log (on pressing 'Stream and Play' button):  https://gist.github.com/3993390
iOS device log (on pressing 'Stream, Save and Play' button):  https://gist.github.com/3993413

Environment info:
All Mac
Mono 2.10.9
MD 3.0.4.7 Stable
monotouch-6.0.4 Stable

Application info:
xamarin-monotouch-samples-33efa2f
Comment 2 Oleg Demchenko 2014-01-31 14:15:52 UTC
Hi Atin, 

Unfortunately I have no appropriate device to test this issue. Also I can't reproduce this issue with iOS 7 simulator and device running iOS 7.0.4

Can you recheck this issue please?
Comment 3 Mohit Kheterpal 2014-02-03 07:11:40 UTC
We are not able to check this, due to bug 17564.
Comment 4 Oleg Demchenko 2014-02-03 14:56:05 UTC
@Mohit:

I fixed bug 17564, think you can try to reproduce this issue now.
Comment 5 Akhilesh kumar 2014-02-06 09:56:19 UTC
We have checked Bug 17564 and it is working fine. However we have encountered another issue for Streaming audio app Bug 17620. Once Bug 17620 gets resolved we will verify this issue.
Comment 6 Oleg Demchenko 2014-02-10 12:43:01 UTC
@Akhilesh:

Got fix for bug 17620. Please verify this one, thanks!
Comment 7 Nischal 2014-02-12 06:17:08 UTC
Today we have checked this issue with following builds :

XS 4.2.4 (build 17)
X.iOS 7.0.6.242
App info :monotouch-samples-master7e676561eb64d10e307f4e0cda97bfe9c605761b
iPhone5-6.0.2
iOS Device Log:https://gist.github.com/saurabh360/cac780d911723fcd4c7a
Exception Info:https://gist.github.com/saurabh360/783faaccaf702ade0cba

Now,we are getting exception with the device version iOS 6 however with iOS 7 it's working fine.

Hence, reopening this issue.
Comment 8 Paola Villarreal 2014-11-04 11:36:24 UTC
Can we have an update on this issue? Otherwise it will be closed in 30 days.
Comment 9 Akhilesh kumar 2014-11-10 09:55:40 UTC
I have checked this issue with latest iOS sample and observe that now issue does not exist and "StreamingAudio"  application does not throw exception on selecting 'Stream and Play' button' and 'Stream, Save and Play'.

MonoTouchSamples-4689aa1380e3364f9e66f9fe712640462288662f/StreamingAudio

iPhone 4S (iOS 7.1.1)
iPhone 5 (iOS 8.1)

Hence, closing this issue.