Wowza Community

How to use SecureToken within the SMIL files

Hi,

Previously i was using SecureToken 2 for mp4 files, but now i start using SMIL files for ABR. However i am wondering how i shall construct the SMIL and include SecureToken as per the MP4 files.

This is an example of request URL:

sample.mp4/playlist.m3u8?myTokenPrefixstarttime=1395230400&myTokenPrefixendtime=1500000000&myTokenPrefixhash=TgJft5hsjKyC5Rem_EoUNP7xZvxbqVPhhd0GxIcA2oo=

and this is an example of a SMIL file:

<?xml version="1.0" encoding="UTF-8"?>

<smil title="Despacito">

  <body>

    <switch>

      <video height="160" src="despacito_160p.mp4" systemLanguage="eng" width="284" title="Low">

	<param name="videoBitrate" value="200000" valuetype="data"></param>

	<param name="audioBitrate" value="48000" valuetype="data"></param>

      </video>

      <video height="240" src="despacito_240p.mp4" systemLanguage="eng" width="360" title="Mid1">

	<param name="videoBitrate" value="350000" valuetype="data"></param>

	<param name="audioBitrate" value="48000" valuetype="data"></param>

      </video>

      <video height="360" src="despacito_360p.mp4" systemLanguage="eng" width="640" title="Mid2">

	<param name="videoBitrate" value="850000" valuetype="data"></param>

	<param name="audioBitrate" value="48000" valuetype="data"></param>

      </video>

      <video height="720" src="despacito_720p.mp4" systemLanguage="eng" width="1280" title="High">

	<param name="videoBitrate" value="1300000" valuetype="data"></param>

	<param name="audioBitrate" value="48000" valuetype="data"></param>

      </video>

    </switch>

  </body>

</smil>

Hi @Andy Antono

This forum is called “Hire a Consultant”, and meant for inquiries for paid support from authorized (external) consultants. If you’re looking for support from Wowza, you may post your question in https://www.wowza.com/community/spaces/31/wowza-streaming-engine-support-forums.html, or join the Slack community (https://www.wowza.com/slack)

Hi @Karel Boek,

Sorry i didn’t notice it. Can i delete the post?

Moved the post to the Wowza Streaming Engine General Forum.