Results 1 to 4 of 4

Thread: live streaming using an RTSP/RTP-based encoder

  1. #1

    Default live streaming using an RTSP/RTP-based encoder

    we trying to setup live streaming using an RTSP/RTP-based encoder, on our server we use the csf firewall. if the csf firewall is disabled the rtsp connects and everything works, if it is enabled then the rtsp has the below error:

    Unknown connection error

    for what I see from the page
    I have to allow incoming and outgoing UDP ports from 0-65535 on the csf.
    but it still not working when I allow these ports. but the strange issue is that some services on the wowza jump from a few viewers online to hundreds of viewers, all iOS connections.

    my question is what I'm doing wrong?


  2. #2


    It's best to open all UDP ports (0-65535) for RTSP/RTP streaming. On the incoming side, the Wowza media server software tries to use ports in the range 6970-9999. On the outgoing side, the port choice is made by the receiving device so it's best to open all ports to outgoing UDP traffic. Setting up UDP networking correctly is sometimes difficult and depends on your router and firewall configuration. If behind NAT (network address translation), it's important that all UDP ports are mapped to the server running the Wowza media server software.

    Wowza provides a RTSP/RTP test stream running on Amazon EC2, which seems to work on most mobile networks/devices. Amazon EC2 is a great place to experiment with RTSP/RTP streaming. For more information, see Wowza for Amazon EC2.

    Some carriers don't allow RTP or UDP over the carrier network. Many mobile devices will rollover to RTSP/RTP interleaved (RTP over TCP). These devices will work when the carrier doesn't support UDP. Some devices don't support RTSP/RTP interleaved and won't work if RTP or UDP is blocked by the carrier. Use the RTSP/RTP test stream to see if it works first before setting up your streams.
    for more information please take a look at this guide:
    How to troubleshoot RTSP/RTP playback

    I hope this helps.



  3. #3


    thank you Salvadore. adjusting the bitrate solved the issue.

  4. #4


    Okay great! Thanks for the update and glad to hear this is working.



Similar Threads

  1. Replies: 2
    Last Post: 07-07-2014, 06:45 PM
  2. How to play back more than one stream using RTMP based encoder (to ipad devices)
    By Damo12 in forum Live Streaming and Encoder Discussion
    Replies: 9
    Last Post: 04-09-2013, 11:10 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