mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the hls m3u8 refresh interval.
This commit is contained in:
parent
5fa500646e
commit
499fc07db1
3 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// to query the swf anti cache.
|
||||
function srs_get_version_code() { return "1.30"; }
|
||||
function srs_get_version_code() { return "1.31"; }
|
||||
|
||||
/**
|
||||
* player specified size.
|
||||
|
|
Binary file not shown.
|
@ -31,7 +31,7 @@ package
|
|||
public class Player
|
||||
{
|
||||
// refresh every ts_fragment_seconds*M3u8RefreshRatio
|
||||
public static var M3u8RefreshRatio:Number = 0.45;
|
||||
public static var M3u8RefreshRatio:Number = 0.3;
|
||||
|
||||
// parse ts every this ms.
|
||||
public static var TsParseAsyncInterval:Number = 80;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue