When I stream RTMP video from Amazon Cloudfront to OSMF, there is a noticable delay whenever I seek to a new point in the video. It lasts for about 2 or 3 seconds. You would think this delay is just the video buffering, but it's not. The MediaPlayerStateChangeEvent fires and says the video is "playing," when it's really not. It actually starts playing three seconds later.
If I take Amazon out of the equation, and stream the same file from a different FMS, I do not see this delay when seeking. The video plays right away
Does anyone know how to fix this?
Turns out that my issue was not related to Amazon cloudfront. Instead, the problem occurs when using DynamicStreamingResource for multi-bitrate videos.
See this post: http://forums.adobe.com/message/4278474