rtsp_server 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/.gemtest +0 -0
  3. data/ChangeLog.rdoc +74 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE.rdoc +20 -0
  6. data/README.rdoc +152 -0
  7. data/Rakefile +23 -0
  8. data/bin/rtsp_client +133 -0
  9. data/features/client_changes_state.feature +58 -0
  10. data/features/client_requests.feature +27 -0
  11. data/features/control_streams_as_client.feature +26 -0
  12. data/features/step_definitions/client_changes_state_steps.rb +52 -0
  13. data/features/step_definitions/client_requests_steps.rb +68 -0
  14. data/features/step_definitions/control_streams_as_client_steps.rb +34 -0
  15. data/features/support/env.rb +50 -0
  16. data/features/support/hooks.rb +3 -0
  17. data/lib/ext/logger.rb +8 -0
  18. data/lib/rtsp/client.rb +520 -0
  19. data/lib/rtsp/common.rb +148 -0
  20. data/lib/rtsp/error.rb +6 -0
  21. data/lib/rtsp/global.rb +63 -0
  22. data/lib/rtsp/helpers.rb +28 -0
  23. data/lib/rtsp/message.rb +272 -0
  24. data/lib/rtsp/request.rb +39 -0
  25. data/lib/rtsp/response.rb +47 -0
  26. data/lib/rtsp/server.rb +303 -0
  27. data/lib/rtsp/socat_streaming.rb +309 -0
  28. data/lib/rtsp/stream_server.rb +37 -0
  29. data/lib/rtsp/transport_parser.rb +96 -0
  30. data/lib/rtsp/version.rb +4 -0
  31. data/lib/rtsp.rb +6 -0
  32. data/rtsp.gemspec +42 -0
  33. data/spec/rtsp/client_spec.rb +326 -0
  34. data/spec/rtsp/helpers_spec.rb +53 -0
  35. data/spec/rtsp/message_spec.rb +420 -0
  36. data/spec/rtsp/response_spec.rb +306 -0
  37. data/spec/rtsp/transport_parser_spec.rb +137 -0
  38. data/spec/rtsp_spec.rb +27 -0
  39. data/spec/spec_helper.rb +88 -0
  40. data/spec/support/fake_rtsp_server.rb +123 -0
  41. data/tasks/roodi.rake +9 -0
  42. data/tasks/roodi_config.yaml +14 -0
  43. data/tasks/stats.rake +12 -0
  44. metadata +280 -0
data/tasks/stats.rake ADDED
@@ -0,0 +1,12 @@
1
+ require 'code_statistics'
2
+
3
+ STATS_DIRECTORIES = [
4
+ %w(Library lib/),
5
+ %w(Behavior\ tests features/),
6
+ %w(Unit\ tests spec/)
7
+ ].collect { |name, dir| [ name, "#{dir}" ] }.select { |name, dir| File.directory?(dir) }
8
+
9
+ desc "Report code statistics (KLOCs, etc) from the application"
10
+ task :stats do
11
+ CodeStatistics::CodeStatistics.new(*STATS_DIRECTORIES).to_s
12
+ end
metadata ADDED
@@ -0,0 +1,280 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rtsp_server
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Steve Loveless, Mike Kirby
8
+ - Sujin Philip
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-12-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: parslet
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>='
19
+ - !ruby/object:Gem::Version
20
+ version: 1.1.0
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: 1.1.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: rtp
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '>='
33
+ - !ruby/object:Gem::Version
34
+ version: 0.0.1
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '>='
40
+ - !ruby/object:Gem::Version
41
+ version: 0.0.1
42
+ - !ruby/object:Gem::Dependency
43
+ name: sdp
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: 0.2.6
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: 0.2.6
56
+ - !ruby/object:Gem::Dependency
57
+ name: sys-proctable
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>'
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>'
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: bundler
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: code_statistics
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ version: 0.2.13
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ~>
96
+ - !ruby/object:Gem::Version
97
+ version: 0.2.13
98
+ - !ruby/object:Gem::Dependency
99
+ name: cucumber
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '>='
103
+ - !ruby/object:Gem::Version
104
+ version: 1.1.0
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: 1.1.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: roodi
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: 2.1.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '>='
124
+ - !ruby/object:Gem::Version
125
+ version: 2.1.0
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: 0.8.7
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '>='
138
+ - !ruby/object:Gem::Version
139
+ version: 0.8.7
140
+ - !ruby/object:Gem::Dependency
141
+ name: rspec
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - '>='
145
+ - !ruby/object:Gem::Version
146
+ version: 2.5.0
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - '>='
152
+ - !ruby/object:Gem::Version
153
+ version: 2.5.0
154
+ - !ruby/object:Gem::Dependency
155
+ name: simplecov
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - '>='
159
+ - !ruby/object:Gem::Version
160
+ version: 0.4.0
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - '>='
166
+ - !ruby/object:Gem::Version
167
+ version: 0.4.0
168
+ - !ruby/object:Gem::Dependency
169
+ name: yard
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - '>='
173
+ - !ruby/object:Gem::Version
174
+ version: 0.6.0
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - '>='
180
+ - !ruby/object:Gem::Version
181
+ version: 0.6.0
182
+ description: |-
183
+ This library intends to follow the RTSP RFC document (2326)
184
+ to allow for working with RTSP servers. At this point, it's up to you to parse
185
+ the data from a play call, but we'll get there. ...eventually.
186
+ For more information see: http://www.ietf.org/rfc/rfc2326.txt
187
+ email:
188
+ - steve.loveless@gmail.com
189
+ executables:
190
+ - rtsp_client
191
+ extensions: []
192
+ extra_rdoc_files:
193
+ - ChangeLog.rdoc
194
+ - LICENSE.rdoc
195
+ - README.rdoc
196
+ files:
197
+ - lib/rtsp.rb
198
+ - lib/ext/logger.rb
199
+ - lib/rtsp/error.rb
200
+ - lib/rtsp/socat_streaming.rb
201
+ - lib/rtsp/transport_parser.rb
202
+ - lib/rtsp/message.rb
203
+ - lib/rtsp/stream_server.rb
204
+ - lib/rtsp/helpers.rb
205
+ - lib/rtsp/global.rb
206
+ - lib/rtsp/server.rb
207
+ - lib/rtsp/client.rb
208
+ - lib/rtsp/common.rb
209
+ - lib/rtsp/request.rb
210
+ - lib/rtsp/version.rb
211
+ - lib/rtsp/response.rb
212
+ - bin/rtsp_client
213
+ - spec/rtsp_spec.rb
214
+ - spec/spec_helper.rb
215
+ - spec/support/fake_rtsp_server.rb
216
+ - spec/rtsp/message_spec.rb
217
+ - spec/rtsp/helpers_spec.rb
218
+ - spec/rtsp/response_spec.rb
219
+ - spec/rtsp/client_spec.rb
220
+ - spec/rtsp/transport_parser_spec.rb
221
+ - tasks/stats.rake
222
+ - tasks/roodi.rake
223
+ - tasks/roodi_config.yaml
224
+ - LICENSE.rdoc
225
+ - ChangeLog.rdoc
226
+ - README.rdoc
227
+ - .gemtest
228
+ - rtsp.gemspec
229
+ - Gemfile
230
+ - Rakefile
231
+ - features/client_requests.feature
232
+ - features/client_changes_state.feature
233
+ - features/step_definitions/client_changes_state_steps.rb
234
+ - features/step_definitions/control_streams_as_client_steps.rb
235
+ - features/step_definitions/client_requests_steps.rb
236
+ - features/support/env.rb
237
+ - features/support/hooks.rb
238
+ - features/control_streams_as_client.feature
239
+ homepage: https://github.com/turboladen/rtsp
240
+ licenses:
241
+ - MIT
242
+ metadata: {}
243
+ post_install_message:
244
+ rdoc_options: []
245
+ require_paths:
246
+ - lib
247
+ required_ruby_version: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - '>='
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ required_rubygems_version: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - '>='
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ requirements: []
258
+ rubyforge_project:
259
+ rubygems_version: 2.0.3
260
+ signing_key:
261
+ specification_version: 4
262
+ summary: Library to allow RTSP streaming from RTSP-enabled devices.
263
+ test_files:
264
+ - spec/rtsp_spec.rb
265
+ - spec/spec_helper.rb
266
+ - spec/support/fake_rtsp_server.rb
267
+ - spec/rtsp/message_spec.rb
268
+ - spec/rtsp/helpers_spec.rb
269
+ - spec/rtsp/response_spec.rb
270
+ - spec/rtsp/client_spec.rb
271
+ - spec/rtsp/transport_parser_spec.rb
272
+ - features/client_requests.feature
273
+ - features/client_changes_state.feature
274
+ - features/step_definitions/client_changes_state_steps.rb
275
+ - features/step_definitions/control_streams_as_client_steps.rb
276
+ - features/step_definitions/client_requests_steps.rb
277
+ - features/support/env.rb
278
+ - features/support/hooks.rb
279
+ - features/control_streams_as_client.feature
280
+ has_rdoc: