mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
dump logs
This commit is contained in:
parent
9ab5039b36
commit
0a2e00f8c5
4 changed files with 24 additions and 0 deletions
|
@ -561,6 +561,9 @@
|
|||
|
||||
$("#main_modal").on("hide", function(){
|
||||
if (srs_player) {
|
||||
// report the log to backend.
|
||||
console.log(srs_player.dump_log());
|
||||
|
||||
srs_player.stop();
|
||||
srs_player = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue