May I know the exact commands you called in the telnet and the exact url you put in your player in order to play your stream with alias.
May I also know where your webroot is?
Command fired in telnet is as below:
addgroupnamealias groupname=STREAM_NAME_GROUPNAME aliasname=test
URL kept in player is :
http://SERVER_IP:8888/test
——————————————————————–
// config.lua
configuration=
{
daemon=false,
instancesCount=-1,
pathSeparator="/",
logAppenders=
{
{
name="console appender",
type="coloredConsole",
level=6
},
{
name="file appender",
type="file",
level=6,
fileName="/var/log/evostreamms/evostreamms",
newLineCharacters="n",
fileHistorySize=100,
fileLength=1024*1024,
singleLine=true
},
},
applications=
{
rootDirectory="./",
{
appDir="./",
name="evostreamms",
description="EVOSTREAM MEDIA SERVER",
protocol="dynamiclinklibrary",
default=true,
pushPullPersistenceFile="/var/evostreamms/xml/pushPullSetup.xml",
authPersistenceFile="/var/evostreamms/xml/auth.xml",
connectionsLimitPersistenceFile="/var/evostreamms/xml/connlimits.xml",
bandwidthLimitPersistenceFile="/var/evostreamms/xml/bandwidthlimits.xml",
ingestPointsPersistenceFile="/var/evostreamms/xml/ingestpoints.xml",
streamsExpireTimer=10,
rtcpDetectionInterval=15,
hasStreamAliases=true,
hasIngestPoints=false,
validateHandshake=false,
aliases={"er", "live", "vod"},
maxRtmpOutBuffer=512*1024,
hlsVersion=3,
mediaStorage = {
recordedStreamsStorage="/var/evostreamms/media",
{
description="Default media storage",
mediaFolder="/home/media/",
},
–[[
— the following is an example and contains all
— available properties along with their default
— values(except paths, of course)
sample={
description="Storage example",
mediaFolder="/some/media/folder",
metaFolder="/fast/discardable/separate/folder",
enableStats=false,
clientSideBuffer=15,
keyframeSeek=true,
seekGranularity=0.1,
externalSeekGenerator=false,
}
]]–
},
acceptors=
{
— CLI aceptors
{
ip="127.0.0.1",
port=1112,
protocol="inboundJsonCli",
useLengthPadding=true
},
{
ip="127.0.0.1",
port=7777,
protocol="inboundHttpJsonCli"
},
— RTMP and clustering
{
ip="0.0.0.0",
port=1935,
protocol="inboundRtmp",
},
{
ip="127.0.0.1",
port=1936,
protocol="inboundRtmp",
clustering=true
},
{
ip="127.0.0.1",
port=1113,
protocol="inboundBinVariant",
clustering=true
},
— RTSP
{
ip="0.0.0.0",
port=5544,
protocol="inboundRtsp",
–[[ multicast=
{
ip="224.2.1.39",
ttl=127,
}]]–
},
— LiveFLV ingest
{
ip="0.0.0.0",
port=6666,
protocol="inboundLiveFlv",
waitForMetadata=true,
},
— HTTP
{
ip="0.0.0.0",
port=8080,
protocol="inboundHttp",
},
–RTMPS
–[[
{
ip="0.0.0.0",
port=4443,
protocol="inboundRtmp",
— cipherSuite="!DEFAULT:RC4-SHA", — enables/disables a specific set of ciphers. If not specified, it is defaulted to the openssl collection of ciphers
sslKey="/path/to/some/key",
sslCert="/path/to/some/cert",
}
]]–
},
autoHLS=
{
targetFolder= "/home/evostreamms",
},
–[[
autoHDS=
{
targetFolder= "/var/evostreamms/media",
},
]]–
–[[
authentication=
{
rtmp=
{
type="adobe",
encoderAgents=
{
"FMLE/3.0 (compatible; FMSc/1.0)",
"Wirecast/FM 1.0 (compatible; FMSc/1.0)",
"EvoStream Media Server (http://www.evostream.com)"
},
usersFile="/etc/evostreamms/users.lua"
},
rtsp=
{
usersFile="/etc/evostreamms/users.lua",
–authenticatePlay=false,
}
},
]]–
–[[
eventLogger=
{
— the following customData node will be apended to all outgoing
— events generated by this logger.
customData=123,
sinks=
{
{
— the following customData node will be apended to all
— events generated by this sink. It overwrides the
— customData node defined on the upper level. It can
— also be a complex structure like this
customData =
{
some="string",
number=123.456,
array={1, 2.345, "Hello world", true, nil}
},
type="file",
filename="/var/log/evostreamms/events.txt",
–format="text",
–format="xml",
–format="json",
format="w3c",
timestamp=true,
appendTimestamp=true,
appendInstance=true,
— fileChunkLength=43200, — 12 hours (in seconds)
— fileChunkTime="18:00:00",
enabledEvents=
{
"inStreamCreated",
"outStreamCreated",
"streamCreated",
"inStreamCodecsUpdated",
"outStreamCodecsUpdated",
"streamCodecsUpdated",
"inStreamClosed",
"outStreamClosed",
"streamClosed",
"streamingSessionStarted",
"streamingSessionEnded",
"mediaFileDownloaded",
},
},
{
type="RPC",
url="http://localhost/evowebservices/evowebservices.php",
serializerType="JSON",
— serializerType="XML"
— serializerType="XMLRPC"
enabledEvents=
{
"inStreamCreated",
"outStreamCreated",
"streamCreated",
"inStreamCodecsUpdated",
"outStreamCodecsUpdated",
"streamCodecsUpdated",
"inStreamClosed",
"outStreamClosed",
"streamClosed",
"cliRequest",
"cliResponse",
"applicationStart",
"applicationStop",
"carrierCreated",
"carrierClosed",
"serverStarted",
"serverStopping",
"protocolRegisteredToApp",
"protocolUnregisteredFromApp",
"processStarted",
"processStopped",
"timerCreated",
"timerTriggered",
"timerClosed",
"hlsChunkCreated",
"hlsChunkClosed",
"hlsChunkError",
"hlsChildPlaylistUpdated",
"hlsMasterPlaylistUpdated",
"hdsChunkCreated",
"hdsChunkClosed",
"hdsChunkError",
"hdsChildPlaylistUpdated",
"hdsMasterPlaylistUpdated",
"playlistItemStart",
"firstPlaylistItemStart",
"lastPlaylistItemStart",
"streamingSessionStarted",
"streamingSessionEnded",
"mediaFileDownloaded",
},
},
},
},
]]–
transcoder = {
scriptPath="/usr/bin/emsTranscoder.sh",
srcUriPrefix="rtsp://localhost:5544/",
dstUriPrefix="-f flv tcp://localhost:6666/"
},
mp4BinPath="/usr/bin/evo-mp4writer",
–[[
drm={
type="verimatrix",
requestTimer=1,
reserveKeys=10,
reserveIds=10,
— urlPrefix="http://server1.evostream1.com:12684/CAB/keyfile"
urlPrefix="http://vcas3multicas1.verimatrix.com:12684/CAB/keyfile"
},
]]–
},
}
}
——————————————————————
// webconfig.lua
configuration=
{
logAppenders=
{
{
name="console appender",
type="coloredConsole",
level=6
},
{
name="file appender",
type="delayedFile",
level=6,
fileName="/var/log/evostreamms/evo-webserver",
newLineCharacters="n",
fileHistorySize=100,
fileLength=1024*1024,
singleLine=true
},
},
applications=
{
rootDirectory="./",
{
name="webserver",
description="Built-In Web Server",
port=8888,
emsPort=1113, –should match config.lua’s inboundBinVariant acceptor
bindToIP="",
sslMode="disabled", — always, auto, disabled
maxMemSizePerConnection=32*1024, –32*1024,
maxConcurrentConnections=5000,
connectionTimeout=0, — 0 – no timeout
maxConcurrentConnectionsSameIP=1000,
threadPoolSize=2,
useIPV6=false,
enableIPFilter=false, –if true, reads white and black lists
whitelistFile="/etc/evostreamms/whitelist.txt",
blacklistFile="/etc/evostreamms/blacklist.txt",
sslKeyFile="/etc/evostreamms/server.key",
sslCertFile="/etc/evostreamms/server.cert",
enableCache=false,
cacheSize=1*1024*1024*1024, –1GB
hasGroupNameAliases=true,
webRootFolder="/var/www/",
enableRangeRequests=true,
supportedMimeTypes=
{
— non-streaming
{
extensions="mp4,mp4v,mpg4",
mimeType="video/mp4",
streamType="",
isManifest=false,
},
{
extensions="flv",
mimeType="video/x-flv",
streamType="",
isManifest=false,
},
— streaming
{
extensions="m3u,m3u8",
mimeType="audio/x-mpegurl",
streamType="hls",
isManifest=true,
},
{
extensions="ts",
mimeType="video/mp2t",
streamType="hls",
isManifest=false,
},
{
extensions="aac",
mimeType="audio/aac",
streamType="hls",
isManifest=false,
},
{
extensions="f4m",
mimeType="application/f4m+xml",
streamType="hds",
isManifest=true,
},
{
extensions="ismc,isma,ismv",
mimeType="application/octet-stream",
streamType="mss",
isManifest=true,
},
{
extensions="fmp4",
mimeType="video/mp4",
streamType="mss",
isManifest=false,
},
{
extensions="mpd",
mimeType="application/dash+xml",
streamType="dash",
isManifest=true,
},
{
extensions="m4s",
mimeType="video/mp4",
streamType="dash",
isManifest=false,
},
{ — needed for supporting adobe player’s crossdomain.xml
extensions="xml",
mimeType="application/xml",
streamType="",
isManifest=false,
},
},
–[[includeResponseHeaders=
{
{
header="Access-Control-Allow-Origin",
content="*",
override=true,
},
{
header="User-Agent",
content="Evostream",
override=false,
},
},–]]
–[[apiProxy=
{
authentication="basic", — none, basic
pseudoDomain="<domain>",
address="127.0.0.1",
port=7777,
userName="<username>",
password="<password>",
},–]]
},
}
}