hide wowza server ipaddress from URL

Hi

We are able to stream videos using wowza. But when we stream videos through Ipad or Iphone, we could see the Ip address of wowza in the URL. we donot want Ipaddress of wowza to be seen on the URL. How can we hide that.

Currently we are using the following code to stream videos through wowza in Ipad or Iphone

if(strpos($_SERVER[‘HTTP_USER_AGENT’], “iPhone”))

<ahref= “http://[wowza ip]:1935/vod/content/vid/Test/mp4:Mystream1.m4v/playlist.m3u8”>

Thanks

Pradeep

You can’t hide the IP… the client needs to know the wowza IP or hostname in order to connect to the server. You can try to obscure it in your code, but in the end, it has to be present in either the HTML markup, javascript, or in a response from a webservice call.

If you are concerned about security or leeching of content, you should secure your application on the server side.

Use the

<video controls src...>

tag in a html page, then direct users to the html page. Then use the anchor tag to go to the html page.

myVideo.html

<html>
<head> 
  <title>cupertinostreaming</title>
</head>
<body>
<video controls src="http://[wowza-address]:1935/vod/sample.mp4/playlist.m3u8">
</video>
</body>
</html>

<a href src="myVideo.html>

Also take a look at the Security overview:

https://www.wowza.com/docs/media-security-overview

HTML:

I understand that we cannot hide IP address of the wowza. But i just donot want it to be visible on URL. what changes do i need to put in the code to obscure that.