Commit 5348df88 authored by liyuanhong's avatar liyuanhong

做了一些优化2

parent b88fdf62
......@@ -426,8 +426,10 @@ class CameraArea():
url = res["data"]["url"]
if self.getOsName() == "Windows":
m_command = ["ffplay.exe", url]
CREATE_NO_WINDOW = 0x08000000
subprocess.run(m_command, creationflags=CREATE_NO_WINDOW)
else:
m_command = ["ffplay", url]
CREATE_NO_WINDOW = 0x08000000
subprocess.run(m_command,creationflags=CREATE_NO_WINDOW)
subprocess.run(m_command)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment