title: Streaming server or http server
body: <p>We’re taking in mind the possibility of using a media server in order to build our on-premise media service.</p>
  
  <p>We’re only focusing at Video- and Audio-on-Demand use-case. Live stream is out of our scope right now.</p>
  
  <p>I mean, we’re need to serve pre-registered videos and audios with a good performance.</p>
  
  <p>We’ve played with ant community server, but we’ve some issues we’re not quite figure out. We’ve tested two scenarios:</p>
  
  <ul>
  <li>to serve a video hosted on a straight http server (httpd)</li>
  <li>to serve a video behind an ant service.</li>
  </ul>
  
  <p>We’ve look at how videos are downloaded by browser and we’ve surprised to see that videos are served using the same strategy: using http partial content (206).</p>
  
  <p>Related code:</p>
  
  <pre><code>&lt;head&gt;
      &lt;link href="https://vjs.zencdn.net/7.6.6/video-js.css" rel="stylesheet" /&gt;
  
      &lt;!-- If you'd like to support IE8 (for Video.js versions prior to v7) --&gt;
      &lt;script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;video
        id="my-video"
        class="video-js"
        controls
        preload="auto"
        width="640"
        height="264"
        data-setup="{}"
      &gt;
        &lt;source src="http://localhost:5080/LiveApp/streams/378475861251583275889765.mp4?accessToken=null" type="video/mp4" /&gt;
      &lt;/video&gt;
  
      &lt;video
        id="my-video2"
        class="video-js"
        controls
        preload="auto"
        width="640"
        height="264"
        data-setup="{}"
      &gt;
        &lt;source src="http://localhost:8080/video.mp4" type="video/mp4" /&gt;
      &lt;/video&gt;
  
      &lt;script src="https://vjs.zencdn.net/7.6.6/video.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>So, next question comes at mind: why do we need an Ant service if both (ant and http server) behaviors are the same?</p>