# NGRP on origin/edge + load balancing with dynamic stream names

**URL:** <https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869>\
**Category:** Wowza Streaming Engine\
**Created:** [January 6, 2012, 10:38am UTC](https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869 "2012-01-06T10:38:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stream\_Stream](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@Stream\_Stream](https://community.wowza.com/u/Stream_Stream)\
**Post date:** [January 6, 2012, 10:38am UTC](https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869/1 "2012-01-06T10:38:36Z")

</div>

Hi,

I currently have an origin/edge configuration set up along with load balancing. I’ve noticed that hitting the edge url (http://[wowza-edge-IP]:1935/[app]/ngrp:[stream\_group\_name]/playlist.m3u8) does not work. However, if I hit the origin url, it will work. From what I’ve searched, it seemed the solution to this was to create SMIL files and copy them on each edge. My issue is that in my situation, my stream names will be dynamic. To create the SMIL files, I would need to know the stream names before hand. Also, I have load balancing set up so I would also need to know the least loaded edge to connect clients to. Is there a solution to this? Also, does Wowza plan to have clients connect directly to the edge without creating smil files?

Thanks.

---

<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:** [January 6, 2012, 3:51pm UTC](https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869/2 "2012-01-06T15:51:10Z")

</div>

This is the only other option that might be useful:

[https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests](https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests)

If the dynamic stream names are something you can determine from the edge, then you should be able to use this method. You might connect to a database to get stream names, or you might query the origin using a HTTPProvider.

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:** [January 6, 2012, 7:59pm UTC](https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869/3 "2012-01-06T19:59:37Z")

</div>

It would have to be on each edge

Richard

---

<div class="post-metadata">

**Author:** ![Stream\_Stream](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@Stream\_Stream](https://community.wowza.com/u/Stream_Stream)\
**Post date:** [January 6, 2012, 2:02pm UTC](https://community.wowza.com/t/ngrp-on-origin-edge-load-balancing-with-dynamic-stream-names/37869/4 "2012-01-06T14:02:55Z")

</div>

Would the module be placed on the origin server or on all the edges?
