Three different steps take place when streaming video on-demand to your clients from GravityLab’s CDN. These steps are:
1. A Flash media file must be stored on our CDN origin servers. This is the server you upload your video to. When requested by a user, the requested Flash content is cached on the POP closest to that origin server.
2. For each request, the Flash content is served to the POP closest to the client.
3. The stream is delivered from a POP to all clients in that region.
When a client requests on-demand content, a check is performed to find out whether the requested Flash media has already been cached at the POP closest to your client. If it is already there, then the on-demand content is immediately served up to that client. If the requested Flash media is not found, the first step for serving on-demand content is for the POP closest to the origin server to retrieve the requested Flash media from the CDN or customer origin server.
Once that POP has the requested Flash media, the next step involves sending the Flash media to the POP closest to the client requesting the content. For example, if there are four clients requesting on-demand content located close to Seattle and Atlanta, the Seattle and Atlanta clients will receive the Flash media through the Seattle POP and Atlanta POP, respectively. Sending Flash media through our network and bypassing traditional Internet communication routes ensures the efficient transmission of your Flash media and reduced bandwidth load on your network.
The last leg involved in the delivery of your on-demand content requires your client’s ISP to deliver the Flash media stream from our POP. Each of your clients will then use a Flash player to enjoy uninterrupted on-demand streaming.
On-Demand streaming requires our origin servers (where you upload your video), our content delivery network, and a Flash client. The requirements for each of these items are listed below.
Important: Your player URL should not point to the root folder of your origin server account. You must store your Flash content in another folder (for example, create a folder called ‘FLV’) and specify the path to that folder when setting the player URL.
Reminder: The default port used for the RTMP and RTMPE protocols is 1935. If your client’s Flash player does not allow communication through port 1935 then you will be able to send your stream through the HTTP protocol using port 80.
OK, now that you have an overview of the basic concepts at play here, let’s move on to Flash Video Streaming : Part 3 (click here)0