1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
application=
{
description="FLV Playback Sample",
name="flvplayback",
protocol="dynamiclinklibrary",
mediaFolder="/var/lib/crtmpserver/mediaFolder",
aliases=
{
"simpleLive",
"vod",
"live",
"WeeklyQuest",
"SOSample",
"oflaDemo",
},
acceptors =
{
{
ip="0.0.0.0",
port=6666,
protocol="inboundLiveFlv",
waitForMetadata=true,
},
{
ip="0.0.0.0",
port=9999,
protocol="inboundTcpTs"
},
--[[{
ip="0.0.0.0",
port=7654,
protocol="inboundRawHttpStream",
crossDomainFile="/tmp/crossdomain.xml"
},
{
ip="0.0.0.0",
port=554,
protocol="inboundRtsp"
},]]--
},
externalStreams =
{
--[[
{
uri="rtsp://fms20.mediadirect.ro/live2/realitatea/realitatea",
localStreamName="rtsp_test",
forceTcp=true
},
{
uri="rtmp://edge01.fms.dutchview.nl/botr/bunny",
localStreamName="rtmp_test",
swfUrl="http://www.example.com/example.swf";
pageUrl="http://www.example.com/";
emulateUserAgent="MAC 10,1,82,76",
}]]--
},
validateHandshake=true,
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,
--enableCheckBandwidth=true,
--[[authentication=
{
rtmp={
type="adobe",
encoderAgents=
{
"FMLE/3.0 (compatible; FMSc/1.0)",
"My user agent",
},
usersFile="/etc/crtmpserver/conf.d/users.lua"
},
rtsp={
usersFile="/etc/crtmpserver/conf.d/users.lua"
}
}, --]]
}
|