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.