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

@ -163,6 +163,12 @@ SrsPlayer.prototype.fluency = function() {
SrsPlayer.prototype.empty_count = function() {
return this.__fluency.total_empty_count;
}
/**
* get all log data.
*/
SrsPlayer.prototype.dump_log = function() {
return this.callbackObj.ref.__dump_log();
}
/**
* to set the DAR, for example, DAR=16:9 where num=16,den=9.
* @param num, for example, 16.