Results 1 to 4 of 4

Thread: RTSPBindIpAddress

  1. #1

    Default RTSPBindIpAddress

    According to this article http://www.wowza.com/forums/content....-RTP-streaming
    Wowza automatically sets values (RTSPBindIpAddress,RTSPConnectionIpAddress,RTSPOriginIpAddress) based on the internal and external IP address of the EC2 instance.

    Is there any way to archive this on non-EC2 Wowza instance?

    We share same Application.xml files across all our edge servers and preparing Application.xml for each edge server is not very practical.

  2. #2

    Default

    Hi,

    You can do this with a customer server listener and add a VHost listeners, when a VHost starts which in turn allows you to add an application listener which can then be used to change the RTSP addresses when an application starts up.

    Andrew.

  3. #3

    Default

    Hi Rob,

    I have used the following before in a module. It sets the bind address to the same address that the player called. The onDescribe method is part of the IRTSPActionNotify interface.
    	@Override
    	public void onDescribe(RTPSession rtspSession, RTSPRequestMessage req, RTSPResponseMessages resp) {
    		InetSocketAddress socketAddress = (InetSocketAddress) rtspSession.getIoSession().getLocalAddress();
    		String bindAddress = socketAddress.getAddress().getHostAddress();
    		RTPStream rtpStream = rtspSession.getRTSPStream();
    		if(rtpStream != null) {
    			rtpStream.setRTSPBindIpAddress(bindAddress);
    			rtpStream.setRTSPConnectionIpAddress(bindAddress);
    		}
    	}
    If you are using NAT and need to set a different address then you can also set some server variables using a server listener that queries the network interfaces when Wowza starts.

    Roger.

  4. #4

    Default

    Thanks!

Similar Threads

  1. rtspBindIpAddress:null
    By pidboretskyy in forum General Forum
    Replies: 2
    Last Post: 08-02-2012, 01:46 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
  •