mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			234 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			234 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable file
		
	
	
	
	
| /**
 | |
| * parse the rtmp url,
 | |
| * for example: rtmp://demo.srs.com:1935/live...vhost...players/livestream
 | |
| * @return object {server, port, vhost, app, stream}
 | |
| */
 | |
| function srs_parse_rtmp_url(rtmp_url) {
 | |
|     return parse_rtmp_url(rtmp_url);
 | |
| }
 |