2
0

srs.utility.js 234 B

12345678
  1. /**
  2. * parse the rtmp url,
  3. * for example: rtmp://demo.srs.com:1935/live...vhost...players/livestream
  4. * @return object {server, port, vhost, app, stream}
  5. */
  6. function srs_parse_rtmp_url(rtmp_url) {
  7. return parse_rtmp_url(rtmp_url);
  8. }