mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	change ui version to 1.15, fix the publiser bug, support chrome/firefox/safari/ie browsers.
This commit is contained in:
		
							parent
							
								
									4b4f317e09
								
							
						
					
					
						commit
						531fa6fb76
					
				
					 8 changed files with 198 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -10,7 +10,7 @@ function srs_get_player_width() { return srs_get_player_modal() - 30; }
 | 
			
		|||
function srs_get_player_height() { return srs_get_player_width() * 9 / 19; }
 | 
			
		||||
 | 
			
		||||
// to query the swf anti cache.
 | 
			
		||||
function srs_get_version_code() { return "1.13"; }
 | 
			
		||||
function srs_get_version_code() { return "1.15"; }
 | 
			
		||||
// get the default vhost for players.
 | 
			
		||||
function srs_get_player_vhost() { return "players"; }
 | 
			
		||||
// the api server port, for chat room.
 | 
			
		||||
| 
						 | 
				
			
			@ -139,6 +139,21 @@ function srs_init_publish(rtmp_url) {
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// check whether can republish
 | 
			
		||||
function srs_can_republish() {
 | 
			
		||||
    var browser = get_browser_agents();
 | 
			
		||||
    
 | 
			
		||||
    if (browser.Chrome || browser.Firefox) {
 | 
			
		||||
        return true;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    if (browser.MSIE || browser.QQBrowser) {
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// without default values set.
 | 
			
		||||
function srs_initialize_codec_page(
 | 
			
		||||
    cameras, microphones,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue