billions of websites are using various techniques for streaming their videos to fit the user needs (Internet connection, browser, OS version) are playing a vital role for which technique the server will try to use.
Despite I've made a complete video conference that is working using OpenTok, I am not sure how it works with AJAX Requests, also please note that any streaming technique (viewing video, making video calls) will be just an array of streams that gets pushed over the network.
the idea works like that
1- there is a server (Let's say its the OpenTok Server)
2- Client initiate a request to the server and get token (if its a video conferrence) or will just request a resource through a normal HTTP GET Request.
3- Server will respond with the resource.
4- resource will be an HTML 5 object, Flash or whatever, then the stream will begin from server, there are various techniques here
- Signal R is one of them
- XHR Requests
- Node JS
and plenty of other technologies.
it starts implementing its own algorithms to request and push stream from the server and to the client.
there are other mandatory options that comes in mind when doing so like
please let me know if this is not clarifying info and tell me what do you mean exactly if this is not the answer for what you are looking for.