lib/opentok/session.rb in opentok-2.2.1 vs lib/opentok/session.rb in opentok-2.2.2
- old
+ new
@@ -63,10 +63,10 @@
end
# @private
def initialize(api_key, api_secret, session_id, opts={})
@api_key, @api_secret, @session_id = api_key, api_secret, session_id
- @media_mode, @location = opts.fetch(:media_mode, :routed), opts[:location]
+ @media_mode, @location = opts.fetch(:media_mode, :relayed), opts[:location]
end
# @private
def to_s
@session_id