lib/evostream/event/commands/push_stream.rb in evostream-event-1.0.0.pre.59 vs lib/evostream/event/commands/push_stream.rb in evostream-event-1.0.0.pre.65
- old
+ new
@@ -4,9 +4,11 @@
module Commands
# This will try to push a local stream to an external destination. The
# pushed stream can only use the RTMP, RTSP or MPEG-TS unicast/multicast
# protocol.
class PushStream < Command
+ MANDATORY = %w[uri].freeze
+
def initialize(commands = {})
super(commands)
end
def cmd