Class: Evostream::Commands::PushStream
- Defined in:
- lib/evostream/event/commands/push_stream.rb
Overview
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.
Constant Summary collapse
- MANDATORY =
%w[uri].freeze
Instance Method Summary collapse
- #cmd ⇒ Object
-
#initialize(commands = {}) ⇒ PushStream
constructor
A new instance of PushStream.
Methods inherited from Command
Constructor Details
#initialize(commands = {}) ⇒ PushStream
Returns a new instance of PushStream.
11 12 13 |
# File 'lib/evostream/event/commands/push_stream.rb', line 11 def initialize(commands = {}) super(commands) end |
Instance Method Details
#cmd ⇒ Object
15 16 17 18 |
# File 'lib/evostream/event/commands/push_stream.rb', line 15 def cmd super "pushStream?params=#{encode64}" end |