Forgot to override the default port when specified in media.start_streaming
This commit is contained in:
parent
86dc7f240a
commit
affaee6ab7
1 changed files with 4 additions and 1 deletions
|
@ -367,10 +367,13 @@ class MediaPlugin(Plugin):
|
|||
'terminating it first')
|
||||
self.stop_streaming()
|
||||
|
||||
if port is None:
|
||||
port = self._streaming_port
|
||||
|
||||
self._streaming_started.clear()
|
||||
self._streaming_ended.clear()
|
||||
self._streaming_proc = subprocess.Popen(
|
||||
[self._local_stream_bin, media, str(self._streaming_port)],
|
||||
[self._local_stream_bin, media, str(port)],
|
||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue