aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/livestreamer/stream.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/livestreamer/stream.py b/src/livestreamer/stream.py
index 235b01b..21fc8ac 100644
--- a/src/livestreamer/stream.py
+++ b/src/livestreamer/stream.py
@@ -1,5 +1,6 @@
from livestreamer.utils import urlopen
+import os
import pbs
class StreamError(Exception):
@@ -21,6 +22,7 @@ class RTMPStream(Stream):
self.params["flv"] = "-"
self.params["_bg"] = True
+ self.params["_err"] = open(os.devnull, "w")
stream = rtmpdump(**self.params)