Wowza Community

HTTP streaming with Wowza for Cisco Show and Share

I have a show and share in place and wowza is integrated in the scenario for file hosting and streaming.

I have the rtmp stream setup correctly in the Show and share and it is working correctly using this address ( rtmp://ipaddress:1935/vod/mp4:

the issue I have is show and share now offers mobile support for IOS devices which will need to be streamed through HTTP instead of RTMP.

I found this address and it will works if I put it in the safari browser of the iPhone ( http://[wowza-address]:1935/vod/mp4:sample.mp4/playlist.m3u8 )

Problem Im having is I don’t want to specify the file name due to this needing to be used in Show and Share

You can use an .play file or stream alias

A .play file is a text file in the content folder with .play extension that can contain the name of an actual stream.

Or you can use the StreamNameAlias addon or

https://www.wowza.com/docs/how-to-get-the-streamnamealias-addon

Or IMediaStreamNameAliasProvider2

https://www.wowza.com/docs/how-to-use-the-imediastreamnamealiasprovider2-interface

Richard

The .play files are aliases. Create a plain text file in the content folder with a .play extension:

/content/sample.play

make the contents of this file “mp4:sample.mp4”, then playback sample.play in SimpleVideoStreaming

Server: rtmp://[wowza-address]:1935/vod

Stream: sample.play

The above will playback in iOS with this URL:

http://[wowza-address]:1935/vod/sample.play/playlist.m3u8

It is best to use HTML5 video tag instead of opening m3u8 url directly:

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

Take a look at the vod tutorial for details on configuration and playback for cupertinostreaming

Richard

You can make a web page, use your app server. It’s just html to a browser, formed any way you like, playing any video or live stream you point to

Richard

can you be more specific on this .play file in the content folder?

what will happen in this senerio is the show and share will request for the file in the content folder and then wowza is going to need to stream it back using Http not rtmp . is there a way to setup the URL and do the same thing that them RTMP stream url is doing because it works fine?

I could be looking at this wrong but if I do that its still only going to play that one sample.mp4 correct. if that is the case that is not what I need to happen. I have no idea what video the end user is going to request to play from the show and share was well as there will be hundreds of videos be added to that content folder.

im a little new to this but are you talking about like a apache web server ?

I am see a similar issue with show and share. Did y’all get this figured out? Do you need an different web server. I tried apache on the same server as wowza but ports were an problem.