Microsoft Smooth Streaming (MSS)
Creating an MSS Stream
From the local streams in EMS, issue the createMSSStream
command:
Single Stream
General Format:
createMSSStream localstreamnames=<localstreamname> bandwidths=<bandwidth> targetFolder=<target_folder_path> groupname=<groupname>
- For Windows:
createMSSStream localstreamnames=myStream bandwidths=51265536 targetfolder=C:\EvoStream\evo-webroot groupname=myMSSGroup
- For Linux:
createMSSStream localstreamnames=myStream bandwidths=51265536 targetfolder=/var/evo-webroot groupname=myMSSGroup
The created files will automatically save in the targetFolder
path.
evo-webroot: --> targetfolder
myMSSGroup --> groupname
- myStream --> localstreamname
-- audio --> audio_folder
--- 51265536 --> bitrate_folder
---- XXXXXXXXXX000.fmp4 --> audio_segment_file
---- XXXXXXXXXXXXX.fmp4 --> audio_segment_file
-- video --> video_folder
--- 51265536 --> bitrate_folder
---- XXXXXXXXXX000.fmp4 --> video_segment_file
---- XXXXXXXXXXXXX.fmp4 --> video_segment_file
- manifest.ismc --> manifest_file
Multiple Stream with Different Bitrates
To use multiple localStreamNames
using one createMSSStream
command do the following:
General Format:
createMSSStream localstreamnames=<localstreamname1>,<localstreamname2>,<localstreamnameX> bandwidths=<bandwidth1,bandwidth2,bandwidthX> targetFolder=<target_folder_path> groupname=<groupname>
- For Windows:
createMSSStream localstreamnames=myStream1,myStream2 bandwidths=10000000,20000000 targetfolder=C:\EvoStream\evo-webroot groupname=myMSSGroup
- For Linux:
createMSSStream localstreamnames=myStream1,myStream2 bandwidths=10000000,20000000 targetfolder=/var/evo-webroot groupname=myMSSGroup
The created files will automatically save in the targetFolder
path.
evo-webroot: --> targetfolder
myMSSGroup --> groupname
- 10000000 --> bitrate_folder_1
-- audio --> audio_folder
--- xxxxxxxxxx000.fmp4 --> fmp4_audio_file
--- xxxxxxxxxxxxx.fmp4 --> fmp4_audio_file
-- video --> video_folder
--- xxxxxxxxxx000.fmp4 --> fmp4_video_file
--- xxxxxxxxxxxxx.fmp4 --> fmp4_video_file
- 20000000 --> bitrate_folder_2
-- audio --> audio_folder
--- xxxxxxxxxx000.fmp4 --> fmp4_audio_file
--- xxxxxxxxxxxxx.fmp4 --> fmp4_audio_file
-- video --> video_folder
--- xxxxxxxxxx000.fmp4 --> fmp4_video_file
--- xxxxxxxxxxxxx.fmp4 --> fmp4_video_file
- manifest.ismc --> manifest_file
Playing an MSS Manifest File
The corresponding link to play this stream would then be:
General Format:
http://<EMS_IP_Address:<Web_Server_Port>/<MSS_groupname>/<manifest_filename>
Sample URL:
http://192.168.2.34:8888/myMSSGroup/manifest.ismc
The player will now automatically play the stream once the MSS manifest is read.
Please see createMSSStream API for more details.