# Wmv to Wowza

**URL:** <https://community.wowza.com/t/wmv-to-wowza/36696>\
**Category:** Wowza Streaming Engine\
**Created:** [February 22, 2012, 8:48am UTC](https://community.wowza.com/t/wmv-to-wowza/36696 "2012-02-22T08:48:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kleber\_Prando](https://avatars.discourse-cdn.com/v4/letter/k/9dc877/32.png) [@Kleber\_Prando](https://community.wowza.com/u/Kleber_Prando)\
**Post date:** [February 22, 2012, 8:48am UTC](https://community.wowza.com/t/wmv-to-wowza/36696/1 "2012-02-22T08:48:12Z")

</div>

Good morning!

I have two doubts:

1 - You can configure the application.xml accept requests for live and on demand?

2 - Can I make wmv transmissions using the Wowza server?

Thank you!

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [February 22, 2012, 3:59pm UTC](https://community.wowza.com/t/wmv-to-wowza/36696/2 "2012-02-22T15:59:05Z")

</div>

You can only pre-configured one StreamType in Application.xml, but you can change it dynamically per Flash RTMP connection, but not other client types, I don’t think. With Flash RTMP client it can be done client-side or server-side in onConnect. If the Application.xml /StreamType is “default”, change it to “live”:

client-side Actionscript:

```auto
nc = new NetConnection();
nc.call("setStreamType",null,"live");
nc.connect("rtmp://[wowza-address:1935/vodOrLive");

```

Server-side in onConnect

```auto
public void onConnect(IClient client, RequestFunction function,
		AMFDataList params) {
client.setStreamType("live");
}

```

Wowza does not support wmv. You can use VLC with mms:// input in between. Take a look at the transcode examples at the bottom of this guide:

[https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts](https://www.wowza.com/docs/how-to-use-vlc-as-a-live-stream-encoder-with-wowza-media-server-mpeg-ts)

Replace the rtsp url with mms in the first example, then follow the mpeg-ts guide to re-stream in Wowza.

Richard
