Created
February 9, 2013 00:10
-
-
Save johndel/4743072 to your computer and use it in GitHub Desktop.
crtmp mine.lua
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration= | |
{ | |
daemon=false, | |
pathSeparator="/", | |
logAppenders= | |
{ | |
{ | |
name="console appender", | |
type="coloredConsole", | |
level=6 | |
}, | |
{ | |
name="file appender", | |
type="file", | |
level=6, | |
fileName="./logs/crtmpserver", | |
fileHistorySize=10, | |
fileLength=1024*1024, | |
singleLine=true | |
} | |
}, | |
applications= | |
{ | |
rootDirectory="applications", | |
{ | |
description="FLV Playback Sample", | |
name="flvplayback", | |
protocol="dynamiclinklibrary", | |
default=true, | |
aliases= | |
{ | |
"simpleLive", | |
"vod", | |
"live", | |
"WeeklyQuest", | |
"SOSample", | |
"oflaDemo", | |
}, | |
acceptors = | |
{ | |
{ | |
ip="0.0.0.0", | |
port=1935, | |
protocol="inboundRtmp" | |
}, | |
}, | |
externalStreams = | |
{ | |
--[[{ | |
uri="rtmp://edge01.fms.dutchview.nl/botr/bunny", | |
localStreamName="test1", | |
tcUrl="rtmp://edge01.fms.dutchview.nl/botr/bunny", --this one is usually required and should have the same value as the uri | |
}]]-- | |
}, | |
validateHandshake=false, | |
keyframeSeek=true, | |
seekGranularity=1.5, --in seconds, between 0.1 and 600 | |
clientSideBuffer=12, --in seconds, between 5 and 30 | |
--generateMetaFiles=true, --this will generate seek/meta files on application startup | |
--renameBadFiles=false, | |
mediaFolder="./media", | |
authentication= | |
{ | |
rtmp={ | |
type="adobe", | |
encoderAgents= | |
{ | |
"FMLE/3.0 (compatible; FMSc/1.0)", | |
}, | |
usersFile="./configs/usersmine.lua" | |
}, | |
rtsp={ | |
usersFile="./configs/usersmine.lua" | |
} | |
} | |
}, | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment