Last active
July 31, 2019 07:33
-
-
Save happyj2me/487ba1c25a26626b185618de392557a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.获取会话id和hid | |
curl -X POST -H "Content-Type: application/json" -d '{"janus": "list_sessions", "transaction": "123", "admin_secret": "janusoverlord"}' http://localhost:7088/admin | |
curl -X POST -H "Content-Type: application/json" -d '{"janus": "list_sessions", "transaction": "123", "admin_secret": "janusoverlord"}' http://localhost:7088/admin | |
2.启动janus抓包和停止抓包,抓取rtp明文 | |
curl -X POST -H "Content-Type: application/json" -d '{"janus": "start_pcap", "folder": "/tmp", "filename": "my-test2pcap-dump.pcap", "transaction": "123", "admin_secret": "janusoverlord"}' http://localhost:7088/admin/sessionId/handleId | |
curl -X POST -H "Content-Type: application/json" -d '{"janus": "stop_pcap", "transaction": "123", "admin_secret": "janusoverlord"}' http://localhost:7088/admin/sessionId/handleId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment