# How to ingest 3 qualities of the same live streaming and serve it as HTTP Origin

**URL:** <https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903>\
**Category:** Wowza Streaming Engine\
**Created:** [May 3, 2022, 2:19pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903 "2022-05-03T14:19:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alessandro\_Capoferri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/alessandro_capoferri/32/1118_2.png) [@Alessandro\_Capoferri](https://community.wowza.com/u/Alessandro_Capoferri)\
**Post date:** [May 3, 2022, 2:19pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/1 "2022-05-03T14:19:49Z")

</div>

Hi,

I am willing to ingest n (where n=3) qualities of a live stream in a Wowza Streaming Engine and combine them in something like a SMIL but I need to do It as HTTP Origin to serve it to a CDN, which can’t be done with SMIL. I am avoiding transcoding as it consumes too much computer power. Is there a solution for this ?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [May 3, 2022, 3:10pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/2 "2022-05-03T15:10:19Z")

</div>

When you say three qualities, do you mean different streaming protocols or different resolutions or bitrates?

Please clarify.

You might want to use [Wowza Video](https://www.wowza.com/video/vod-and-live-streaming) which would do the transcoding and scaling through the CDN for you- all different pricing plans available.

---

<div class="post-metadata">

**Author:** ![Alessandro\_Capoferri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/alessandro_capoferri/32/1118_2.png) [@Alessandro\_Capoferri](https://community.wowza.com/u/Alessandro_Capoferri)\
**Post date:** [May 3, 2022, 7:36pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/3 "2022-05-03T19:36:44Z")

</div>

Hi, I mean different bitrates and resolutions.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [May 4, 2022, 9:39pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/4 "2022-05-04T21:39:12Z")

</div>

Ok I’ll double check on the approach you would take and be back soon

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [May 4, 2022, 9:43pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/5 "2022-05-04T21:43:56Z")

</div>

Your CDN should support an SMIL workflow (most do - if they don’t, find another CDN).

You will server a URL that looks like this:

`https://my-cdn-fqdn/live-http-origin/smil:mySMILfile.smil/playlist.m3u8`

This article describes how to create and format sn SMIL file using Wowza Streaming Engine Manager:  
[https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming](https://www.wowza.com/docs/how-to-do-adaptive-bitrate-streaming)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Capoferri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/alessandro_capoferri/32/1118_2.png) [@Alessandro\_Capoferri](https://community.wowza.com/u/Alessandro_Capoferri)\
**Post date:** [May 4, 2022, 9:55pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/6 "2022-05-04T21:55:10Z")

</div>

> [@Tim\_Dougherty](#):
>
> /live-http-origin/smil:mySMILfile.smil/playlist.m3u8

Yes, you are right, the CDN can read the SMIL file BUT the problem here is that a Single server or origin application does not alleviate the traffic on the Wowza Streaming Engine server as it replicate every request to the server. For a CDN to work properly with Wowza Streaming Engine the application should be create as Live HTTP Origin.

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [May 4, 2022, 10:00pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/7 "2022-05-04T22:00:32Z")

</div>

The HTTP-origin application type is effectively sessionless. You shouldn’t have any problems serving content to CDN using this approach. This article may offer some insight (ignore that it’s using CloudFront, the Wowza Streaming Engine setup is the same):

[https://www.wowza.com/docs/how-to-integrate-your-wowza-ec2-instance-with-cloudfront](https://www.wowza.com/docs/how-to-integrate-your-wowza-ec2-instance-with-cloudfront)

---

<div class="post-metadata">

**Author:** ![Alessandro\_Capoferri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/alessandro_capoferri/32/1118_2.png) [@Alessandro\_Capoferri](https://community.wowza.com/u/Alessandro_Capoferri)\
**Post date:** [May 4, 2022, 10:06pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/8 "2022-05-04T22:06:18Z")

</div>

Ok, but how can I ingest three different quality signals in a Live HTTP Origin and build a ngrp file in order to serve it in the CDN ? Without using the transcoder function.

---

<div class="post-metadata">

**Author:** ![Tim\_Dougherty](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/tim_dougherty/32/596_2.png) [@Tim\_Dougherty](https://community.wowza.com/u/Tim_Dougherty)\
**Post date:** [May 4, 2022, 11:03pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/9 "2022-05-04T23:03:17Z")

</div>

When you’re not using the transcoder, you can use the SMIL tool in Wowza Streaming Engine Manager or create the SMIL yourself (this is in the article I posted, earlier). This is a sample SMIL file:

```
<?xml version="1.0" encoding="UTF-8"?>
<smil title="SMIL file for live streaming">
<body>
<switch>
<video height="240" src="myStream_200" systemLanguage="eng" width="424">
<param name="videoBitrate" value="200000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="360" src="myStream_350" systemLanguage="eng" width="640">
<param name="videoBitrate" value="350000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
<video height="720" src="myStream_700" systemLanguage="eng" width="1272">
<param name="videoBitrate" value="700000" valuetype="data"></param>
<param name="audioBitrate" value="44100" valuetype="data"></param>
</video>
</switch>
</body>
</smil>

```

You just need to reference the active streams and bitrates which should be visible in “Incoming Streams” in WSEM. Host the SMIL in your [install-dir]/content folder.

---

<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:** [May 5, 2022, 9:56am UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/10 "2022-05-05T09:56:37Z")

</div>

Ingest all three bitrates as completely separate streams into your Origin; then build the SMIL on the Edge. Works as long as you have a single Origin.

---

<div class="post-metadata">

**Author:** ![Alessandro\_Capoferri](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/alessandro_capoferri/32/1118_2.png) [@Alessandro\_Capoferri](https://community.wowza.com/u/Alessandro_Capoferri)\
**Post date:** [May 7, 2022, 8:16pm UTC](https://community.wowza.com/t/how-to-ingest-3-qualities-of-the-same-live-streaming-and-serve-it-as-http-origin/94903/11 "2022-05-07T20:16:29Z")

</div>

Just coming back to thank you. It worked perfectly.
