mirror of https://github.com/mpv-player/mpv
parent
3858d37b61
commit
77d50cb3cf
|
@ -253,7 +253,7 @@ mp.add_hook("on_load", 10, function ()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- for rtmp
|
-- for rtmp
|
||||||
if not (json.play_path == nil) then
|
if (json.protocol == "rtmp") then
|
||||||
local rtmp_prop = append_rtmp_prop(nil,
|
local rtmp_prop = append_rtmp_prop(nil,
|
||||||
"rtmp_tcurl", streamurl)
|
"rtmp_tcurl", streamurl)
|
||||||
rtmp_prop = append_rtmp_prop(rtmp_prop,
|
rtmp_prop = append_rtmp_prop(rtmp_prop,
|
||||||
|
|
Loading…
Reference in New Issue