Results 1 to 3 of 3

Thread: HTTP streams fail after encoder reconnect due to network issues

  1. #1

    Default HTTP streams fail after encoder reconnect due to network issues

    Hi!

    We observed several times in cases when the network connection from the encoder to the server was disrupted shortly that the RTMP streams will continue however the HTTP streams for cupertino and sanjose did not work any more.

    We use FMLE as encoder and it automatically reconnects to the server:

    Mon Aug 13 2012 12:00:46 : Primary - Stream[live] Status: Success
    Mon Aug 13 2012 12:00:47 : Primary - Stream[live] Status: NetStream.Publish.Start
    Mon Aug 13 2012 12:19:02 : Primary - Network Status: NetConnection.Connect.Closed status
    Mon Aug 13 2012 12:19:07 : Primary - Disconnected
    Mon Aug 13 2012 12:19:07 : Primary - Re-establishing connection, attempt 1
    Mon Aug 13 2012 12:19:07 : Primary - Reconnected to FMS/3,5,7,7009
    Mon Aug 13 2012 12:19:07 : Primary - Network Command: onFCPublish
    Mon Aug 13 2012 12:19:07 : Primary - Stream[live] Status: Success
    Mon Aug 13 2012 12:19:07 : Primary - Stream[live] Status: NetStream.Publish.Start
    Mon Aug 13 2012 12:19:08 : Auto Adjust: Stop Drop Frame Command sent for stream live being published to server rtmp://ip-of-wowza/ITTM
    Mon Aug 13 2012 12:21:52 : Auto Adjust: Drop Frame Command sent for stream live being published to server rtmp://ip-of-wowza/ITTM
    Mon Aug 13 2012 12:22:05 : Primary - Network Status: NetConnection.Connect.Closed status
    Mon Aug 13 2012 12:22:10 : Primary - Disconnected
    Mon Aug 13 2012 12:22:11 : Primary - Re-establishing connection, attempt 1
    Mon Aug 13 2012 12:22:11 : Primary - Reconnected to FMS/3,5,7,7009
    Mon Aug 13 2012 12:22:11 : Primary - Network Command: onFCPublish
    Mon Aug 13 2012 12:22:11 : Primary - Stream[live] Status: Success
    Mon Aug 13 2012 12:22:12 : Primary - Stream[live] Status: NetStream.Publish.Start

    On the server I can see that RTMP still works, but the others not:

    2012-08-13 12:24:02 CEST comment server WARN 200 - HTTPProviderMediaList.onHTTPRequest: MediaList not found: ITTM/_definst_/ngrp:live_all - - - 176754.269 - - - - - - - - - - - - - - - - - - - - - - - - -

    We need to completely stop, disconnect and connect and start the encoder again to overcome it.
    Any ideas why and what to do?

    Thanx,
    Stephan

  2. #2

    Default

    Hello Stephan,

    Take a look at the Wowza logs for more information. You may see that the HTTP streams have been disconnected, since the time the stream was dropped is longer that the timeout Wowza has for holding the connections open.

    For Flash, there is a robust player built around the the stream. For Cupertino, we don't have this, but it is possible to create such a player that can monitor the stream, respond to disconnect events, and reconnect as you desire. See the Apple resources for examples: https://developer.apple.com/resources/http-streaming/

    For San Jose you can also check the Wowza OSMF example player code and monitor for events. These are the suggestions I have. There may be others.

  3. #3

    Default

    thanx, but also when I reload the player in Iphone or sanjose web page this happens. it looks like Wowza is not creating these streams any more. Only RTMP

    Stephan

Similar Threads

  1. Replies: 14
    Last Post: 02-08-2012, 06:39 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
  •