We use the following code:
<html>
<head>
<title>Cupertino Streaming</title>
</head>
<body>
<video controls src="http://[wowza-address]:1935/live/mStream/playlist.m3u8">
</video>
</body>
</html>
The link to stream on IOs is the following:
http://[wowza-address]:1935/live/myStream.sdp/playlist.m3u8
We added an alias (and uncommented the alias tags in the Application.xml)
mStream=myStream.sdp
But we get the error:
Stream alias access denied mStream.
at live.html, and
The video could not be loaded, either because the server or network failed or because the format is not supported.
, respectively
e.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED
at IOs devices.
We use Flash media encoder.
How can we fix this problem?
Thanks in advance
Thanks for the reply.
Yes, the alias
mStream=myStream.sdp
is set in the alias.streamer.txt, together with the other working aliases.
In the Application.xml are only the alias module and its properties.
I also tryed the following aliases (but nothing worked):
mStream=myStream.sdp
myStream.sdp=mStream
mStream=http://[wowza-address]:1935/live/myStream.sdp
http://[wowza-address]:1935/live/myStream.sdp=mStream
mStream=rtmp://[wowza-address]:1935/live/myStream.sdp
rtmp://[wowza-address]:1935/live/myStream.sdp=mStream
At first, thanks for the reply.
When I use the code this way:
<html>
<head>
<title>Cupertino Streaming</title>
</head>
<body>
<video controls src="http://[wowza-address]:1935/live/[B]myStream.sdp[/B]/playlist.m3u8">
</video>
</body>
</html>
I get the following error:
e.target.error.MEDIA_ERR_DECODE
repectively
The video playback was aborted due to a corruption problem or because the video used features your browser did not support
Thanks for the quick reply.
I recently have reinstalled the encoder because of some problems with the aac
license and I did not check that the encoder was not set to h.264 Format.
Thanks again.
Does the OS have to be Mac OSX? Can I stream to safari on a windows machine?
Also does this work for VOD?
First remove the StreamNameAlias package.
In your encoder, make sure you have select Format h.264, then click little wrench icon next to format and select Baseline 3 profile. If MP3 audio, make it Stereo 44100Hz.
Make the Stream name “myStream.sdp”
Configure an a live application following this tutorial, and make sure you follow the Cupertino configuration steps:
Set up an RTMP encoder for live streaming)
Then test in Flash with Wowza example LiveVideoStreaming:
Server: rtmp://[wowza-address]:1935/live
Stream: myStream.sdp
Then test in iOS device.
Richard
I tried the code
<video controls="controls">
<source src="http://localhost:1935/live/myStream/playlist.m3u8"/>
</video>
It works fine for the test in Flash with Wowza example LiveVideoStreaming, but for some reason I can’t play it through an iOS device. It just shows the player with a crossed out play button.
I’ve followed all the instructions with regards to the fmle encoder and the wowza streaming setup. Is there something I’ve missed?
Thanks a bunch! It works perfectly now.
Have any version available for this today?
It’s possible streaming to others desktop browsers now, or the only way to use html5 audio/video tag for streaming is to use iOS devices or safari on mac?
Thanks.