Thanks for the reply.
I have indeed read this article and got confused reading this
Can you pls clarify in one liners when we should be accessing media folder and when streams\definst??
Let me explain you - first of all "live" does not have "media" folder my default - only "VOD" application. "media" folder is nothing but VirtualDirectory setting done at Application.xml level to tell FMS so pick the media files from "media" folder.
By default if you are creating your own simple application - you need to create "streams/_definst_" as its default path where streams would get created or looked for - when you are connecting to "_definst_" or when you dont specify any instance name in your connection URI.
You use "media" or for that matter any folder - if you have preconfigured VirtualDirectory for your application.
Understood this now.