ruby_rabbitmq_janus 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rrj/info.rb +1 -1
- data/lib/rrj/init.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 694bb6d6f4373b3c753ac5d1ee1b6419b85d9834
|
|
4
|
+
data.tar.gz: 9bf631f452ed3473da2fe1327dca499f232bde3b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1794b626b64941e5bf2977c2c7bc1923af99f17204b8ca57737ec021eb41e557daba310146717a166e96ee586667596eab309fa20302ea6e636371d76c69ad0
|
|
7
|
+
data.tar.gz: 56cb33b022b9ccff9d78f7ef5fa2bffddfa640db804b5c91582a2edeeab5185a33f0f8a5a9dfcdab71e3d447f919921a33e7adffcb5c6f1eecb09777827f2452
|
data/lib/rrj/info.rb
CHANGED
data/lib/rrj/init.rb
CHANGED
|
@@ -15,7 +15,7 @@ module RubyRabbitmqJanus
|
|
|
15
15
|
# @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
|
|
16
16
|
# Initialize gem and create automatically an session with Janus
|
|
17
17
|
# @!attribute [r] session
|
|
18
|
-
# :reek:BooleanParameter and :reek:ControlParameter
|
|
18
|
+
# :reek:BooleanParameter and :reek:ControlParameter and :reek:DataClump
|
|
19
19
|
class RRJ
|
|
20
20
|
attr_reader :session, :event
|
|
21
21
|
|
|
@@ -43,9 +43,9 @@ module RubyRabbitmqJanus
|
|
|
43
43
|
# #=> {"janus":"server_info","name":"Janus WebRTC Gateway" ... }
|
|
44
44
|
# @return [RubyRabbitmqJanus::Janus::Responses::Standard]
|
|
45
45
|
# Give an object response to janus server
|
|
46
|
-
def message_simple(type = 'base::info', exclusive = false)
|
|
46
|
+
def message_simple(type = 'base::info', exclusive = false, options = {})
|
|
47
47
|
Janus::Transactions::Transaction.new(@session).connect(exclusive) do
|
|
48
|
-
Janus::Messages::Standard.new(type)
|
|
48
|
+
Janus::Messages::Standard.new(type, options)
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|