Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- configuration=
- {
- daemon=false,
- pathSeparator="/",
- logAppenders=
- {
- {
- name="console appender",
- type="coloredConsole",
- level=6
- },
- {
- name="file appender",
- type="file",
- level=6,
- fileName="/var/log/crtmpserver/rtmpd-795",
- fileHistorySize=10,
- fileLength=1024*4096,
- singleLine=false
- }
- },
- applications=
- {
- rootDirectory="applications",
- {
- name="appselector",
- description="Application for selecting the rest of the applications",
- protocol="dynamiclinklibrary",
- validateHandshake=true,
- default=true,
- acceptors =
- {
- {
- ip="0.0.0.0",
- port=1935,
- protocol="inboundRtmp"
- },
- }
- },
- {
- description="FLV Playback Sample",
- name="flvplayback",
- protocol="dynamiclinklibrary",
- mediaFolder="/var/rtmpd795/media",
- clientSideBuffer=16,
- keyframeSeek=true,
- seekGranularity=1.5,
- renamebadFiles=true,
- aliases=
- {
- "maya", -- change it as you desire but do not forget to change it into connecting schema as well
- },
- acceptors =
- {
- },
- externalStreams =
- {
- },
- validateHandshake=true,
- enableCheckBandwidth=true,
- maxConnections=300,
- authentication=
- {
- rtmp={
- type="adobe",
- encoderAgents=
- {
- "FMLE/3.0 (compatible; FMSc/1.0)",
- "My user agent",
- },
- usersFile="/var/rtmpd795/users.lua"
- },
- },
- },
- --#INSERTION_MARKER# DO NOT REMOVE THIS. USED BY appscaffold SCRIPT.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment