HLS encryption VOD randomly stop playing on IOS

We have 4 AMS servers load balanced (DNS) with identical application on each. RTMPe is playing fine from flash desktops, however, HLSe on IOS devices randomly stops playing part way through the content. I do not see any relevant errors in AMS/Apache. The front end player shows the following errors when the content stops playing:
"CoreMediaErrorDomain" "No response for media file in 0.49632s"
"CoreMediaErrorDomain" "Segment exceeds specified bandwidth for variant"
Similar issues discussed here: http://openradar.io/15060374 (thought not AMS specific).
This could be a player issue. It seems to randomly have issues grabbing an HLS segment. Has anyone else had any similar issues?
(the following IP's, certs, URL's have been replaced for privacy).
httpd.conf
<Location /hls-vod>
                HLSHttpStreamingEnabled true
                HLSMediaFileDuration 8000
                HttpStreamingContentPath "/mnt/store0/"
                HLSFmsDirPath ".."
                HLSJITConfAllowed true
                # Cache-control header configuration start
                # Specify the max-age(in secs) to set in the Cache-Control header
                # for different response types (m3u8, ts, drmmeta,...).
                # A value of -1 turns off setting the cache control header.
                HLSM3U8MaxAge 86400
                HLSTSSegmentMaxAge 86400
                HLSMetaMaxAge 3600
                # Cache-control header configuration end
                # Uncomment the following directives to enable encryption
                # for this location.
                     HLSEncryptionScope server
                     HLSEncryptCipherKeyFile "../creds/vodkey.bin"
                     HLSEncryptKeyURI        "https://myurl/hls-key/vodkey.bin"
                Options -Indexes FollowSymLinks
        </Location>
httpd-hls-secure.conf
<VirtualHost myip:443>
ServerName myserver
DocumentRoot "../webroot"
SSLEngine on
SSLCertificateFile    "/opt/certs/mycert.crt"
#Uncomment the following if the file specified above does not
#have the private key
SSLCertificateKeyFile "/opt/certs/mykey.key"
#Client Authentication configuration
#SSLVerifyClient require
#SSLVerifyDepth       9
SSLCACertificateFile "/opt/certs/myintermediate.crt"
SSLOptions           +StdEnvVars +FakeBasicAuth -ExportCertData +StrictRequire
<Location /hls-key>
  HLSEncryptHostCipherKey true
  HLSFmsDirPath ".."
  HLSEncryptKeyRepository "../creds"
  SSLRequireSSL
#  SSLRequire %{SSL_CLIENT_S_DN_CN} eq "iPhoneOS Device Certificate"
</Location>
</VirtualHost>

I just wanted to add an update in case anyone else runs into a similar issue.  I seem to have found a solution to the problem.  Here's what I did:
1) Plugged in to my computer and removed all music from my iPod (just unselected "sync music" then allowed the iPod to sync).
2) In iTunes, under the summary tab of my iPod, I selected "convert higher bit rate songs to 256 kbps AAC" in the options section.
3) I synced my iPod.  This took a REALLY long time, as I have just over 52GB of music that I chose to put on my iPod.  This is 52GB AFTER the conversion to 256kbps.  Anyway, it took a couple hours to sync the first time because it had to convert almost every song.  After the first sync, it doesn't take long to sync unless I add a lot of songs and even then, it only takes a few minutes.
I've listened to my music on a variety of devices (in my car, different types of headphones, computer at work etc) and haven't noticed any degradation in quality, despite the fact that nearly all of the original music files on my computer are 320kbps.  I'm not sure if the problem I was having was due to the higher bitrate or the fact that the original music files are a variety of formats (aac, mp3, wav, and some others).
I did this later in the evening after I posted the original question and have not had a problem since (about 15 days).  Skipping songs seems to go a lot faster as well.  I use my iPod a good 6-10 hours everyday, so I think that having no problems in the last 15 days is pretty good evidence that this is a good solution.
Hopefully this is helpful to anyone that stops by here

Similar Messages

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

  • Why does my ipod touch (2nd Gen) 32G randomly stop playing while at the same time the volume control slider dissappears?

    It randomly stops playing after as little as 7 seconds and as much as 2 minutes.   To resolve the problem I began removing and reinserting headphone jack.  This sometimes rectified the issue, but inevitably it would stop playing again.  I have blown air into the headphone jack receptical and powered down the product but neither action has permanently corrected the problem. 
    It has been a couple of months since it was last restored.
    Any thought on why this has just started to happen.  Does it need to be repaired by Apple?  The item was purchased in Sept 2009.

    It is possible you have a faulty lock/power button. One of my friends iPods did this. See if a faulty lock/power button is covered by your warranty if you don't have a warranty you might have to pay a pretty penny to get it fixed. When the screen flashes does it go black and come back at the lockscreen? If so it is very much the lock/power button.

  • Music randomly stops playing (same problem in multiple apps)

    Since a few days, my Z1C will randomly stop playing sound, while I'm listening music. It will do this up to multiple times per minute, seems somewhat like a online game lagging really badly, after which it will just pause.
    It does this on multiple apps (I tried it on the following
    - Spotify
    - Walkman (or whatever the music app is called now)
    - Audible (audiobooks)
    The issue happens both when I listen through my bluetooth headphones (Jaybird bluebuds x) as well as on speaker.
    I have had the phone for somewhat more than a year now, I recon. The headphone jack is broken because of my own rough handling, but that wasn't a big deal so far because I use bluetooth anyway.
    Anyone know what to do about this? 

    Hi Bmot,
    Welcome to the community.
    You could try booting the device in to safemode, at least this way you can find out if software is the suspect or if it is more likely hardware.
    Safemode instructions
    let us know how you get on.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • AppleTV + iPhone randomly stops playing music.

    My dad bought a appletv a few days ago and i set it up in his living room, about 40 feet from the wireless router, and it has 4 bars in the wireless settings menu. Everything is working fine, except when playing music to the appletv over airplay, it will randomly stop for 1 second, and automatically resume. Sometimes it will stop, and even disconnect him from the appletv completely, and he will have to go in and start streaming to it again.
    Now, i have an iPhone too, and mine works fine. No pausing or disconnecting at all. I have the latest iOS, and my dad had i think 4.3 or something. So I updated him, thinking that would fix the problem, and at first it seemed it had, but after 5 or so songs, it was still randomly pausing for 1 second, then it would start right back up again.
    This was happening in both Pandora and local music on the iPhone.
    And again, mine works fine 4G verizon, it was his iPhone 4G AT&T that was having the problem.
    Any ideas?

    I had this issue when using music over iCloud / iTunes Match.  I downloaded the songs to the iPhone and problem solved

  • IPhone randomly stops playing sound out of iPod docks?

    I recently plugged my iPhone 4 iOS6.0.1 (the new update recently put out by apple) and it has stopped playing sound out of any iPod dock I plug it into.
    It plays sound normally out of the speakers and charges while on the dock. Has anyone had any problems similar and any solutions?
    Also I have restored my whole iPhone this morning and it still has the same problem. My husband doesn't have this problem and he has the iPhone 3.
    Is this a bug with the new iOS6.0.1 and is Apple going to put out a new update anytime soon to fix it? Or do I need to send my phone away.
    Thank you.

    It can't be 3 years old since the 5G iPod was first introduced in Oct 2012
    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so. There is a little switch in the headphone jack that disconnects the speaker when the headphone jack is inserted.
    Try the following to rule out a software problem
    - Reset the iOS device. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Itunes randomly stop playing and restarts playing like a pause when playing music.

    My itunes the latest version 11.1.3 stop playing music randomly and start playing it again. It almost like its buffering itself.
    My hard drive is not full.
    Already tried to repair disk etc.
    I do not know what to do it all start its skipping when I upgraded to OSX Mavericks.
    Anyone have any ideas as to why this is happening?

    Hi, have you found something work for you ?
    Happens to me as well but not started in mavericks all started with Mountain Lion , a few weeks before he left mavericks , I thought the problme would be solved by updating , but he did not, it's very frustrating strange thing is that in my case not only iTunes is , if any player, have proven Vox and another which I forget the name .
    I also feel the same when you play a song in quick look ( Finder) .
    I am desperate this problem is with me for the last month and a half went to a apple store and tell me that my machine has nothing that can not help me, and tried everything , reset my machine with a clean install , restart PRAM , repair permissions hise disk hardware test , and nothing has changed.
    When iTunes pause my machine freezes a moment and returns to normal when continuous playback , stops about 1s though sometimes hard to 5s .
    We appreciate if you find solution , because I am going crazy . Since neither in apple have been able to help me .
    My machine is a Macbook Pro late 2012. Mavericks , iTunes 11.1.3 did not correct my mistakes. Do not know what else to try .

  • My music randomly stops playing while using meetme app.

    whenever using my iphone 5s my music will stop playing happans with local music and spotify i contacted apple support and they wanted to bring it in to look at it. any ideas?

    Hi,
    I am having the same problem with my iPhone ever since I have upgraded to the 1.1.1 firmware. I have had the following problems.
    -Music stops playing when surfing the web.
    -After listening to music and exiting iPod mode. The play icon in the status bar still appears. To fix this I initiate iPod mode,play,then pause the song and exit ipod mode.
    -Bluetooth icon apears in status bar randomly. I just go into settings and turn the bluetooth off. I think this happens when I go in and out of air plane mode.
    -Screen freezes. I just wait and it usually unfreezes or I have to reset the device.
    I have 3-4 gigs of free space.
    and have tried reseting the phone to fix the problems.
    Thanks
    -James

  • Music randomly stops playing.

    I recently purchased the new iTouch 4G. I haven't had it for no more than 3 weeks. About a week ago, I was listening to some music and it just stopped playing. It has done the same thing a couple more times. The iTouch has also randomly reset it's self. I tried restoring it and it has done the same things it's been doing. Do you guys think it's a defected iPod Touch? What do you suggest I do?

    Tough problem. It can be an app causing those issues. Even a restore wouldnt fix a bad app from harm.
    Because that problem is hard to reproduce(its random) what I would do, is delete a few apps at a time, and continue like everything is fine.
    You have an entire year it is a defective touch. So within that time, just try to find out if its an app.

  • IPod randomly stops playing?

    Sometimes, if I am listening to music while using Safari for example, the iPod will stop playing at random and sometimes stops playing and brings me to the menu screen at random.

    I have this issue with mobile Safari too. It tends to happen to me while playing a large track, for example a 4 or 5 hour MP3 of a speech, rather than typical ~4 minute songs.
    A workaround for me is to pause my Safari activities every 10 minutes or so to bring up the "now playing" iPod screen for about 20 seconds, then back to Safari for another 10 minutes. This method is annoying but ensures uninterrupted iPod playback while multitasking.

  • IPod Randomly Stops Playing Songs

    Hi, Some songs on my iPod Touch running version 3.1.2, (mostly songs that I downloaded a long time ago) stop playing abruptly about 30 seconds before the song is over. The iPod says that the song is playing, but no audio is coming out. It is very annoying, and I was wondering if anyone else was having this problem or had found a solution. Thank you for helping me.
    P.S. The songs play fine on my 4th generation iPod, (A.K.A. the "iPod Click Wheel") so I know the files are not corrupt.

    No, I don't. Even if I did, that would not explain why no audio comes out of the speakers / headphones.

  • Safari randomly stopped playing Youtube videos

    Just the other day Safari stopped playing Youtube videos. I have tried running safari in 32bit mode but nothing. I would appreciate any info or help, thanks.

    I went to http://www.youtube.com/html5 and found that I was part of the HTML5 trial for YouTube and that YouTube videos should be playing via HTML5 and not Flash.
    I left the HTML5 trial so that the video were being played by nasty old Flash... Guess what, it works.
    Videos are now playing normally using Flash.
    My suggestion is go to http://www.youtube.com/html5 and see if you are part of the HTML5 trial also, if you are, leave the trial and see how you go.
    Lee

  • Mix Radio randomly stops playing

    I have been using the Nokia music app ever since I got my 820.
    Every few songs or so the app just stops playing music. I can fix it by skipping the next 2 tracks, and then it starts playing again.
    It occured when the App was Nokia Music, and has not been fixed in the upgrade to Mix Radio. I have also tried a free trial of Mix Radio+ but problem still occurs.
    Is anyone else having this issue?

    Thank you for your interest in my problem, it is appreciated as I really like MixRadio and have this week signed up for the subscription.
    Below are the best replies I can give.
    What types of mix aare you having trouble with? All mixes as far as I know
    Featured/categories/genre mixes offered by MixRado? I have 2 featured mixes and 2 custom mixes. It appears to happen to them all.
    "Artist mixes" from an artist chosen by you? Not always
    Offline (downloaded) mixes? I never stream, even at work. I always use offline mixes
    Does this happen when streaming mixes and when playing offline mixes? As above I do not stream.
    Is this happening with all mixes or certain ones? All mixes.
    I must mention that in the last week I have been very vigilant to use the back key on my 820 to close all applications to ensure it is not holding anything in memory. This seems to have solved the problem for now as I have not had the problem all week except for one issue today which I think is a different issue perhaps. Todays problem was after I had answered a phone call while listening to an offline mix (Kids movie music, high quality) and when I tried to restart the music (it didn't automatically re-start) the song would not start. I ended up simply going to the next track after trying to pause and unpause, and then the next song played straight away.
    I am thinking my original problem is just running out of ram perhaps. I will try this week to perhaps use my phone without closing apps to see if the problem re-occurs.

  • My music stopped playing with iOS 5

    I downloaded the iSO 5 on my iPod, but my music stopped playing.
    I tried to sync again, but still don't playing the music.
    What will I do? I need my music!

    That is not really a error. What that is saying is that itunes cant find the file to sync over to your iPhone.
    Yes you see it in your libary but the song is gone. As in if the song was located in C://Computer/Music. Then it was moved to a different location iTunes cant find it. Find the song and put it back. That is all you have to do or redownload it.

  • Apple TV randomly stops playing music after 20 seconds and goes to next tune

    I have the most updated OS on Apple TV, and recently it has started playing a track, after 20-30 seconds it abruptly stops and goes on to the next track.  Some tracks play in entirety, but then several in a row will be abruptly ended.  Any help to correct this is appreciated.

    It was happening 90% of the time at 1:02 minutes into the track.  Even though ATV did not suggest an upgrade, I went to the software update, and it updated something (no information was displayed).
    So, now it is up-to-date, but I still get a random stoppage in the middle of a track (10% of the tracks), and it jumps to the next track.
    I have it on shuffle.  I am on wired ethernet (was on wireless, but switched to hard-wire just in case it was some network issue).
    Sigh.

Maybe you are looking for

  • Issue in starting Oracle 11g Installation - Display Variable

    Hi Experts, I am getting the below error message when I run ./runinstaller "Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed" also, xclock was failed before executing ./runi

  • Print programs for (print) interactive forms

    Hello, I am looking for an (any) interactive form and the print-program belonging to this form. It can be any form from any moudule, as i only need it for testing purposes. Thank you!

  • Ok, the project panel does not work anymore!!!!

    I'm using flash cs5.5 and today I opened my project to start working... just to find out that the project panel does not work. When I click the tab to expand it, flash hangs for a minute and then it works, but the panel is blank, empty. The odd thing

  • Automating OS install in WDS with multiple boot image

    Hi, can someone explain to me if it is possible to completely automate a windows install in WDS with 3 different install and boot image. I am new to this and trying to learn everything i can. I have 3 unattended files attributed to each install.wim a

  • Excel and Jet

    when accessing a jet report from an Excel spreadsheet we get an out of resources error event viewer generates Source: Application Error event id: 1000 task category: (100) keyword: Classic Faulting application name: EXCEL.EXE, version: 14.0.6126.5003