Results 1 to 3 of 3

Thread: Live Streaming to IOS and Android Devices Latency

  1. #1

    Default Live Streaming to IOS and Android Devices Latency

    Just brainstorming a bit.

    I'm trying to work out the best way to distribute a live event to IOS and Android smart phones that are getting internet connection using either local wi-fi or native carrier data plan.

    My current set up is:
    Laptop encoding at the Live Event via 300kbs link, connecting to EC2 with Wowza server
    Smartphones then connect to EC2 stream via HTTP for IOS and RTSM URL for Android.
    If I do Audio Only , I can get it down to about 10-15 sec latency from event transmission to the audio being played on the smartphone via its data connection from the native service provider.

    Is it possible to reduce that latency?

    The goal is to have a live audio input play at the local event the broadcast is originating.
    I hope to get as close to real time as possible.

    Any ideas would be welcome.

  2. #2

    Default

    There is the Low Latency tutorial.

    The useful parts there that apply to your setup are the low-latency StreamType, and increasing audio sample rate. Other things that will decrease latency:

    1. Increase framerate
    2. Decrease keyframe interval
    3. Reduce network hops/latency
    4. Switch to Flash on Android instead of RTSP

    Your 300kbps uplink is likely a major part of the latency issue here. Is it possible to offer wifi at the event and serve the stream from a local copy of Wowza?

  3. #3

    Default

    Thanks for the reply.
    I followed the Low Latency Tutoria. Please verify that I did it correctly in the conf/live/application.xml below
    1. I can increase uplink to higher number 800-1.2MB but if I'm only sending 64bit audio would it make a difference?
    2. The best I can do from encoding location to Amazon EC2 is about 40ms latency. I figured the phone carriers would be closest to the amazon backbone to pick up the streams.
    3. Do you have an example to use Flash instead of RTSP? Is it just adjusting the URL?
    4. I guess broadcasting live at the event via 802.11x would be the fastest possible. But was hoping to use the carrier bandwidth first if possible.

    Thanks for you help.
    </Properties>
    </MediaWriter>
    <LiveStreamPacketizer>
    - <!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications
    -->
    <Properties>
    <Property>
    <Name>chunkDurationTarget</Name>
    <Value>2000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>maxChunkCount</Name>
    <Value>3</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>playlistChunkCount</Name>
    <Value>2</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>repeaterChunkCount</Name>
    <Value>2</Value>
    <Type>Integer</Type>
    </Property>
    </Properties>
    </LiveStreamPacketizer>

    <HTTPStreamer>

Similar Threads

  1. Live streaming to iOS devices, without delay
    By zibrnp in forum General Forum
    Replies: 3
    Last Post: 07-07-2014, 05:32 PM
  2. iOS live streaming disconnects right away other devices are fine
    By vladworks in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 02-17-2014, 12:56 PM
  3. Live streaming to non-IOS devices not using Flash
    By barryb in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 11-08-2012, 05:25 AM
  4. Lowest latency possible encoder and Wowza settings for iOS devices
    By SyberNow in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 04-03-2012, 10:48 AM
  5. Live Streaming on IOS Devices
    By darknight in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 12-30-2011, 03:24 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
  •