# How can i change Stream name in case of live stream

**URL:** <https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165>\
**Category:** Wowza Streaming Engine\
**Created:** [March 1, 2011, 6:44pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165 "2011-03-01T18:44:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 1, 2011, 6:44pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/1 "2011-03-01T18:44:18Z")

</div>

I want to change stream name in the case of live Stream type, but i don’t know which method used of it and how do can i it.

plz help …

---

<div class="post-metadata">

**Author:** ![Ian\_Beyer](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@Ian\_Beyer](https://community.wowza.com/u/Ian_Beyer)\
**Post date:** [March 1, 2011, 7:45am UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/2 "2011-03-01T07:45:48Z")

</div>

Wowza generally doesn’t care about the name of the stream, so you should be able to just change it on your encoder/player. Otherwise, you might want to look at the StreamAlias module.

---

<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:** [March 1, 2011, 2:40pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/3 "2011-03-01T14:40:28Z")

</div>

As Ian mentioned, you can use StreamNameAlias:

[https://www.wowza.com/docs/how-to-get-the-streamnamealias-addon](https://www.wowza.com/docs/how-to-get-the-streamnamealias-addon)

Or, override play remap stream name:

[https://www.wowza.com/docs/how-to-override-play-to-remap-a-stream-name](https://www.wowza.com/docs/how-to-override-play-to-remap-a-stream-name)

Or, for fine control and extensibility, you can use IMediaStreamNameAliasProvider2:

[https://www.wowza.com/docs/how-to-use-the-imediastreamnamealiasprovider2-interface](https://www.wowza.com/docs/how-to-use-the-imediastreamnamealiasprovider2-interface)

Richard

---

<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:** [March 1, 2011, 3:08pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/4 "2011-03-01T15:08:37Z")

</div>

play method is called for Flash clients that play vod or live stream, but it isn’t called for rtsp clients.

Use StreamNameAlias anyway, it does exactly what you describe.

Richard

---

<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:** [March 1, 2011, 3:41pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/5 "2011-03-01T15:41:42Z")

</div>

StreamNameAlias definitely handles live streams. I guess just dig into a little bit, try some things out. It works and does what you describe.

Richard

---

<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:** [March 1, 2011, 3:43pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/6 "2011-03-01T15:43:59Z")

</div>

And there is the .stream file method of aliasing, which is the easiest method, but your play stream names will always have a .stream extension.

Richard

---

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 1, 2011, 7:58pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/7 "2011-03-01T19:58:35Z")

</div>

Sorry but i want to do something else…

I want to give stream name in encoder/player just like livestream.sdp but when i play this stream on vlc player then url should be like this rtsp://localhost:1935/live/sample.sdp not like…

rtsp://localhost:1935/live/livestream.sdp

---

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 1, 2011, 8:35pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/8 "2011-03-01T20:35:22Z")

</div>

But play method is not called in case of live stream…???

and also

all methods of IMediaStreamNameAliasProvider2 is also not called in case of live stream

---

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 1, 2011, 9:03pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/9 "2011-03-01T21:03:49Z")

</div>

there is any method in which i can change stream name else StreamNameAlias

---

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 2, 2011, 12:20pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/10 "2011-03-02T12:20:04Z")

</div>

sorry but i couldn’t understand how to set up StreamNameAlias into my module

i have seen StreamNameAlias\_2.0\StreamNameAlias\README.html file .???there r confusing in alias streaming…??

I want to give stream name in encoder/player just like livestream.sdp but when i play this stream on vlc player then url should be like this rtsp://localhost:1935/live/sample.sdp not like…

rtsp://localhost:1935/live/livestream.sdp

so what should changes i will do and which file … it’s too confusion ?? help

---

<div class="post-metadata">

**Author:** ![Ravi\_Gupta](https://avatars.discourse-cdn.com/v4/letter/r/e56c9b/32.png) [@Ravi\_Gupta](https://community.wowza.com/u/Ravi_Gupta)\
**Post date:** [March 2, 2011, 6:01pm UTC](https://community.wowza.com/t/how-can-i-change-stream-name-in-case-of-live-stream/36165/11 "2011-03-02T18:01:36Z")

</div>

okay i have done my work

thankx to support me
