mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine main object(server, config, log, context), handler reload in intialize(), change to 0.9.59
This commit is contained in:
parent
7c64a893f5
commit
b38df9cd1a
8 changed files with 90 additions and 63 deletions
|
@ -350,7 +350,7 @@ class RESTServers(object):
|
|||
if rtmp_url is None:
|
||||
return "meeting stream not found"
|
||||
urls = rtmp_url.replace("...vhost...", "?vhost=").replace("rtmp://", "").split("/")
|
||||
hls_url = "http://%s:8080/%s/%s.m3u8"%(urls[0].replace(":1935",""), urls[1].split("?")[0], urls[2])
|
||||
hls_url = "http://%s:8080/%s/%s.m3u8"%(urls[0].strip(":19350").strip(":1935"), urls[1].split("?")[0], urls[2])
|
||||
return """
|
||||
<video width="640" height="360"
|
||||
autoplay controls autobuffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue