devgeeks / ExampleHTML5AudioStreaming

Example project showing audio streaming using HTML5 Audio with PhoneGap on iOS - https://build.phonegap.com/apps/242993
164 stars 61 forks source link

Sound Stops after some time of playing #2

Open najeeb06 opened 11 years ago

najeeb06 commented 11 years ago

i am trying this code in iOS 6 Xcode 4.5 customised it with a progress bar and most of the times it stops playing

i played a song and started changing its current time moving forward and previous and at one time it stops and throws this in log.

2013-03-19 13:03:37.067 LeagueApp[580:15b03] [MPAVController] Autoplay: _streamUnlikelyToKeepUp: 0 -> 0 2013-03-19 13:03:37.067 LeagueApp[580:15b03] [MPAVController] Autoplay: _streamRanDry: 0 -> 1 2013-03-19 13:03:37.077 LeagueApp[580:15b03] [MPAVController] Autoplay: Took background task assertion (12) for playback stall 2013-03-19 13:03:37.078 LeagueApp[580:15b03] [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 0, on player: 1) 2013-03-19 13:03:37.081 LeagueApp[580:15b03] [MPAVController] Autoplay: Disabling autoplay for pause 2013-03-19 13:03:37.082 LeagueApp[580:15b03] [MPAVController] Autoplay: Disabling autoplay 2013-03-19 13:03:39.681 LeagueApp[580:15b03] [MPAVController] Autoplay: _streamLikelyToKeepUp: 0 -> 1 2013-03-19 13:03:39.682 LeagueApp[580:15b03] [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 1, on player: 1) 2013-03-19 13:03:39.690 LeagueApp[580:15b03] [LOG] myaudio CAN PLAY 2013-03-19 13:03:39.784 LeagueApp[580:15b03] [MPAVController] Autoplay: Ending background task assertion (12) for playback stall

kindly help me with this.

thanks