# How to re-stream an unprotected stream from FMS or a CDN such as Akamai

**URL:** <https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87>\
**Category:** Wowza Streaming Engine\
**Created:** [January 26, 2010, 12:31pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87 "2010-01-26T12:31:54Z")\
**Posts on this page:** 19\
**Page:** 2

<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:** [October 5, 2011, 3:35pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/21 "2011-10-05T15:35:06Z")

</div>

Works okay in Wowza Flash player from here

Server: rtmp://cp45648.live.edgefcs.net/live

Stream: T00304@20413

The ticker is smooth and the audio is great, for me at my location.

What is the bitrate? Choppy playback in Flash is usually a bitrate/bandwidth issue.

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:** [October 5, 2011, 3:56pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/22 "2011-10-05T15:56:28Z")

</div>

What URL are you using for iOS playback? I tried this but there is no playlist:

[http://cp45648.live.edgefcs.net:1935/live/T00304@20413/playlist.m3u8](http://cp45648.live.edgefcs.net:1935/live/T00304@20413/playlist.m3u8)

Is this CDN URL to an FMS server?

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 7, 2013, 10:49pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/23 "2013-01-07T22:49:18Z")

</div>

Bryan,

Yes, this is still the same. It only works with un-protected steams.

Richard

---

<div class="post-metadata">

**Author:** ![Guillermo\_Revuelta](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Guillermo\_Revuelta](https://community.wowza.com/u/Guillermo_Revuelta)\
**Post date:** [September 17, 2010, 3:22pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/24 "2010-09-17T15:22:06Z")

</div>

I understand that, but how I generate the smil?

If I have quality1.stream and quality2.stream, how do I insert that into the .smil file?

I mean, for example in an standard .smil you have:

In the streamname field should I put quality1.stream, quality2.stream ??

Thanks Richard

---

<div class="post-metadata">

**Author:** ![Guillermo\_Revuelta](https://avatars.discourse-cdn.com/v4/letter/g/6f9a4e/32.png) [@Guillermo\_Revuelta](https://community.wowza.com/u/Guillermo_Revuelta)\
**Post date:** [September 20, 2010, 9:35am UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/25 "2010-09-20T09:35:43Z")

</div>

Ok, but how do I access to the smil file with the iphone browser?

Do I need to create a third application? If I have one application for the first stream and other for the second stream, I would need a third application for indexing the smil, right?

Trying as I write this lines…

Edit: Finally I used another stream under the same application and it works, thank you very much for your help Richard.

---

<div class="post-metadata">

**Author:** ![Rohan\_Mukkamala](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Rohan\_Mukkamala](https://community.wowza.com/u/Rohan_Mukkamala)\
**Post date:** [March 13, 2010, 1:10am UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/26 "2010-03-13T01:10:35Z")

</div>

Is there support for Akamai token based streaming on wowza reflectors, pulling streams from Akamai?

---

<div class="post-metadata">

**Author:** ![Rohan\_Mukkamala](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Rohan\_Mukkamala](https://community.wowza.com/u/Rohan_Mukkamala)\
**Post date:** [March 13, 2010, 6:30am UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/27 "2010-03-13T06:30:20Z")

</div>

Hi,

Akamai has a way to secure media streams. They generate “tokens” which the client needs to provide to the Akamai server whenever they need to fetch a stream.

The token is appended to the stream name & the url looks like this:

rtmp://live.flash.com/live/streamName@s24810?auth=daEd\_cwcJchdCa6debDdCa\_dldLc6dFcxct-blMUhc-4q-ppGWwGuNCDvOBkLci&aifp=1

Look at “auth=”. Will a Wowza reflector re-streaming an Akamai stream, support this functionality?

If yes, what do I need to configure?

If no, do you have any work around, even if it means extra code?

---

<div class="post-metadata">

**Author:** ![Rohan\_Mukkamala](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Rohan\_Mukkamala](https://community.wowza.com/u/Rohan_Mukkamala)\
**Post date:** [March 13, 2010, 6:42am UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/28 "2010-03-13T06:42:52Z")

</div>

Hi,

Is there a way I could re-write my own live repeater, which supports query parameters?

The first step is to be able to subscribe to live streams from other servers. I think, in the previous versions of wowza, this was not possible. Is this possible in Wowza 2?

The second step would be to republish these streams for clients on this server. I saw support for vod streams using Stream class in Wowza 2. Can this be done for live streams?

Any ideas here?

---

<div class="post-metadata">

**Author:** ![John\_West](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@John\_West](https://community.wowza.com/u/John_West)\
**Post date:** [September 4, 2010, 5:22pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/29 "2010-09-04T17:22:23Z")

</div>

Hi,

Yes, many CDNs use the Wowza Server to power their network. Many of those CDNs will permit you to setup the live stream repeater function on your own Wowza Server which will act as an origination point for the stream going into the network. You’ll need to check with the CDN’s staff on what business arrangements and configurations must be made to make this work with their network.

If you have an existing business arrangement with Akamai which ties you to using their network, I’m happy to discuss this next week (I’ve received your email and will reply shortly).

Yours,

John West

john [at] wowzamedia {dotCom}

---

<div class="post-metadata">

**Author:** ![John\_Nicholas](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@John\_Nicholas](https://community.wowza.com/u/John_Nicholas)\
**Post date:** [February 1, 2010, 5:04pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/30 "2010-02-01T17:04:03Z")

</div>

The Live Streaming step says

Set the Streams/StreamType property to: liverepeater-edge

but the Live Streaming (all player technologies) says

Set the Streams/StreamType property to: live

which seems to require setting up the akamai connection through the stream manager.

Is it possible to have the automatic connection to akamai and still stream to the iphone? if I just change Streams/StreamType to liverepeater-edge it says Stream not found

---

<div class="post-metadata">

**Author:** ![John\_Nicholas](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@John\_Nicholas](https://community.wowza.com/u/John_Nicholas)\
**Post date:** [May 13, 2010, 2:07pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/31 "2010-05-13T14:07:01Z")

</div>

I have a few live streaming shows that are on at different times of the day ranging from 10 minutes to 3 hours.

I don’t have any problems restreaming them from akamai to devices using the techniques described here. I’m trying to use the StartupStreams.xml but now my logs are filled with

CupertinoPacketHandler.resetStream[akamai/_definst_/akamai.stream]

LiveMediaStreamHandler.sessionClosed

LiveMediaStreamHandler.sessionClosed: reconnect: isCurrentSession:false tryConnect:true

which seems like a problem. I’d hope it was only connecting to akamai when someone was trying to get the restream rather than constantly connecting. Am I using the wrong approach for this kind of situation?

---

<div class="post-metadata">

**Author:** ![vass\_vassilev](https://avatars.discourse-cdn.com/v4/letter/v/73ab20/32.png) [@vass\_vassilev](https://community.wowza.com/u/vass_vassilev)\
**Post date:** [September 3, 2010, 4:22pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/32 "2010-09-03T16:22:42Z")

</div>

I’m not aware of StreamManager , is this an Akamai function

do you have more info about it ?

thanks

---

<div class="post-metadata">

**Author:** ![vass\_vassilev](https://avatars.discourse-cdn.com/v4/letter/v/73ab20/32.png) [@vass\_vassilev](https://community.wowza.com/u/vass_vassilev)\
**Post date:** [September 4, 2010, 12:24pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/33 "2010-09-04T12:24:39Z")

</div>

thanks , but I still can’t see how can I use this with Akamai for live streaming

---

<div class="post-metadata">

**Author:** ![vass\_vassilev](https://avatars.discourse-cdn.com/v4/letter/v/73ab20/32.png) [@vass\_vassilev](https://community.wowza.com/u/vass_vassilev)\
**Post date:** [September 4, 2010, 4:32pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/34 "2010-09-04T16:32:55Z")

</div>

is it any solution how to use akamai or any other CDN as edge ? because I have my custom modules installed on my wowza server and no CDN allows the things to been installed on their servers , so it must been a work around it , I know some sites doing it but can’t ask them about their solution 🙂

---

<div class="post-metadata">

**Author:** ![John\_Corella](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@John\_Corella](https://community.wowza.com/u/John_Corella)\
**Post date:** [August 19, 2010, 4:42pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/35 "2010-08-19T16:42:29Z")

</div>

Hello, I am getting this warning:

WARN vhost comment _defaultVHost_ Bind failed, try again ([any]:1935): java.net.BindException: Address already in use

And, I cannot seem to stop the server or change to a directory

Thank you.

---

<div class="post-metadata">

**Author:** ![John\_Corella](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@John\_Corella](https://community.wowza.com/u/John_Corella)\
**Post date:** [August 21, 2010, 10:08pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/36 "2010-08-21T22:08:33Z")

</div>

I got the stream going thank you, however please see my other post as my stream is not working properly.

[https://www.wowza.com/forums/showthread.php?t=9879&page=2](https://www.wowza.com/forums/showthread.php?t=9879&page=2)

* * *

I am streaming on iPhone.

Very happy about it. We will be purchasing a perpetual license tomorrow, Sunday PST.

Right now we are running a Wowza Server Subscription for a single instance.

After we have the stream going in the iPhone it lasts without stopping.

But, there is an issue. The stream doesn’t always stream when the address is entered into the browser. After closing the Safari browser we just get a blank screen in the browser if we try to stream again. But, after waiting some time it will work again.

We get a WARN server comment - HTTPStreamerAdopterCupertinoStreaming.onPlaylist: Application context no loaded [xxx.stream/playlist.m3u8]: _defapp_/_definst_

* * *

Thank you

---

<div class="post-metadata">

**Author:** ![Learner\_Dev](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Learner\_Dev](https://community.wowza.com/u/Learner_Dev)\
**Post date:** [July 26, 2011, 6:04pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/37 "2011-07-26T18:04:17Z")

</div>

i have a situation ☹

i sent my stream from FME to FMS and i can view it by

rtmp://myserver.com/live&file=learner

learner is my stream.

but how will i put this in learner.stream for the wowza to pull?

i tried this

rtmp://myserver.com/live/learner didnt work

rtmp://myserver.com/live/_definst_/learner didnt work either ☹

help me out. thx

---

<div class="post-metadata">

**Author:** ![Learner\_Dev](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@Learner\_Dev](https://community.wowza.com/u/Learner_Dev)\
**Post date:** [July 28, 2011, 3:22pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/38 "2011-07-28T15:22:58Z")

</div>

the text editor doesnt add a .txt extension but wowza just dont pull it or restream it ☹

---

<div class="post-metadata">

**Author:** ![Bryan\_Nystrom](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@Bryan\_Nystrom](https://community.wowza.com/u/Bryan_Nystrom)\
**Post date:** [January 7, 2013, 4:42pm UTC](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87/39 "2013-01-07T16:42:30Z")

</div>

Richard,

Is it still the case that you can not pass parameters to a startup stream via the .stream file ( [See your previous comment](http://community.wowza.com/t/-/87) )?

I have a case where we are trying to use Wowza to record a protected stream from BitGravity. The .stream file look something like this (a bit obscured):

_rtmp://xxx.live-s.cdn.bitgravity.com/cdn-live-i5/definst/xxx/secure/live/beachcam?e=0%26h=5eb7c6203097b6549cccbce9c80bf93c_

Using that we get repeated:

LiveMediaStreamReceiver.sessionClosed

LiveMediaStreamReceiver.sessionClosed: reconnect: isCurrentSession:true tryConnect:true

The h= parameter is the specific hash code for that stream. We have no problem starting the stream and streaming it if the stream is unprotected and does not need parameters. The same above stream URL works just fine if given to JWPlayer alone. Just wondering if passing URL parameters had been addressed yet, or if there is another way around this problem.

Bryan

[Previous page](https://community.wowza.com/t/how-to-re-stream-an-unprotected-stream-from-fms-or-a-cdn-such-as-akamai/87.md?page=1)
