Results 1 to 2 of 2

Thread: Android > 4.0 Imposible to stream to device. html5 video tag.

  1. #1

    Default Android > 4.0 Imposible to stream to device. html5 video tag.

    Hi guys, I have a wowza server running on amazon. I use this server to stream live and vod stuff to web, iOS devices, and Android devices. For Android devices I've been using the html5 video tag with rtsp. Everything worked fine for devices with 2.3 and 2.2 but I just realized that it's not working for devices with Android 4.0 and up.

    I've been reading ALL the posts from the forum and I've already checked:
    - UDP ports, all opened in my amazon server.
    - I've already tried to use http://myServer:1935/vod/_definst_/m...e/playlist.m3u in my html5 tag.
    - "When streaming to an Android device using RTSP/RTP, the RTP portion must flow over UDP. Android does not support RTSP/RTP interleaved (RTP over TCP). This means if UDP is unavailable for RTP playback, RTP over TCP will not work as a failover and your stream will not play." My UDP ports are opened.
    - If I open http://myServer:1935/vod/_definst_/m...e/playlist.m3u with the video player of my android phone it does stream...

    Any idea?

    Thanks!

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Opening udp ports, etc., is for the benefit of rtsp playback, but you are testing cupertino (HLS) not rtsp.

    You might try using HTML5 page with /video tag instead of direct link for the HLS stream.

    <html>
    <head> 
      <title>cupertinostreaming</title>
    </head>
    
    <body>
    <video controls src="http://myserver:1935/vod/_definst_/myVideoName/playlist.m3u">
    </video>
    
    </body>
    </html>
    Then open that page instead of the direct link. This might work on recent Android devices, though reports are mixed.

    RTSP is still the best way to do simple streaming to Android. Try rtsp directly in a browser on the Android: rtsp://myserver:1935/vod/_definst_/myVideoName

    Richard

Similar Threads

  1. How to play live stream on mobile devices with html5 video tag?
    By vosovskiy in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 08-28-2013, 07:12 PM
  2. Playback using html5 video tag, is that possible?
    By Andres in forum General Forum
    Replies: 7
    Last Post: 09-11-2012, 03:22 AM
  3. HTML5 video tag in iPad 1
    By genekru in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 08-17-2012, 11:30 AM
  4. Can Connection Arguments be Passed when using HTML5 Video Tag?
    By SteveT in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 11-23-2011, 12:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •