Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configuration= {
- daemon=true,
- pathSeparator="/",
- logAppenders=
- {
- {
- name="console appender",
- type="coloredConsole",
- level=6
- },
- {
- name="file appender",
- type="file",
- level=6,
- fileName="/home/cooldude/logs/crtmpserver/crtmpserver",
- fileHistorySize=10,
- fileLength=1024*1024,
- singleLine=true
- }
- },
- applications=
- {
- rootDirectory="applications",
- {
- description="FLV Playback Sample",
- name="flvplayback",
- library="/home/cooldude/Programs/crtmpserver/lib/crtmpserver/applications/flvplayback/libflvplayback.so",
- protocol="dynamiclinklibrary",
- default=true,
- aliases=
- {
- "simpleLive",
- "vod",
- "live",
- "WeeklyQuest",
- "SOSample",
- "oflaDemo",
- },
- acceptors =
- {
- {
- ip="50.7.18.166",
- port=1935,
- protocol="inboundRtmp"
- },
- --[[{
- ip="50.7.18.166",
- port=8081,
- protocol="inboundRtmps",
- sslKey="server.key",
- sslCert="server.crt"
- },
- {
- ip="50.7.18.166",
- port=8080,
- protocol="inboundRtmpt"
- },]]--
- --[[{
- ip="50.7.18.166",
- port=6666,
- protocol="inboundLiveFlv",
- waitForMetadata=true,
- },]]--
- --[[{
- ip="50.7.18.166",
- port=9999,
- protocol="inboundTcpTs"
- },]]--
- --[[{
- ip="50.7.18.166",
- port=8081,
- protocol="inboundRtmps",
- sslKey="server.key",
- sslCert="server.crt"
- },
- {
- ip="50.7.18.166",
- port=8080,
- protocol="inboundRtmpt"
- },]]--
- {
- ip="50.7.18.166",
- port=6666,
- protocol="inboundLiveFlv",
- waitForMetadata=true,
- },
- {
- ip="50.7.18.166",
- port=9999,
- protocol="inboundTcpTs"
- },
- {
- ip="50.7.18.166",
- port=5554,
- protocol="inboundRtsp"
- },
- },
- externalStreams =
- {
- --[[{
- uri="rtmp://edge01.fms.dutchview.nl/botr/bunny",
- localStreamName="test1",
- }]]--
- },
- 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,
- mediaFolder="/home/cooldude/Programs/crtmpserver/media",
- authentication=
- {
- rtmp={
- type="adobe",
- encoderAgents=
- {
- "FMLE/3.0 (compatible; FMSc/1.0)",
- },
- usersFile="/home/cooldude/Programs/crtmpserver/conf/users.lua"
- },
- --[[rtsp={
- usersFile="/home/cooldude/Programs/crtmpserver/conf/users.lua"
- }]]--
- },
- },
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment