Answer for VOD mp4 & Alias

Hi, In order to use aliases, you need to do the following steps: 1. Shutdown EMS and edit the configuration file, config.lua. In configuration > applications > rootDirectory, modify the line
hasStreamAliases=true,
(the default is false), and restart EMS. 2. Define an alias using the command below:
addStreamAlias localStreamName=myPrivateName aliasName=myPublicName
which would be transformed using the following: http://localhost:7777/addStreamAlias?params=base64("localStreamName=myPrivateName aliasName=myPublicName") giving this:
http://localhost:7777/addStreamAlias?params="bG9jYWxTdHJlYW1OYW1lPW15UHJpdmF0ZU5hbWUgYWxpYXNOYW1lPW15UHVibGljTmFtZQ=="
3. Pull a source stream using the private name:
pullStream uri=rtmp://localhost/vod/mp4:myVideo.mp4 localStreamName=myPrivateName
which would be transformed using the following: http://localhost:7777/pullStream?params=base64("uri=rtmp://localhost/vod/mp4:myVideo.mp4 localStreamName=myPrivateName") giving this:
http://localhost:7777/pullStream?params="dXJpPXJ0bXA6Ly9sb2NhbGhvc3Qvdm9kL21wNDpteVZpZGVvLm1wNCBsb2NhbFN0cmVhbU5hbWU9bXlQcml2YXRlTmFtZQ=="
4. Play the pulled stream using the public name, e.g. using VLC, FFMPEG, or other player. Please check the EMS User’s Guide for more details: http://www.evostream.com/evo_evals/EMS%20User%20Guide.pdf Cheers, Don

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.