title: Live Streaming- HLS + RTSP using Video.js (Wowza Server)
body: <p>I am using a Wowza's Gocoder application to live stream video from my iPhone to the Wowza server(version 4.0.4). From the server I was able to fetch the video to my Webpage as well. I used Video.js player to do the same. But all this works only for IOS (HLS stream). Now, I would like to know if I could support streaming from my Android mobile (RTSP) as well using the same player. 
  Is there something I could include to make the single player connect to the RTSP or HLS stream respectively?</p>
  
  <p>Thank you for the help ! :)</p>
  
  <p><em>Code</em>:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
    &lt;script type="text/javascript"&gt;
   document.createElement('video');document.createElement('audio');document.createElement('track');
  &lt;/script&gt;
  &lt;link href="//vjs.zencdn.net/4.8/video-js.css" rel="stylesheet"&gt;
  &lt;script src="//vjs.zencdn.net/4.8/video.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered"
    controls preload="auto" width="500" height="300"
    poster="nfllogo.png"
    data-setup='{"example_option":true}'&gt;
  &lt;source src="http://a.b.c.d:1935/live/myStream/playlist.m3u8" type='video/mp4'/&gt;
    
   &lt;p class="vjs-no-js"&gt;To view this video please enable JavaScript, and consider upgrading to a web browser that &lt;a href="http://videojs.com/html5-video-support/" target="_blank"&gt;supports HTML5 video&lt;/a&gt;&lt;/p&gt;
  &lt;/video&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>