# using rtmp to hd and sd toggling

**URL:** <https://community.wowza.com/t/using-rtmp-to-hd-and-sd-toggling/44472>\
**Category:** Wowza Streaming Engine\
**Created:** [December 18, 2014, 10:46am UTC](https://community.wowza.com/t/using-rtmp-to-hd-and-sd-toggling/44472 "2014-12-18T10:46:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cangak\_keren](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@cangak\_keren](https://community.wowza.com/u/cangak_keren)\
**Post date:** [December 18, 2014, 10:46am UTC](https://community.wowza.com/t/using-rtmp-to-hd-and-sd-toggling/44472/1 "2014-12-18T10:46:21Z")

</div>

i have following this

[https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher)

and it work.

how to toggling in jw player,

so far i got this

and using this method ([http://xxxxx:8086/medialist?streamname=ngrp:Stream1\_all&application=live&format=smil](http://xxxxx:8086/medialist?streamname=ngrp:Stream1_all&application=live&format=smil)) i got this (

```auto
<?xml version="1.0" encoding="UTF-8"?>
<smil>
   <head />
   <body>
      <switch>
         <video src="mp4:Stream1_720p" system-bitrate="2596000" width="1280" height="720">
            <param name="audioBitrate" value="96000" valuetype="data" />
            <param name="videoBitrate" value="2500000" valuetype="data" />
            <param name="videoCodecId" value="avc1.77.31" valuetype="data" />
            <param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
         </video>
         <video src="mp4:Stream1_360p" system-bitrate="946000" width="640" height="360">
            <param name="audioBitrate" value="96000" valuetype="data" />
            <param name="videoBitrate" value="850000" valuetype="data" />
            <param name="videoCodecId" value="avc1.77.30" valuetype="data" />
            <param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
         </video>
         <video src="mp4:Stream1_240p" system-bitrate="446000" width="426" height="240">
            <param name="audioBitrate" value="96000" valuetype="data" />
            <param name="videoBitrate" value="350000" valuetype="data" />
            <param name="videoCodecId" value="avc1.66.21" valuetype="data" />
            <param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
         </video>
      </switch>
   </body>
</smil>

```

how to togling it to jw player ?

---

<div class="post-metadata">

**Author:** ![cangak\_keren](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@cangak\_keren](https://community.wowza.com/u/cangak_keren)\
**Post date:** [December 18, 2014, 11:55am UTC](https://community.wowza.com/t/using-rtmp-to-hd-and-sd-toggling/44472/2 "2014-12-18T11:55:09Z")

</div>

solve using this [http://xxxx:1935/live/smil:smil.smil/jwplayer.smil](http://xxxx:1935/live/smil:smil.smil/jwplayer.smil)
