Skip to content

Instantly share code, notes, and snippets.

@garygan89
Created November 7, 2021 16:55
Show Gist options
  • Save garygan89/41456c8aa5d53105d2538f9c71244fc7 to your computer and use it in GitHub Desktop.
Save garygan89/41456c8aa5d53105d2538f9c71244fc7 to your computer and use it in GitHub Desktop.
{
"source": "publisher",
"sourceProtocol": "automatic",
"sourceAnyPortEnable": false,
"sourceFingerprint": "",
"sourceOnDemand": false,
"sourceOnDemandStartTimeout": "10s",
"sourceOnDemandCloseAfter": "10s",
"sourceRedirect": "",
"disablePublisherOverride": false,
"fallback": "",
"publishUser": "admin",
"publishPass": "admin",
"publishIPs": [],
"readUser": "admin",
"readPass": "admin",
"readIPs": [],
"runOnInit": "ffmpeg -re -stream_loop -1 -i /opt/data/hacker.mp4 -c copy -f rtsp rtsp://admin:admin@localhost:8554/mystream",
"runOnInitRestart": true,
"runOnDemand": "",
"runOnDemandRestart": false,
"runOnDemandStartTimeout": "10s",
"runOnDemandCloseAfter": "10s",
"runOnPublish": "",
"runOnPublishRestart": false,
"runOnRead": "",
"runOnReadRestart": false
},
"source": null,
"sourceReady": false,
"readers": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment