Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- description="FLV Playback Sample",
- name="flvplayback",
- protocol="dynamiclinklibrary",
- aliases=
- {
- "live",
- }
- ,acceptors =
- {
- {
- ip="0.0.0.0",
- port=1935,
- protocol="inboundRtmfp"
- },
- {
- 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=5544,
- protocol="inboundRtsp"
- },
- },
- externalStreams =
- {
- uri="rtsp://192.168.1.50:554/live.sdp",
- localStreamName="ip_cam",
- forceTcp=true
- },
- 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="users.lua"
- -- },
- -- rtsp={
- -- usersFile="users.lua"
- -- }
- --},
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement