1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

dump logs

This commit is contained in:
winlin 2016-03-19 10:18:11 +08:00
parent 9ab5039b36
commit 0a2e00f8c5
4 changed files with 24 additions and 0 deletions

View file

@ -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;
}