Wowza Community

Mediacache and SMIL

How can i live stream from mediacache.

I’m trying make youtube livestreaming from amazon S3.
I read this article :, and do it step by step.

But now i don’t know how to smil file can connect with mediacache to livestream.

Pls help me!


1. This is my smil file
<?xml version="1.0" encoding="UTF-8"?> 
<smil title=""> 
<head></head> <body>
 <stream name="stream10"></stream> 
<playlist name="pl2" playOnStream="stream10" repeat="true" scheduled="2019-11-21 18:31:00"> 
<video length="-1" src="" start="0">

Thank you for sharing what article you followed and some code @cao son, that is very helpful. The next step to take is to use StreamPublisher to access those streams with the smil file and MediaCache:

If you wish to use a smil file with Media Cache you should create a smil file in the same location as your VOD files and reference the files in the smil file as a relative link.

Then when you construct your playback URL you can use the Mediacache prefix and add the smil file to the end just as you would with any other smil file reference, e.g.


(You should enter a prefix such as “amazons3/”)

Thank for replying me. I solved it.

Excellent to hear! Thank you for letting me know.