Video player frequently disconnects from file server
When playing mp4 videos hosted on a server, I am seeing the playback pause for 1-3 sec, every 2 to 3 min. The timing of the pauses matches a rapid fire of several 'connection reset by peer' errors on the server. When playing the exact same video in a Chrome browser on an Android Nexus tablet, there are no pauses (an no disconnects seen in the server logs either), so there is definitely something in the Fire TV player itself causing these disconnects. I have consistently observed the issue with some .mp4 files while other .mp4 are unaffected I am using a Custom Player derived from the sample Custom Player Sample. The modifications I made are pretty simple and shouldn't affect the player itself (e.g the player itself is controller from a playlist, but the CustomPlayer class itself is untouched), so I don't have any reasons to think the modifications I made could be the cause of the issue The part that's a little disconcerting is that even if the connection was somehow disrupted, the viewer's experience shouldn't be affected as long as the connection is established again before the player's buffer is completely consumed. Is this a known issue? Any pointers as to how I could troubleshoot / address the problem?
Hi tifr0z, Based on your report that some videos are jittery more consistently, this could be a codec related problem. - Could you please provide the logs on the Fire TV? - Could you please provide the media info of the problematic videos? - Also, would it be possible for you to modify FlingSample.json file in the sample controller app to fling your video to the Fire TV Default Media Receiver? This will give us a good data point to decide whether it is a platform limitation. Thanks, Amazon Fling SDK Team
Yes I was able to reproduce the issue from the FlingSample controller app. The logs linked at the bottom document the first 2min of the video playing during the FlingSample controller test, the issue occurs shortly after 16:23:00 (There are a couple of relevant entries in the logs but not much "we're much too late (3.90 secs), video skipping ahead" / "cache is running low (0.35 secs) , pausing.") Media info (as copied from the inspector on my mac) Format: H.264, 1280 x 720, AAC, 44100Hz, Stereo (LR) FPS: 24 Data Size: 746.9MB Data Rate: 2.60Mbit/s Current Size: 1280 x 720 (Actual) Logs:
Hello, Based on the logs, it seems that the media player on the Fire TV Stick does not have an optimized experience for the video you are testing with. The video appears to have CABAC parameter set, and according to
https://developer.amazon.com/public/solutions/devices/fire-tv/docs/media-specifications that is not inherently supported. We can involve the Fire TV media team to confirm, however to do that could you please provide us with a link to a video that we can test with? Thanks, Amazon Fling SDK Support Team