Skip to content

Instantly share code, notes, and snippets.

@garygan89
Last active November 9, 2021 12:37
Show Gist options
  • Save garygan89/c3cbd5fe2a130f11f00c30ffff4efb68 to your computer and use it in GitHub Desktop.
Save garygan89/c3cbd5fe2a130f11f00c30ffff4efb68 to your computer and use it in GitHub Desktop.

Revisions

  1. garygan89 revised this gist Nov 9, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rtsp-hacker2legit.json
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@
    "readUser": "admin",
    "readPass": "admin",
    "readIPs": [],
    "runOnInit": "ffmpeg -re -stream_loop -1 -i /opt/data/traffic.mp4 -c copy -f rtsp rtsp://admin:admin@localhost:8554/mystream",
    "runOnInit": "ffmpeg -rtsp_transport tcp -i rtsp://admin:[email protected]:8554/mystream -f rtsp -rtsp_transport tcp -c copy -muxdelay 0.1 -max_muxing_queue_size 1024 rtsp://admin:admin@localhost:8554/mystream",
    "runOnInitRestart": true,
    "runOnDemand": "",
    "runOnDemandRestart": false,
  2. garygan89 renamed this gist Nov 7, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. garygan89 created this gist Nov 7, 2021.
    28 changes: 28 additions & 0 deletions rtsp-legit2hacker.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    {
    "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/traffic.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
    }