lib/evostream/event/commands/push_stream.rb in evostream-event-0.2.0.pre.22 vs lib/evostream/event/commands/push_stream.rb in evostream-event-0.2.1.pre.23
- old
+ new
@@ -8,9 +8,13 @@
class PushStream < Command
def initialize(commands = {})
super(commands)
end
+ def cmd
+ "pushStream?params=#{Base64.urlsafe_encode64(command.join)}"
+ end
+
private
attr_reader :command
# TheURI of the external stream. Can be RTMP, RTSP or unicast/multicast