Results 1 to 10 of 10

Thread: HLS stream keeps crashing

  1. #1
    Join Date
    Apr 2013
    Posts
    14

    Default HLS stream keeps crashing

    I am pulling streams from 2 RTSP IP cameras and pushing them out via Wowza using 2 streams: source and 360p. I am using Flowplayer to play the rtsp-to-rtmp "source" stream and it works fine. I am streaming the 360p profile out via .m3u8 files for mobile devices and it simply crashes all the time when viewing it on iPad, iPhone and Android devices. Sometimes it will play for 5 minutes then crash, while other times it either never connects or it plays for a few seconds then crashes.

    I've been testing out Wowza now for only a couple weeks, and with these issues I can't comfortably tell my client that this server is the way to go, so I really need to get some answers.

    Much thanks in advance.

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

    Default

    Hi,
    Are you using Flowplayer to play the Cupertino/Apple HLS compatible stream?
    If you play the stream directly from the IP camera using VLC does the stream crash at any time?
    Are you using Wowza to transcode the stream?

    Do you get any error in the logs when the stream crashes?
    Can you provide the links so I can see the stream playback? (optional)

    Jason

  3. #3
    Join Date
    Apr 2013
    Posts
    14

    Default

    Are you using Flowplayer to play the Cupertino/Apple HLS compatible stream?
    - No sir, Flowplayer is using rtmp stream

    If you play the stream directly from the IP camera using VLC does the stream crash at any time?
    - Never

    Are you using Wowza to transcode the stream?
    - Yes

    Do you get any error in the logs when the stream crashes?
    - Yes. I have tons of errors like this : RTSPRequestMessage.parseHeader[rtsp://[server-ip]/primarystream/]: missing parameters: [large string here]

    Can you provide the links so I can see the stream playback? (optional)
    - HLS Stream: 66.118.69.146:1999/live/camera.stream_360p/playlist.m3u8

    Thanks Jason

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

    Default

    Hi,
    I had a look at your other post but will submit the answer here.
    To remove this error I suggest adding this property to the Application.xml
    <Property>
    <Name>rtspValidationFrequency</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>

    This can be found in the IP camera tutorial here,
    http://www.wowza.com/forums/content....-re-streaming)

    I'll take a look at the stream in a moment and get back to you.

    Jason

  5. #5
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    I've had a look and I could be the validation that's causing problems which will be tuned off using the property above.
    If the above does't work you could try using jitter buffer and logging to help determine the problem,
    http://www.wowza.com/forums/content....P-and-MPEG-TS)

    What version of Wowza are you using?

    Jason

  6. #6
    Join Date
    Apr 2013
    Posts
    14

    Default

    I made the change you mentioned above to Application.xml, restarted Wowza, set up the cameras to stream and nothing worked after the change (all streams could not be found). Removed it, restarted and now everything works again. Any ideas??

  7. #7
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    I think you may have added the property block in the wrong place in the Application.xml.
    If you open up a ticket by sending an email to support@wowza.com we can take a closer look.

    Attach a zipped copy of the /conf and /logs in the email and a link to this thread for reference.

    Jason

  8. #8
    Join Date
    Apr 2013
    Posts
    14

    Default

    I changed:
    <MediaCaster>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    <Properties>
    <Property>
    <Name>streamTimeout</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>
    </Properties>
    </MediaCaster>

    To read:
    <MediaCaster>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    <Properties>
    <Property>
    <Name>streamTimeout</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>rtspValidationFrequency</Name>
    <Value>0</Value>
    <Type>Integer</Type>
    </Property>
    </Properties>
    </MediaCaster>

    Is that not correct?

  9. #9
    Join Date
    Apr 2013
    Posts
    14

    Default

    NOTE: I made the above change to the file: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 3.5.2\conf\live\Application.xml

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

    Default

    reference ticket #55500

Similar Threads

  1. Server crashing
    By Atmapuri in forum Wowza Streaming Server Java API
    Replies: 2
    Last Post: 06-23-2014, 02:38 PM
  2. Crashing on CentOS 6.1?
    By streamingguy in forum AddOn: Transcoder
    Replies: 12
    Last Post: 01-16-2012, 06: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
  •