# Samsung TV app: changing ordering of URL parameters for HLS requests

**URL:** https://community.wowza.com/t/samsung-tv-app-changing-ordering-of-url-parameters-for-hls-requests/37371
**Category:** Wowza Streaming Engine
**Tags:** media-players-and-devices
**Created:** [June 19, 2012, 9:54am UTC](https://community.wowza.com/t/samsung-tv-app-changing-ordering-of-url-parameters-for-hls-requests/37371 "2012-06-19T09:54:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Julie\_M](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Julie\_M](https://community.wowza.com/u/Julie_M)
#### Post date: [June 19, 2012, 9:54am UTC](https://community.wowza.com/t/samsung-tv-app-changing-ordering-of-url-parameters-for-hls-requests/37371/1 "2012-06-19T09:54:11Z")

</div>

Hello,

Is there a way we can change the ordering of URL parameters for HLS requests?

The use case here is that for Samsung TV apps, in order for the app to recognize a stream as HLS, the URL needs to be appended with “|COMPONENT=HLS”. For example: “http://:1935/cdn/_definst_/path/to/file/playlist.m3u8?|COMPONENT=HLS”.

However, when the player performs a GET request on the playlist, the returned playlist components are appended with the Wowza session ID:

“http://:1935/cdn-live/_definst_/path/to/file/playlist.m3u8?|COMPONENT=HLS&wowzasessionid=555555”

As a result, “|COMPONENT=HLS” is no longer at the end of the URL, and the Samsung player does not recognize the streams as HLS.

Is there a way around this so that we can change the ordering the URL parameters?

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [June 19, 2012, 11:57am UTC](https://community.wowza.com/t/samsung-tv-app-changing-ordering-of-url-parameters-for-hls-requests/37371/2 "2012-06-19T11:57:52Z")

</div>

Where is the **|COMPONENT=HLS** coming from? We are not adding it to the URL. How and where is this being added to the URL? This seems more like a Samsung issue. Have you contacted them? It seems like it should be valid to use query parameters as part of the media names. It seems like this would be a common occurance.

Since we are not adding the **|COMPONENT=HLS** part to the URL I am not sure how we would control the order. It seems like this is being done outside of the Wowza Media Server. Also, if you contact us directly at support@wowza.com we might have another solution for this.

Charlie

---

<div class="post-metadata">

### Author: ![Julie\_M](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Julie\_M](https://community.wowza.com/u/Julie_M)
#### Post date: [June 19, 2012, 4:00pm UTC](https://community.wowza.com/t/samsung-tv-app-changing-ordering-of-url-parameters-for-hls-requests/37371/3 "2012-06-19T16:00:34Z")

</div>

To answer Charlie’s question, the “|COMPONENT=HLS” is a requirement for the Samsung app in order for the app to recognize the stream as HLS, and needs to be appended to the end of a URL by whoever is writing the code for the app. I have followed up with support about this issue. Thanks.
