Sometimes it's nice to store your video content in a hierarchy of subdirectories within your streaming storage, to categorize or organize your content.
If you do this, there are two things to keep in mind:
- The subdirectory becomes part of the filename, i.e. instead of mp4:filename.mp4 as the filename, it becomes mp4:subdirectory/filename.mp4
- The application instance, which is normally not part of the streaming URL, has to be included for iOS playback, so instead of http://streamingserver:1935/appname/mp4:filename.mp4/playlist.m3u8 you must use http://streamingserver:1935/appname/_definst_/mp4:filename.mp4/playlist.m3u8