# How do I get the HLS playback url in a custom wowza module?

**URL:** <https://community.wowza.com/t/how-do-i-get-the-hls-playback-url-in-a-custom-wowza-module/53440>\
**Category:** Wowza Streaming Engine\
**Created:** [June 2, 2019, 6:12pm UTC](https://community.wowza.com/t/how-do-i-get-the-hls-playback-url-in-a-custom-wowza-module/53440 "2019-06-02T18:12:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arvind\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Arvind\_Kumar1](https://community.wowza.com/u/Arvind_Kumar1)\
**Post date:** [June 2, 2019, 6:12pm UTC](https://community.wowza.com/t/how-do-i-get-the-hls-playback-url-in-a-custom-wowza-module/53440/1 "2019-06-02T18:12:16Z")

</div>

I am trying to write a custom module to get the HLS playback url. The url will be sent to another external application. How to get the complete HLS playback URL in a custom module

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [June 2, 2019, 6:31pm UTC](https://community.wowza.com/t/how-do-i-get-the-hls-playback-url-in-a-custom-wowza-module/53440/2 "2019-06-02T18:31:46Z")

</div>

@Arvind Kumar, you can hook onto the onHTTPSessionCreate trigger and use httpSession.getUri()

```auto
import com.wowza.wms.module.*;
import com.wowza.wms.httpstreamer.model.*;

public class MyFirstModule extends ModuleBase {
	public void onHTTPSessionCreate(IHTTPStreamerSession httpSession) {
		String uri = httpSession.getUri();
	}
}

```
