Results 1 to 4 of 4

Thread: I need to do an RTMP stream available for Android and iOS devices

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Posts
    7

    Default I need to do a live RTMP stream available for Android and iOS devices

    Hi, I'm trying to do a live RTMP stream that is now working ok via a flash player, it is a live streaming. I need to do this streaming also available for Android and iOS. I don't really know where to start, I'm using Wowza Media Server 3 Perpetual Edition 3.6.2 build5334, I guess that my wowza app should transcode the RTMP streaming, but I'm confused, I looked here: http://www.wowza.com/products/stream...specifications but it doesn't say anything about Android itself (it says iOS is http / HLS streaming) What should I do?
    By the other hand, I don't know what to do in the Android / iOS side, I'm expecting something like having an url and click it, and expect the device to open the streaming with some app that will do the work. Am I right? Or it is possible to have a web players for both platforms?

    Thanks in advice
    Last edited by iperich; 05-12-2015 at 08:12 PM. Reason: forgot to say it was a live streaming

  2. #2
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi,
    For streaming to mobile both Apple iOS devices and Android (4.0+) both use the Apple HLS protocol.
    You can use a link which the client could click on using the default browser which should play the stream but some players can stream both RTMP and Apple HLS such as JW player and Flowplayer.

    To allow playback of streams via Apple HLS protocol you will need to add "cupertinostreamingpacketizer" to the Streams/LiveStreamPacketizers container in the Application.xml file.
    You must also ensure that "cupertinostreaming" is added to the HTTPStreamers container. An article can be found below for reference.
    How to set up live streaming (Application.xml)

    After editing the file you will need to save it and then restart Wowza for the changes to take effect.

    Regards,
    Jason

  3. #3
    Join Date
    Jul 2011
    Posts
    7

    Default

    Hi, now I'm streaming HLS, I've only tried in Android, I'm using the url "http://myserver.com:1935/myApp/myStream/playlist.m3u8 , but I only hear the audio, no video at all. In myApp configuration, I have

    <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>

    and

    <HTTPStreamers>cupertinostreaming,smoothstreaming</HTTPStreamers>

    The m3u8 generated looks like this:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=121387,CODECS="mp4a.40.2"
    chunklist_w1089458822.m3u8

    So I think that I'm only sending audio through HLS. In rtmp the stream is ok

    żAny thoughts?
    Last edited by iperich; 07-13-2015 at 02:28 PM. Reason: typo

  4. #4
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi,
    I'd check the codec of the video source as this will need to be H.264 for it to be compatible for Apple HLS.
    If you check the error.log file it should tell you if an audio or video codec is being used that's not supported for Apple HLS.

    The Wowza Transcoder can be used to adjust the audio and video codecs where needed.

    Regards,
    Jason

Similar Threads

  1. Need RTMP url for desktop and mobile devices...
    By navDev in forum General Forum
    Replies: 3
    Last Post: 04-16-2014, 05:49 AM
  2. Replies: 1
    Last Post: 10-20-2012, 01:53 AM
  3. Live Streaming to IOS and Android Devices Latency
    By GameDayXtra in forum Performance Tuning Discussion
    Replies: 2
    Last Post: 06-20-2012, 11:53 AM

Posting Permissions

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