Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Live streaming freezes after a few seconds

  1. #1
    Join Date
    Apr 2011
    Posts
    10

    Default Live streaming freezes after a few seconds

    I use Wowza to broadcast live streams from a camera via RTSP. The video streams but frequently freezes for a few seconds. When it resumes, the video plays at a slightly faster than normal speed, and then it freezes again.

    If I put the RTSP string into VLC it plays fine. The stream codecs are video:H264 audio:G711_MULAW.

    I tried lowering the video bitrate but the problem persists (I don't think it's a bandwidth problem as I tested in local network using cables).

    Does anybody have any suggestions? Many thanks.

    Ning

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

    Default

    Ning,

    It does sound like a bandwidth problem, it might be on the encoder side. You can test uplink bandwith with this tool:
    http://www.wowza.com/forums/content....tream-encoder)

    Richard

  3. #3
    Join Date
    Apr 2011
    Posts
    10

    Default

    Hi Richard,

    Thanks for the reply. Yes it does sound like a bandwidth problem, but I tried lowering the bitrate to 64kb on the encoder side and the problem still exists. On the other hand, VLC player plays the stream fine even at 1mb bitrate. I tested VLC player and Wowza on the same machine.

    Will try the tool you recommended later, but could there be anything else?

    Ning

  4. #4
    Join Date
    Apr 2011
    Posts
    10

    Default

    A few updates: I just found out that the problem only happens if I run the flash player and Wowza on the same PC.

    In my case, the encoder runs on a separate box connected to my PC via LAN. Wowza runs on my PC (localhost), and the JW Player is also hosted on localhost.

    When I play the live stream using the player the freezing happens. I tried the FlashRTMPPlayer included in Wowza examples and have the same problem.

    However, if I use a flash player hosted remotely, e.g. the one at http://www.wowza.com/gettingstarted, the live stream plays fine!

    Any ideas?

    Ning



    Quote Originally Posted by rrlanham View Post
    Ning,

    It does sound like a bandwidth problem, it might be on the encoder side. You can test uplink bandwith with this tool:
    http://www.wowza.com/forums/content....tream-encoder)

    Richard

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

    Default

    Hi
    The player linked here doesn't use RTMP which is what you're experiencing the issues with.
    I can't see any reason the Wowza /examples RTMP player would be freezing due it being on the same PC as Wowza as this is the only way to access it.

    Players that use HTTP can effect the web browser for example if you are trying to do something in another tab while playing the stream it may slow the browser.

    Jason

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

    Default

    Hi
    I found this link within the page you listed above. For RTMP testing you can use this link,
    http://www.wowza.com/resources/3.5.0...er/player.html

    Jason

  7. #7
    Join Date
    Apr 2011
    Posts
    10

    Default

    Hi Jason,

    Thanks for the reply. I had to put "rtmp://localhost/live" into the Server box before it can play the stream. Does it still use http instead rtmp?

    Will try the rtmp testing page later.

    Ning

    Quote Originally Posted by JasonH View Post
    Hi
    The player linked here doesn't use RTMP which is what you're experiencing the issues with.
    I can't see any reason the Wowza /examples RTMP player would be freezing due it being on the same PC as Wowza as this is the only way to access it.

    Players that use HTTP can effect the web browser for example if you are trying to do something in another tab while playing the stream it may slow the browser.

    Jason

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

    Default

    The Wowza FlashRTMPPlayer only streams over rtmp and variants rtmps, rtmpe, rtmpt, etc.

    The Wowza FlashHTTPPlayer plays HDS (sanjose) streams over http.

    Flowplayer does does both. Take a look at the nDVR example of Flowplayer, but remove "?DVR" from the playback URL to play simple sanjose stream

    http://www.wowza.com/forums/content.php?54#DVR

    Richard

  9. #9
    Join Date
    Apr 2011
    Posts
    10

    Default

    I've tested with the RTMP player at http://www.wowza.com/resources/3.5.0...er/player.html and the freezing/forward still happen.

    When I used the player at http://www.wowza.com/gettingstarted and the stream plays fine. However, I had to change the server URL on that page from "http://localhost/live" to "rtmp://localhost/live" for it to play, otherwise the stream won't start.

    In either cases the stream value is "Camera1.stream" which contains a "rtsp://xxx" string.

    Does the player at http://www.wowza.com/gettingstarted still use HTTP even the server URL is rtmp://? Is there anywhere else I can look at?

    It's really annoying as if I stick the rtsp:// string to VCL it plays fine. There should be something I did wrong in Wowza. Any suggests are appreciated.

  10. #10
    Join Date
    Apr 2011
    Posts
    10

    Default

    Hello,

    I'm still having the problem. Is there anything I can do to check what's going wrong? Thanks.

    Ning

Page 1 of 2 12 LastLast

Similar Threads

  1. Live streaming latency is over 5 seconds
    By jeka1sv in forum General Forum
    Replies: 3
    Last Post: 08-05-2014, 10:40 AM
  2. Live stream freezes after a few seconds (Tricaster, FMLE, ...)
    By cpt_hindsight in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 01-09-2014, 06:49 AM
  3. Live streaming dropping last few seconds
    By dougakins in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 11-13-2013, 10:38 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
  •