raydash 0.1.0 → 0.1.1
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.
- data/Readme +8 -3
- data/lib/generators/templates/RecordBox.swf +0 -0
- data/lib/raydash/version.rb +1 -1
- data/lib/raydash.rb +1 -1
- metadata +4 -4
data/Readme
CHANGED
@@ -60,18 +60,20 @@ able to load the page, and enable your camera. The streaming
|
|
60
60
|
capabilities will also be enabled but the stream isn't connect to
|
61
61
|
anything.
|
62
62
|
|
63
|
-
8) You can connect arbitrary tokens. This
|
63
|
+
8) You can connect arbitrary tokens. This all handled on the
|
64
64
|
server-end, and it can be done in real-time. So, create a new
|
65
65
|
controller function such as:
|
66
66
|
|
67
67
|
def connect_to()
|
68
68
|
video=Model.find(params[:id1])
|
69
|
-
|
69
|
+
otherVideo=Video.find(params[:id2])
|
70
|
+
video.point_to(otherVideo.token)
|
70
71
|
end
|
71
72
|
|
72
73
|
with route
|
73
74
|
'/videos/route/:id1/:id2' => 'YOUR_CONTROLLER#connect_to'
|
74
75
|
|
76
|
+
When connect_to is called, it will point on stream at another stream
|
75
77
|
|
76
78
|
== Backend-API library
|
77
79
|
|
@@ -93,4 +95,7 @@ a video stream initialized with this token, if will immediately start
|
|
93
95
|
displaying content from the input_token.
|
94
96
|
|
95
97
|
input_token refers to a videorecord that has been initialized with its stream
|
96
|
-
|
98
|
+
|
99
|
+
=== Raydash.getStreamInfo(token)
|
100
|
+
Returns a hash-array with information about the token.
|
101
|
+
|
Binary file
|
data/lib/raydash/version.rb
CHANGED
data/lib/raydash.rb
CHANGED
@@ -28,7 +28,7 @@ module Raydash
|
|
28
28
|
end
|
29
29
|
# Gets information about the stream
|
30
30
|
def self.getStreamInfo(token)
|
31
|
-
path="/api/1/streamInfo/" + token + "?userid=" + self.userid + "&secret=" + self.secret
|
31
|
+
path="/api/1/streamInfo/" + token + "?userid=" + self.userid + "&secret=" + self.secret
|
32
32
|
result = doRequest(path)
|
33
33
|
result.value()
|
34
34
|
return JSON.parse(result.body)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raydash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gershon Bialer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-18 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|