The tutorial says:
"Enter the following URL into the Safari web browser on the device:
Code:
http://[wowza-address]:1935/vod/mp4:Extremists.m4v/playlist.m3u8
Note: This stream can also be played using the Safari Browser or QuickTime 10.x on a computer running OSX version 10.6 or greater (Snow Leopard).
This works very well on an iPod Touch and using the Get URL function in QuickTime Player. However in Safari it downloads the playlist part of the command as an iTunes file with the following content:
"#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=100000
http://161.77.180.51:1935/vod/mp4:Extremists.m4v/playlist.m3u8?wowzasessionid=1565372152"
It does not play the movie.
What can I do to make this work - I ultimately need to be able to place a command in an html document which will play the movie.
Thanks for your advice.
I’m having a similar issue.
I’m using xuggler to convert a flash-encoded webcam stream, and am encoding it back to the wowza server. The server sees the stream, and creates a new application instance for it, packetizing it for cupertino, and republishing the stream in all formats.
For example here’s some log output:
comment server INFO 200 - MyModule::onConnect(): client.getClientId()=1927546256 _defaultVHost_ videochat _definst_ 78605.606 - - - - - -- - - - - - - - - - - - - - - - - - -
connect session INFO 200 127.0.0.1 - _defaultVHost_ videochat _definst_ 0.04 [any] 1935 rtmp://localhost:1935/videochat 127.0.0.1 rtmp - LNX 9,0,124,2 1927546256 3292 3073 - - - - - - - - - - - - - rtmp://localhost:1935/videochat -
comment server INFO 200 - MyModule::onConnectAccept(): client.getClientId()=1927546256 _defaultVHost_ videochat _definst_ 78605.609 - - - - -- - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MyModule::onStreamCreate(): stream.getClientId()=1927546256, adding a new ClientListener(MyMediaStreamListener instance). - - - 78605.65 - - - - - - - - - - - - - - - - - - - - - - - - -
create stream INFO 200 - - _defaultVHost_ videochat _definst_ 0.0 [any] 1935 rtmp://localhost:1935/videochat 127.0.0.1 rtmp - LNX 9,0,124,21927546256 3325 3413 1 0 0 0 - - - - - - rtmp://localhost:1935/videochat rtmp://localhost:1935/videochat - rtmp://localhost:1935/videochat -
comment server INFO 200 - MyModule::play(): playName=testingBo - - - 78605.69 - - - - - - - - - - -- - - - - - - - - - - - - -
play stream INFO 200 testingBo - _defaultVHost_ videochat _definst_ 0.293 [any] 1935 rtmp://localhost:1935/videochat 127.0.0.1 rtmp - LNX 9,0,124,2 1927546256 3388 3454 1 0 0 0 testingBo - - - - - rtmp://localhost:1935/videochat/testingBo rtmp://localhost:1935/videochat/testingBo - rtmp://localhost:1935/videochat -
comment server INFO 200 - MyMediaStreamListener::onPlay(): stream.getName()=testingBo _defaultVHost_ videochat _definst_ 78605.944 - - - - -- - - - - - - - - - - - - - - - - - - -
connect-pending session INFO 100 127.0.0.1 - _defaultVHost_ videochat_converted _definst_ 0.039 [any] 1935 rtmp://localhost:1935/videochat_converted 127.0.0.1 rtmp - FMLE/3.0 (compatible; Lavf52.48.0) 391217943 3253 3073 - - - - - - - - - - - - - rtmp://localhost:1935/videochat_converted -
comment server INFO 200 - MyModule::onConnect(): client.getClientId()=391217943 _defaultVHost_ videochat_converted _definst_ 78608.042 - - - - -- - - - - - - - - - - - - - - - - - - -
connect session INFO 200 127.0.0.1 - _defaultVHost_ videochat_converted _definst_ 0.039 [any] 1935 rtmp://localhost:1935/videochat_converted 127.0.0.1 rtmp - FMLE/3.0 (compatible; Lavf52.48.0) 391217943 3253 3073 - - - - - - - - - - - - - rtmp://localhost:1935/videochat_converted -
comment server INFO 200 - MyModule::onConnectAccept(): client.getClientId()=391217943 _defaultVHost_ videochat_converted _definst_ 78608.042 - - - -- - - - - - - - - - - - - - - - - - - - -
unpublish stream INFO 200 testingBo.sdp - _defaultVHost_ videochat_converted _definst_ 606.208 [any] 1935 rtmp://localhost:1935/videochat_converted 127.0.0.1 rtmp - FMLE/3.0 (compatible; Lavf52.48.0) 1191591696 5633537 3918 1 0 5629303 0 testingBo.sdp - - - - - rtmp://localhost:1935/videochat_converted/testingBo.sdp rtmp://localhost:1935/videochat_converted/testingBo.sdp - rtmp://localhost:1935/videochat_converted -
comment server INFO 200 - MyMediaStreamListener::onUnPublish(): stream.getName()=testingBo.sdp _defaultVHost_ videochat_converted _definst_ 78608.082 - - -- - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MyModule::onStreamCreate(): stream.getClientId()=391217943, adding a new ClientListener(MyMediaStreamListener instance). _defaultVHost_ videochat_converted _definst_ 78608.082 - - - - - - - - - - - - - - - - - - - - - - - - -
create stream INFO 200 - - _defaultVHost_ videochat_converted _definst_ 0.0 [any] 1935 rtmp://localhost:1935/videochat_converted 127.0.0.1 rtmp-FMLE/3.0 (compatible; Lavf52.48.0) 391217943 3398 3413 1 0 0 0 - - - - - - rtmp://localhost:1935/videochat_converted rtmp://localhost:1935/videochat_converted - rtmp://localhost:1935/videochat_converted -
publish stream INFO 200 testingBo.sdp - _defaultVHost_ videochat_converted _definst_ 0.04 [any] 1935 rtmp://localhost:1935/videochat_converted 127.0.0.1 rtmp - FMLE/3.0 (compatible; Lavf52.48.0) 391217943 3453 3611 1 0 0 0 testingBo.sdp - - - - - rtmp://localhost:1935/videochat_converted/testingBo.sdp rtmp://localhost:1935/videochat_converted/testingBo.sdp - rtmp://localhost:1935/videochat_converted -
comment server INFO 200 - MyMediaStreamListener::onPublish(): stream.getName()=testingBo.sdp _defaultVHost_ videochat_converted _definst_ 78608.122 - - -- - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MyMediaStreamListener::onMetaData(): stream.getName()=testingBo.sdp - - - 78608.234 - - - - - - -- - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSanJose.init[videochat_converted/_definst_/testingBo.sdp]: chunkDurationTarget: 10000 - - - 78608.234 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSanJose.init[videochat_converted/_definst_/testingBo.sdp]: chunkDurationTolerance: 500 - - - 78608.234 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSanJose.init[videochat_converted/_definst_/testingBo.sdp]: playlistChunkCount:4 - - - 78608.234 - - -- - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:testingBo.sdp - - - 78608.234 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - SanJosePacketHandler.startStream[videochat_converted/_definst_/testingBo.sdp] - - - 78608.235 - - - - - -- - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Video codec: H264 - - - 78608.236 - - - - - - - -- - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.init[videochat_converted/_definst_/testingBo.sdp]: chunkDurationTarget: 10000 - - - 78608.236 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.init[videochat_converted/_definst_/testingBo.sdp]: chunkDurationTolerance: 500 - - - 78608.236 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.init[videochat_converted/_definst_/testingBo.sdp]: audioGroupCount: 3 - - - 78608.236 - - -- - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.init[videochat_converted/_definst_/testingBo.sdp]: playlistChunkCount:3 - - - 78608.236 - - -- - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:testingBo.sdp - - - 78608.236 -- - - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - CupertinoPacketHandler.startStream[videochat_converted/_definst_/testingBo.sdp] - - - 78608.237 - - - - - -- - - - - - - - - - - - - - - - - - -
comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:testingBo.sdp - - - 78608.237 - -- - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[videochat_converted/_definst_/testingBo.sdp]: Video codec:H264 isCompatible:true - - - 78608.237 - - - - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSmoothStreaming.startStream[videochat_converted/_definst_/testingBo.sdp] - - - 78608.237 - - - -- - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[videochat_converted/_definst_/testingBo.sdp][avc1.66.13]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline", level: 1.3, frameSize: 640x480, displaySize: 640x480, frameRate: 15.0} - - - 78608.237 - - - - - - - - - - - - - - - -- - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC - - - 78610.877 - - - - - - - -- - - - - - - - - - - - - - - - -
comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[videochat_converted/_definst_/testingBo.sdp]: Audio codec:AAC isCompatible:true - - - 78610.877 - - - - - - - - - - - - - - - - - - - - - - - - -
comment server INFO 200 - H264Transcoder::testRTMPPublishH264(): this.streamName=testingBo.sdp - it's already transcoded stream - so we exit to avoid the infinite looping _defaultVHost_ videochat_converted _definst_ 78613.123 - - - - - - - - - - - - - - - - - - - - - -- - -
If I’m not mistaken, this implies that the stream is properly being converted from videochat/testingBo to videochat_converted/testingBo.sdp.
Since the conf/videochat_converted/Application.xml specifies to packetize for cupertino http stream, this should be available through html5 such as:
<div style="width:640px; height:480px; background-color:#cccccc; border-style:solid; border-color:#ff0000;">
<video
width="640"
height="480"
src="http://[wowza-address]:1935/videochat_converted/testingBo.sdp/playlist.m3u8"
type="video/mp4"
>
</video>
</div>
However, what’s returned from the server is simply:
(1st request’s response:)
HTTP/1.1 200 OK
Date: Wed, 13 Jul 2011 13:09:41 GMT
Content-Type: application/vnd.apple.mpegurl
Server: FlashCom/3.5.5
Cache-Control: no-cache
Content-Length: 167
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=328296
http://[wowza-address]:1935/videochat_converted/testingBo.sdp/playlist.m3u8?wowzasessionid=1541025097
(2nd request’s response:)
HTTP/1.1 200 OK
Date: Wed, 13 Jul 2011 13:09:42 GMT
Content-Type: application/vnd.apple.mpegurl
Server: FlashCom/3.5.5
Cache-Control: no-cache
Content-Length: 165
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=328296
http://[wowza-address]:1935/videochat_converted/testingBo.sdp/playlist.m3u8?wowzasessionid=38103941
And then no more requests are made, and no video is streamed.
I can, however, see the stream via rtmp flash connection such as:
host: rtmp://[wowza-address]/videochat_converted
stream: testingBo.sdp
Can anyone assist on a test for iOS/html5?