Creating an HDS Stream

From the local streams in EMS, issue the createHDSStream command:

Single Stream

General Format:

createHDSStream localstreamnames=<localstreamname> targetFolder=<target_folder_path> groupname=<groupname>
  • For Windows:
createHDSStream localstreamnames=myStream targetfolder=C:\EvoStream\evo-webroot groupname=myHDSGroup
  • For Linux:
createHDSStream localstreamnames=myStream targetfolder=/var/evo-webroot groupname=myHDSGroup

The created files will automatically save in the targetFolder path.

evo-webroot:                           --> targetfolder
myHDSGroup                             --> groupname
- myStream                             --> localstreamname
-- bootstrap                           --> boostrap_file
-- myStream1.f4m                       --> childplaylist_file
-- f4vSegXX-FragXX                     --> segment_chunk_file
- manifest.f4m                         --> masterplaylist_file
- manifest_v1.f4m                      --> masterplaylist_file

Multiple Stream

To use multiple localStreamNames using one createHDSStream command do the following:

General Format:

createHDSStream localstreamnames=<localstreamname1>,<localstreamname2>,<localstreamnameX> targetFolder=<target_folder_path> groupname=<groupname>
  • For Windows:
createHDSStream localstreamnames=myStream1,myStream2 targetfolder=C:\EvoStream\evo-webroot groupname=myHDSGroup
  • For Linux:
createHDSStream localstreamnames=myStream1,myStream2 targetfolder=/var/evo-webroot groupname=myHDSGroup

The created files will automatically save in the targetFolder path.

evo-webroot:                           --> targetfolder
myHDSGroup                             --> groupname
- myStream1                            --> localstreamname_1
-- bootstrap                           --> boostrap_file
-- myStream1.f4m                       --> childplaylist_file
-- f4vSegXX-FragXX                     --> segment_chunk_file
- myStream2                            --> localstreamname_2
-- bootstrap                           --> boostrap_file
-- myStream2.f4m                       --> childplaylist_file
-- f4vSegxx-Fragxx                     --> segment_chunk_file
- manifest.f4m                         --> masterplaylist_file
- manifest_v1.f4m                      --> masterplaylist_file

Playing an HDS Manifest File

The corresponding link to play this stream would then be:

General Format:

http://<EMS_IP_Address:<Web_Server_Port>/<HDS_groupname>/<Subfolder>/<manifest_filename>

Sample URL:

  • Single Stream:
http://192.168.2.34:8888/myHDSGroup/manifest.f4m
  • Multiple Stream:
http://192.168.2.34:8888/myHDSGroup/myStream1/manifest.f4m
http://192.168.2.34:8888/myHDSGroup/myStream2/manifest.f4m
http://192.168.2.34:8888/myHDSGroup/myStream3/manifest.f4m

The player will now automatically play the stream once the HDS playlist is loaded.

Please see createHDSStream API for more details.