encoder stream path
Hi,
Instead of using a key in your stream URI, you can use Ingest Points for EMS as follows:
1) Enable Ingest Points and restart EMS.
Set hasIngestPoints=true in config.lua as shown below:
> hasIngestPoints=true,
2) Use the createIngestPoint API command to define private and public stream names as shown below:
> createIngestPoint privateStreamName=mySecretNameForPushing publicStreamName=myPublicNameForViewing
3) Pull or play the stream from EMS using the public stream name as shown below:
> vlc rtmp:///live/myPublicNameForViewing
You can also enable push authentication in EMS as follows:
1) Uncomment the authentication section in config.lua:
> authentication=
> {
> rtmp=
> {
> type=”adobe”,
> encoderAgents=
> {
> “FMLE/3.0 (compatible; FMSc/1.0)”,
> “Wirecast/FM 1.0 (compatible; FMSc/1.0)”,
> “EvoStream Media Server (www.evostream.com)”
> },
> usersFile=”../config/users.lua”
> },
> rtsp=
> {
> usersFile=”../config/users.lua”
> }
> }
2) Set the username and password in users.lua:
> users=
> {
> tom=”tom’s_password”,
> jerry=”jerry’s_password”
> }
References:
http://docs.evostream.com/ems_user_guide/protocolsupport#rtmp-ingest-points
http://docs.evostream.com/ems_api_definition/createingestpoint
http://docs.evostream.com/ems_api_definition/listingestpoints
http://docs.evostream.com/ems_api_definition/removeingestpoint
http://docs.evostream.com/ems_user_guide/security#inbound-authentication
Cheers,
Don