Playlist Streaming to Silverlight Client

Hi,

We’re trying to use an existing MP4 playlist with a silverlight client. The URL works properly on iOS/Quicktime players, but when we change it to use manifest instead of m3u8 the silverlight clients are unable to access the stream.

I am able to access the manifest file via a wget, but cant seem to get it to work in silverlight. Interestingly I also only see the wget requests in the access log and not requests that come from the silverlight players.

Any thoughts on where to look for the issue?

Matt

The most likely problem is key frame frequency, if it is over 4 seconds it won’t work in Silverlight player. 2 second key frame frequency is best for Silverlight (smooth) streaming and is good in IPhone and Flash, so it is a good common setting.

Richard

What Silverlight player? Try the Wowza Silverlight player:

https://www.wowza.com/downloads/forums/smoothstreamingexampleplayers/SmoothStreamingExamplePlayers.zip

Is your Wowza server on a public IP? What is the manifest URL to sample.mp4?

Do you see any WARN lines in the access or error log regarding key frame interval being over 4 seconds. Something like this:

WARN server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[smooth/definst/ch08mobile]: Fragment duration greater than suggested range of 1-4 seconds. Adjust keyframe interval accordingly: Fragment durations: [10.0,10.0,10.0]

If you open the manifest url in a browser, do you see xml? If so, do you see audio and video chunks?

Richard

What is the URL you are playing?

Where is the smil or isml file located?

Has the live Application.xml StorageDir been changed, or is it default? ([wowza-install=dir]/content)

Richard

Are you still working with Smooth (Silverlight) player? These are Cupertino, for iOS devices.

Richard

That works for me, very quick start too, good video and audio. I’m using Wowza example LiveSmooth player. You can download here:

https://www.wowza.com/downloads/forums/smoothstreamingexampleplayers/SmoothStreamingExamplePlayers.zip

Richard

StorageDir, LiveStreamPackizer and HTTPStreamers tags modifed in Application.xml:

live

/mobile/content/tv/smil

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, smoothstreamingrepeater

cupertinostreaming,smoothstreaming,sanjosestreaming

urls to hit the service:

http://wowza.quickplay.com/live/smil:rodo_free.smil/Manifest

yes, I got it to work 2.2.3 which is the one u are hitting…but cant get it to work on 2.0.0 wowza version.

I guess upgrade to 2.2.3 would have to be done.

thx Richard.

Hi Richard,

Sorry for the delay in getting back to you. I’ve tried re-encoding the content with 2s iFrames and I’ve tried the default Extremist.m4v sample file and nothing appears to work. Is there anything else you can suggest or is there a demo file you could provide that you know works for smooth streaming?

Thanks,

Matt

Hi Richard,

I think there’s a configuration issue on our side, but I cant seem to figure out what the problem is. Here is what I see in the error log:

HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

WARN server comment 2011-03-07 13:09:37 - - - - - 8383.052 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

ERROR server comment 2011-03-07 13:09:37 - - - - - 8383.054 - - - - - - MediaReaderH264SmoothStreamer.indexFile:java.lang.NullPointerException

WARN server comment 2011-03-07 13:09:37 - - - - - 8383.056 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

ERROR server comment 2011-03-07 13:09:37 - - - - - 8383.058 - - - - - - MediaReaderH264SmoothStreamer.indexFile:java.lang.NullPointerException

WARN server comment 2011-03-07 13:12:38 - - - - - 8563.937 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

ERROR server comment 2011-03-07 13:12:38 - - - - - 8563.939 - - - - - - MediaReaderH264SmoothStreamer.indexFile:java.lang.NullPointerException

WARN server comment 2011-03-07 13:12:38 - - - - - 8563.941 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

ERROR server comment 2011-03-07 13:12:38 - - - - - 8563.941 - - - - - - MediaReaderH264SmoothStreamer.indexFile:java.lang.NullPointerException

[root@hq-perf-web-01 logs]# grep smooth wowzamediaserver_error.log

WARN server comment 2011-03-07 10:12:34 - - - - - 4.918 - - - - - - - LiveStreamPacketizerCupertino.handlePacket[live/definst/test_smooth][avc1.77.30]: H.264 Video encoding settings are beyond iPhone/iPod touch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “Main”, level: 3.0, frameSize: 480x360, displaySize: 480x360, PAR: 1:1, crop: l:0 r:0 t:0 b:4}

ERROR server comment 2011-03-07 10:14:21 - - - - - 107.575 - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

WARN server comment 2011-03-07 10:42:42 - - - - - 4.763 - - - - - - - LiveStreamPacketizerCupertino.handlePacket[live/definst/test_smooth][avc1.77.30]: H.264 Video encoding settings are beyond iPhone/iPod touch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “Main”, level: 3.0, frameSize: 480x360, displaySize: 480x360, PAR: 1:1, crop: l:0 r:0 t:0 b:4}

WARN server comment 2011-03-07 10:49:54 - - - - - 4.764 - - - - - - - LiveStreamPacketizerCupertino.handlePacket[live/definst/test_smooth][avc1.77.30]: H.264 Video encoding settings are beyond iPhone/iPod touch recommendations (Baseline/3.0): {H264CodecConfigInfo: profile: “Main”, level: 3.0, frameSize: 480x360, displaySize: 480x360, PAR: 1:1, crop: l:0 r:0 t:0 b:4}

ERROR server comment 2011-03-07 11:03:41 - - - - - 826.866 - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:03:44 - - - - - 830.43 - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:03:52 - - - - - 837.523 - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:06:00 - - - - - 966.414 - - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:36:03 - - - - - 2769.187 - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:37:28 - - - - - 2853.525 - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

ERROR server comment 2011-03-07 11:54:34 - - - - - 3879.802 - - - - - - HTTPStreamerCupertinoIndexPlaylist.indexFile[live/definst/smil:smooth.isml]: java.io.FileNotFoundException: /stream/smil/smooth.isml (No such file or directory)

WARN server comment 2011-03-07 13:09:37 - - - - - 8383.052 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

WARN server comment 2011-03-07 13:09:37 - - - - - 8383.056 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

WARN server comment 2011-03-07 13:12:38 - - - - - 8563.937 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

WARN server comment 2011-03-07 13:12:38 - - - - - 8563.941 - - - - - - test_smooth MediaReaderH264.open[1]: java.io.FileNotFoundException: /stream/smil/test_smooth (No such file or directory)

If I try to access the stream using the playlist directive it works:

wget -O - http://192.168.1.50:1935/live/smil:smooth.smil/playlist.m3u8

–2011-03-07 13:09:17-- http://192.168.1.50:1935/live/smil:smooth.smil/playlist.m3u8

Connecting to 192.168.1.50:1935… connected.

HTTP request sent, awaiting response… 200 OK

Length: 147 [application/vnd.apple.mpegurl]

Saving to: `STDOUT’

0% [ ] 0 --.-K/s #EXTM3U

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=550000

http://192.168.1.50:1935/live/definst/test_smooth/playlist.m3u8?wowzasessionid=704696935

100%[====================================================================================================================>] 147 --.-K/s in 0s

But if I use the manifest directive, the only XML I get back is:

wget -O - http://192.168.1.50:1935/live/smil:smooth.smil/Manifest

–2011-03-07 13:09:37-- http://192.168.1.50:1935/live/smil:smooth.smil/Manifest

Connecting to 192.168.1.50:1935… connected.

HTTP request sent, awaiting response… 200 OK

Length: 154 [text/xml]

Saving to: `STDOUT’

0% [ ] 0 --.-K/s <?xml version="1.0" encoding="utf-8"?>

WARN server comment 2011-03-07 13:12:38 - - - - - 8563.941 - - - - - - t

100%[====================================================================================================================>] 154 --.-K/s in 0s

Any thoughts on what might configured incorrectly?

Thanks,

Matt