In my tests with Wowza 3.6 I could use the SMIL with meta base tag or with full paths in file name, it did not matter. So , maybe V 4 is different?
Hi shueardm, firstly, the SMIL file is created as Wowza has suggested (as in Manual). Then that SMIL file didn’t come with Value inside. Then, when i use JWPlayer, the Value is REQUIRED inside the section
Meaning that, i can NOT straight away use the Wowza-suggested SMIL file, from JWPlayer. (I need to edit it manually)
I understand what you are saying. I just don’t believe JW Player requires the meta base tag as I have used a SMIL without it.
Hi shueardm, according to this JWPlayer 6 Manual, you can see they put the inside SMIL. And it is true also the JWPlayer NEEDS it. The player just don’t work without that value. I don’t know why
I understand what you are saying. I just don’t believe JW Player requires the meta base tag as I have used a SMIL without it.
Hi shueardm, according to the JWPlayer Manual, the Value is needed in Section. And it is true that the player just don’t work without that Value
Lets see your SMIL code without metabase?
Hi shueardm, as i said, the JWPlayer is simply NOT WORKING once i remove the Code.
Anyway, here is my SMIL.
<smil>
<head>
<meta base="rtmp://xx.xx.xx.xx:1935/vod/" />
</head>
<body>
<switch>
<video height="240" src="mp4:bigbuckbunny_450.mp4"
systemLanguage="eng" width="424">
<param name="videoBitrate" value="450000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="360" src="mp4:bigbuckbunny_750.mp4"
systemLanguage="eng" width="640">
<param name="videoBitrate" value="750000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="600" src="mp4:bigbuckbunny_1500.mp4"
systemLanguage="eng" width="800">
<param name="videoBitrate" value="1500000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>
I was after the SMIL you were trying without the meta base… if you just removed the meta base then you would not have full paths to the files… you would need to be rtmp://etc etc for every file in the SMIL
So you mean IF i remove the , then i should use the FULL RTMP PATHS inside the each of
Then now i’m still having the error. Could you please guide how to CRAFT that SMIL file without please?
Hi Arkar,
I see from the smil file that you have posted that you do have the width setting which the player needs. The other reason the menu item may not be showing is if the player is falling back to HTML5 playback. JW Player does not add the menu to the native HTML5 player to be able to manually select bitrates.
Roger.
Hi Roger, if you please carefully look into my posted SMIL file, you will see the WIDTH values. And thus, yes i do have WIDTH and all other attributes. But that one is simply not working.
Then according to your 1st reply, i just now used:
{ file: "http://xx.xx.xx.xx:1935/vod/bigbuckbunny.smil/jwplayer.smil" }
AND IT IS WORKING.
WOW!
-
Does it mean, i really DO NOT NEED my another custom SMIL file?
-
And then because that “/jwplayer.smil” trick, does it also mean, i really DO NOT NEED to touch (create/edit/etc) any work for SMIL files?
-
Means, Wowza automatically provide a suitable SMIL to JWPlayer … just by adding this “/jwplayer.smil” ? (wow!)
Thanks anyway!!
Hi,
So you’re finding that having definst in the base URL is causing a problem? I’m not sure why that would be. Does that also cause issues outside of the Wowza Test Player?
Regards,
Paul
Hi,
If you care to look at the following url, which you are using in your player, you will se that the meta tag had been added automatically.
http://54.206.40.122/live/smil:livestream.smil/jwplayer.smil
This is the output from the above url
<smil>
<head>
[B]<meta base="rtmp://54.206.40.122/live/_definst_" />[/B]
</head>
<body>
<switch>
<video src="mp4:livestream_source" system-bitrate="1000000"/>
<video src="mp4:livestream_240p" system-bitrate="350000"/>
<video src="mp4:livestream_160p" system-bitrate="200000"/>
</switch>
</body>
</smil>
This is the jwplayer.smil url that I was refering to in my other posts.
You are corect that you do not need the meta tag in the smil files that you create to use within Wowza but you are incorrect in your assumption that JW Player does not need the meta tag in order to playback RTMP ABR.
In order for the player to display a switching menu with video sizes rather than bitrates, you need to add width info to your origin smil file.
Roger.
How can I edit the runtime created base url??
I mean i have the same output :
rmtp://[wowza-srv]/live/_definst_
but i would have
rmtp://[wowza-srv]/live
because even using the test player integrated with streamEngineManager i could not load the first live stream. Instead of the second url that work perfectly.