mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 20:01:56 +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);
|
|
}
|