fastpixapi 1.1.3 → 1.2.0
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/crystalline/metadata_fields.rb +2 -0
- data/lib/crystalline/module.rb +12 -13
- data/lib/fastpix_client/dimensions.rb +3 -3
- data/lib/fastpix_client/errors.rb +1 -1
- data/lib/fastpix_client/in_video_ai_features.rb +8 -8
- data/lib/fastpix_client/input_video.rb +4 -3
- data/lib/fastpix_client/live_playback.rb +253 -0
- data/lib/fastpix_client/manage_live_stream.rb +13 -12
- data/lib/fastpix_client/manage_videos.rb +21 -23
- data/lib/fastpix_client/metrics.rb +3 -3
- data/lib/fastpix_client/models/components/addtrackrequest.rb +6 -2
- data/lib/fastpix_client/models/components/addtrackrequest.rbi +2 -0
- data/lib/fastpix_client/models/components/addtrackresponse.rb +6 -2
- data/lib/fastpix_client/models/components/addtrackresponse.rbi +2 -0
- data/lib/fastpix_client/models/components/audiotrack.rb +6 -2
- data/lib/fastpix_client/models/components/audiotrack.rbi +2 -0
- data/lib/fastpix_client/models/components/generatetrackresponse.rb +6 -2
- data/lib/fastpix_client/models/components/generatetrackresponse.rbi +2 -0
- data/lib/fastpix_client/models/components/getallmediaresponse.rb +11 -13
- data/lib/fastpix_client/models/components/getallmediaresponse.rbi +3 -1
- data/lib/fastpix_client/models/components/getallmediaresponse_mp4support.rb +32 -12
- data/lib/fastpix_client/models/components/getallmediaresponse_mp4support.rbi +11 -1
- data/lib/fastpix_client/models/components/getallmediaresponse_sourceresolution.rb +2 -0
- data/lib/fastpix_client/models/components/{getmediaresponse.rb → getmediadetailresponse.rb} +16 -18
- data/lib/fastpix_client/models/components/{getmediaresponse.rbi → getmediadetailresponse.rbi} +5 -3
- data/lib/fastpix_client/models/components/{getmediaresponse_maxresolution.rb → getmediadetailresponse_maxresolution.rb} +2 -2
- data/lib/fastpix_client/models/components/getmediadetailresponse_maxresolution.rbi +11 -0
- data/lib/fastpix_client/models/components/{getmediaresponse_mediaquality.rb → getmediadetailresponse_mediaquality.rb} +2 -2
- data/lib/fastpix_client/models/components/getmediadetailresponse_mediaquality.rbi +11 -0
- data/lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rb +48 -0
- data/lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rbi +21 -0
- data/lib/fastpix_client/models/components/{getmediaresponse_sourceresolution.rb → getmediadetailresponse_sourceresolution.rb} +4 -2
- data/lib/fastpix_client/models/components/getmediadetailresponse_sourceresolution.rbi +11 -0
- data/lib/fastpix_client/models/components/{getmediaresponse_status.rb → getmediadetailresponse_status.rb} +2 -2
- data/lib/fastpix_client/models/components/getmediadetailresponse_status.rbi +11 -0
- data/lib/fastpix_client/models/components/{getmediaresponse_track.rb → getmediadetailresponse_track.rb} +1 -1
- data/lib/fastpix_client/models/components/getmediadetailresponse_track.rbi +11 -0
- data/lib/fastpix_client/models/components/inputmediasettings.rb +7 -2
- data/lib/fastpix_client/models/components/inputmediasettings.rbi +2 -0
- data/lib/fastpix_client/models/components/live_media_clips.rb +11 -13
- data/lib/fastpix_client/models/components/live_media_clips.rbi +3 -1
- data/lib/fastpix_client/models/components/live_media_clips_mp4support.rb +32 -12
- data/lib/fastpix_client/models/components/live_media_clips_mp4support.rbi +11 -1
- data/lib/fastpix_client/models/components/live_media_clips_sourceresolution.rb +2 -0
- data/lib/fastpix_client/models/components/media.rb +11 -13
- data/lib/fastpix_client/models/components/media.rbi +3 -1
- data/lib/fastpix_client/models/components/media_mp4support.rb +32 -12
- data/lib/fastpix_client/models/components/media_mp4support.rbi +11 -1
- data/lib/fastpix_client/models/components/media_sourceresolution.rb +2 -0
- data/lib/fastpix_client/models/components/mediaclipresponse_data.rb +2 -2
- data/lib/fastpix_client/models/components/mediaclipresponse_data.rbi +1 -1
- data/lib/fastpix_client/models/components/playbackidrequest.rb +6 -2
- data/lib/fastpix_client/models/components/playbackidrequest.rbi +3 -1
- data/lib/fastpix_client/models/components/playbackidresponse.rb +6 -2
- data/lib/fastpix_client/models/components/playbackidresponse.rbi +3 -1
- data/lib/fastpix_client/models/components/playbackidsuccessresponse_data.rb +6 -2
- data/lib/fastpix_client/models/components/playbackidsuccessresponse_data.rbi +3 -1
- data/lib/fastpix_client/models/components/playbacksettings.rb +6 -2
- data/lib/fastpix_client/models/components/playbacksettings.rbi +3 -1
- data/lib/fastpix_client/models/components/playlistbyidresponsemedialistitem.rb +2 -2
- data/lib/fastpix_client/models/components/playlistbyidresponsemedialistitem.rbi +1 -1
- data/lib/fastpix_client/models/components/sourceaccessmedia.rb +11 -13
- data/lib/fastpix_client/models/components/sourceaccessmedia.rbi +3 -1
- data/lib/fastpix_client/models/components/sourceaccessmedia_mp4support.rb +32 -12
- data/lib/fastpix_client/models/components/sourceaccessmedia_mp4support.rbi +11 -1
- data/lib/fastpix_client/models/components/sourceaccessmedia_sourceresolution.rb +2 -0
- data/lib/fastpix_client/models/components/subtitletrack.rb +6 -2
- data/lib/fastpix_client/models/components/subtitletrack.rbi +2 -0
- data/lib/fastpix_client/models/components/tracksubtitlesgeneraterequest.rb +6 -2
- data/lib/fastpix_client/models/components/tracksubtitlesgeneraterequest.rbi +2 -0
- data/lib/fastpix_client/models/components/update_media.rb +11 -13
- data/lib/fastpix_client/models/components/update_media.rbi +3 -1
- data/lib/fastpix_client/models/components/update_media_maxresolution.rb +0 -1
- data/lib/fastpix_client/models/components/update_media_mp4support.rb +32 -12
- data/lib/fastpix_client/models/components/update_media_mp4support.rbi +11 -1
- data/lib/fastpix_client/models/components/updatetrackrequest.rb +7 -7
- data/lib/fastpix_client/models/components/updatetrackrequest.rbi +2 -2
- data/lib/fastpix_client/models/components/updatetrackresponse.rb +6 -2
- data/lib/fastpix_client/models/components/updatetrackresponse.rbi +2 -0
- data/lib/fastpix_client/models/components/videotrack.rb +6 -2
- data/lib/fastpix_client/models/components/videotrack.rbi +2 -0
- data/lib/fastpix_client/models/components/videotrackforgetall.rb +6 -2
- data/lib/fastpix_client/models/components/videotrackforgetall.rbi +2 -0
- data/lib/fastpix_client/models/components.rb +7 -7
- data/lib/fastpix_client/models/operations/get_media_response.rb +1 -1
- data/lib/fastpix_client/models/operations/get_media_responsebody.rb +2 -2
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_data.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_data.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_defaultpolicy.rb +21 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_defaultpolicy.rbi +11 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_request.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_request.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_requestbody.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_requestbody.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_response.rb +48 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_response.rbi +21 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_responsebody.rb +36 -0
- data/lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_responsebody.rbi +15 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_data.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_data.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_defaultpolicy.rb +21 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_defaultpolicy.rbi +11 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_request.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_request.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_requestbody.rb +40 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_requestbody.rbi +17 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_response.rb +48 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_response.rbi +21 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_responsebody.rb +36 -0
- data/lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_responsebody.rbi +15 -0
- data/lib/fastpix_client/models/operations.rb +12 -0
- data/lib/fastpix_client/playlist.rb +2 -1
- data/lib/fastpix_client/sdkconfiguration.rb +3 -3
- data/lib/fastpix_client/simulcast_stream.rb +3 -3
- data/lib/fastpix_client/start_live_stream.rb +4 -4
- data/lib/fastpix_client/views.rb +3 -3
- metadata +58 -56
- data/lib/fastpix_client/models/components/getmediaresponse_maxresolution.rbi +0 -11
- data/lib/fastpix_client/models/components/getmediaresponse_mediaquality.rbi +0 -11
- data/lib/fastpix_client/models/components/getmediaresponse_mp4support.rb +0 -28
- data/lib/fastpix_client/models/components/getmediaresponse_mp4support.rbi +0 -11
- data/lib/fastpix_client/models/components/getmediaresponse_sourceresolution.rbi +0 -11
- data/lib/fastpix_client/models/components/getmediaresponse_status.rbi +0 -11
- data/lib/fastpix_client/models/components/getmediaresponse_track.rbi +0 -11
- data/test/sdk_examples_test.rb +0 -20
- data/test/test_helper.rb +0 -29
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastpixapi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- FastPix
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -115,53 +115,33 @@ dependencies:
|
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
116
|
version: '2.3'
|
|
117
117
|
- !ruby/object:Gem::Dependency
|
|
118
|
-
name:
|
|
118
|
+
name: rake
|
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
|
121
121
|
- - "~>"
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: '
|
|
124
|
-
- - ">="
|
|
125
|
-
- !ruby/object:Gem::Version
|
|
126
|
-
version: 5.27.0
|
|
123
|
+
version: '13.0'
|
|
127
124
|
type: :development
|
|
128
125
|
prerelease: false
|
|
129
126
|
version_requirements: !ruby/object:Gem::Requirement
|
|
130
127
|
requirements:
|
|
131
128
|
- - "~>"
|
|
132
129
|
- !ruby/object:Gem::Version
|
|
133
|
-
version: '
|
|
134
|
-
- - ">="
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
version: 5.27.0
|
|
130
|
+
version: '13.0'
|
|
137
131
|
- !ruby/object:Gem::Dependency
|
|
138
|
-
name:
|
|
132
|
+
name: rspec
|
|
139
133
|
requirement: !ruby/object:Gem::Requirement
|
|
140
134
|
requirements:
|
|
141
135
|
- - "~>"
|
|
142
136
|
- !ruby/object:Gem::Version
|
|
143
|
-
version:
|
|
137
|
+
version: '3.13'
|
|
144
138
|
type: :development
|
|
145
139
|
prerelease: false
|
|
146
140
|
version_requirements: !ruby/object:Gem::Requirement
|
|
147
141
|
requirements:
|
|
148
142
|
- - "~>"
|
|
149
143
|
- !ruby/object:Gem::Version
|
|
150
|
-
version:
|
|
151
|
-
- !ruby/object:Gem::Dependency
|
|
152
|
-
name: rake
|
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
|
154
|
-
requirements:
|
|
155
|
-
- - "~>"
|
|
156
|
-
- !ruby/object:Gem::Version
|
|
157
|
-
version: '13.0'
|
|
158
|
-
type: :development
|
|
159
|
-
prerelease: false
|
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
161
|
-
requirements:
|
|
162
|
-
- - "~>"
|
|
163
|
-
- !ruby/object:Gem::Version
|
|
164
|
-
version: '13.0'
|
|
144
|
+
version: '3.13'
|
|
165
145
|
- !ruby/object:Gem::Dependency
|
|
166
146
|
name: rubocop
|
|
167
147
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -177,61 +157,61 @@ dependencies:
|
|
|
177
157
|
- !ruby/object:Gem::Version
|
|
178
158
|
version: 1.73.2
|
|
179
159
|
- !ruby/object:Gem::Dependency
|
|
180
|
-
name:
|
|
160
|
+
name: sorbet
|
|
181
161
|
requirement: !ruby/object:Gem::Requirement
|
|
182
162
|
requirements:
|
|
183
163
|
- - "~>"
|
|
184
164
|
- !ruby/object:Gem::Version
|
|
185
|
-
version: 0.
|
|
165
|
+
version: 0.6.12872
|
|
186
166
|
type: :development
|
|
187
167
|
prerelease: false
|
|
188
168
|
version_requirements: !ruby/object:Gem::Requirement
|
|
189
169
|
requirements:
|
|
190
170
|
- - "~>"
|
|
191
171
|
- !ruby/object:Gem::Version
|
|
192
|
-
version: 0.
|
|
172
|
+
version: 0.6.12872
|
|
193
173
|
- !ruby/object:Gem::Dependency
|
|
194
|
-
name:
|
|
174
|
+
name: tapioca
|
|
195
175
|
requirement: !ruby/object:Gem::Requirement
|
|
196
176
|
requirements:
|
|
197
177
|
- - "~>"
|
|
198
178
|
- !ruby/object:Gem::Version
|
|
199
|
-
version: 0.
|
|
179
|
+
version: 0.17.10
|
|
200
180
|
type: :development
|
|
201
181
|
prerelease: false
|
|
202
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
203
183
|
requirements:
|
|
204
184
|
- - "~>"
|
|
205
185
|
- !ruby/object:Gem::Version
|
|
206
|
-
version: 0.
|
|
186
|
+
version: 0.17.10
|
|
207
187
|
- !ruby/object:Gem::Dependency
|
|
208
|
-
name:
|
|
188
|
+
name: tsort
|
|
209
189
|
requirement: !ruby/object:Gem::Requirement
|
|
210
190
|
requirements:
|
|
211
191
|
- - "~>"
|
|
212
192
|
- !ruby/object:Gem::Version
|
|
213
|
-
version: 0.
|
|
193
|
+
version: 0.2.0
|
|
214
194
|
type: :development
|
|
215
195
|
prerelease: false
|
|
216
196
|
version_requirements: !ruby/object:Gem::Requirement
|
|
217
197
|
requirements:
|
|
218
198
|
- - "~>"
|
|
219
199
|
- !ruby/object:Gem::Version
|
|
220
|
-
version: 0.
|
|
200
|
+
version: 0.2.0
|
|
221
201
|
- !ruby/object:Gem::Dependency
|
|
222
|
-
name:
|
|
202
|
+
name: webmock
|
|
223
203
|
requirement: !ruby/object:Gem::Requirement
|
|
224
204
|
requirements:
|
|
225
205
|
- - "~>"
|
|
226
206
|
- !ruby/object:Gem::Version
|
|
227
|
-
version:
|
|
207
|
+
version: '3.24'
|
|
228
208
|
type: :development
|
|
229
209
|
prerelease: false
|
|
230
210
|
version_requirements: !ruby/object:Gem::Requirement
|
|
231
211
|
requirements:
|
|
232
212
|
- - "~>"
|
|
233
213
|
- !ruby/object:Gem::Version
|
|
234
|
-
version:
|
|
214
|
+
version: '3.24'
|
|
235
215
|
description: A robust, type-safe Ruby SDK for seamless integration with the FastPix
|
|
236
216
|
API platform for media uploads, live streaming, playlists, analytics, and signing
|
|
237
217
|
keys.
|
|
@@ -411,20 +391,20 @@ files:
|
|
|
411
391
|
- lib/fastpix_client/models/components/getallsigningkeysresponsedto.rbi
|
|
412
392
|
- lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rb
|
|
413
393
|
- lib/fastpix_client/models/components/getcreatelivestreamresponsedto.rbi
|
|
414
|
-
- lib/fastpix_client/models/components/
|
|
415
|
-
- lib/fastpix_client/models/components/
|
|
416
|
-
- lib/fastpix_client/models/components/
|
|
417
|
-
- lib/fastpix_client/models/components/
|
|
418
|
-
- lib/fastpix_client/models/components/
|
|
419
|
-
- lib/fastpix_client/models/components/
|
|
420
|
-
- lib/fastpix_client/models/components/
|
|
421
|
-
- lib/fastpix_client/models/components/
|
|
422
|
-
- lib/fastpix_client/models/components/
|
|
423
|
-
- lib/fastpix_client/models/components/
|
|
424
|
-
- lib/fastpix_client/models/components/
|
|
425
|
-
- lib/fastpix_client/models/components/
|
|
426
|
-
- lib/fastpix_client/models/components/
|
|
427
|
-
- lib/fastpix_client/models/components/
|
|
394
|
+
- lib/fastpix_client/models/components/getmediadetailresponse.rb
|
|
395
|
+
- lib/fastpix_client/models/components/getmediadetailresponse.rbi
|
|
396
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_maxresolution.rb
|
|
397
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_maxresolution.rbi
|
|
398
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_mediaquality.rb
|
|
399
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_mediaquality.rbi
|
|
400
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rb
|
|
401
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_mp4support.rbi
|
|
402
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_sourceresolution.rb
|
|
403
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_sourceresolution.rbi
|
|
404
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_status.rb
|
|
405
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_status.rbi
|
|
406
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_track.rb
|
|
407
|
+
- lib/fastpix_client/models/components/getmediadetailresponse_track.rbi
|
|
428
408
|
- lib/fastpix_client/models/components/getpublicpemusingsigningkeyidresponsedto.rb
|
|
429
409
|
- lib/fastpix_client/models/components/getpublicpemusingsigningkeyidresponsedto.rbi
|
|
430
410
|
- lib/fastpix_client/models/components/getpublicpemusingsigningkeyidresponsedto_data.rb
|
|
@@ -1118,10 +1098,34 @@ files:
|
|
|
1118
1098
|
- lib/fastpix_client/models/operations/update_domain_restrictions_response.rbi
|
|
1119
1099
|
- lib/fastpix_client/models/operations/update_domain_restrictions_responsebody.rb
|
|
1120
1100
|
- lib/fastpix_client/models/operations/update_domain_restrictions_responsebody.rbi
|
|
1101
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_data.rb
|
|
1102
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_data.rbi
|
|
1103
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_defaultpolicy.rb
|
|
1104
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_defaultpolicy.rbi
|
|
1105
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_request.rb
|
|
1106
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_request.rbi
|
|
1107
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_requestbody.rb
|
|
1108
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_requestbody.rbi
|
|
1109
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_response.rb
|
|
1110
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_response.rbi
|
|
1111
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_responsebody.rb
|
|
1112
|
+
- lib/fastpix_client/models/operations/update_live_stream_domain_restrictions_responsebody.rbi
|
|
1121
1113
|
- lib/fastpix_client/models/operations/update_live_stream_request.rb
|
|
1122
1114
|
- lib/fastpix_client/models/operations/update_live_stream_request.rbi
|
|
1123
1115
|
- lib/fastpix_client/models/operations/update_live_stream_response.rb
|
|
1124
1116
|
- lib/fastpix_client/models/operations/update_live_stream_response.rbi
|
|
1117
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_data.rb
|
|
1118
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_data.rbi
|
|
1119
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_defaultpolicy.rb
|
|
1120
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_defaultpolicy.rbi
|
|
1121
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_request.rb
|
|
1122
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_request.rbi
|
|
1123
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_requestbody.rb
|
|
1124
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_requestbody.rbi
|
|
1125
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_response.rb
|
|
1126
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_response.rbi
|
|
1127
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_responsebody.rb
|
|
1128
|
+
- lib/fastpix_client/models/operations/update_live_stream_user_agent_restrictions_responsebody.rbi
|
|
1125
1129
|
- lib/fastpix_client/models/operations/update_media_chapters_request.rb
|
|
1126
1130
|
- lib/fastpix_client/models/operations/update_media_chapters_request.rbi
|
|
1127
1131
|
- lib/fastpix_client/models/operations/update_media_chapters_requestbody.rb
|
|
@@ -1225,8 +1229,6 @@ files:
|
|
|
1225
1229
|
- lib/fastpix_client/views.rb
|
|
1226
1230
|
- lib/fastpixapi.rb
|
|
1227
1231
|
- lib/openssl_patch.rb
|
|
1228
|
-
- test/sdk_examples_test.rb
|
|
1229
|
-
- test/test_helper.rb
|
|
1230
1232
|
homepage: https://fastpix.com/docs
|
|
1231
1233
|
licenses:
|
|
1232
1234
|
- Apache-2.0
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class FastpixClient::Models::Components::GetMediaResponseMaxResolution
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class FastpixClient::Models::Components::GetMediaResponseMaxResolution
|
|
11
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class FastpixClient::Models::Components::GetMediaResponseMediaQuality
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class FastpixClient::Models::Components::GetMediaResponseMediaQuality
|
|
11
|
-
end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Generated code for FastPix API SDK.
|
|
2
|
-
|
|
3
|
-
# typed: true
|
|
4
|
-
# frozen_string_literal: true
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
module FastpixClient
|
|
8
|
-
module Models
|
|
9
|
-
module Components
|
|
10
|
-
# GetMediaResponseMp4Support - Determines the type of MP4 support for the media.
|
|
11
|
-
# - **none**: Disables MP4 support.
|
|
12
|
-
# - **capped_4k**: Enables MP4 downloads with resolutions up to 4K.
|
|
13
|
-
# - **audioOnly**: Provides an MP4 stream containing only the audio.
|
|
14
|
-
# - **audioOnly,capped_4k**: Enables both MP4 video downloads (up to 4K) and an audio-only stream.
|
|
15
|
-
#
|
|
16
|
-
class GetMediaResponseMp4Support < T::Enum
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
enums do
|
|
20
|
-
NONE = new('none')
|
|
21
|
-
CAPPED_4K = new('capped_4k')
|
|
22
|
-
AUDIO_ONLY = new('audioOnly')
|
|
23
|
-
AUDIO_ONLY_CAPPED_4K = new('audioOnly,capped_4k')
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class FastpixClient::Models::Components::GetMediaResponseMp4Support
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class FastpixClient::Models::Components::GetMediaResponseMp4Support
|
|
11
|
-
end
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# typed: true
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class FastpixClient::Models::Components::GetMediaResponseSourceResolution
|
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class FastpixClient::Models::Components::GetMediaResponseSourceResolution
|
|
11
|
-
end
|
data/test/sdk_examples_test.rb
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
require 'json'
|
|
2
|
-
require 'fastpixapi'
|
|
3
|
-
|
|
4
|
-
Models = ::FastpixClient::Models
|
|
5
|
-
s = ::FastpixClient::Fastpixapi.new(
|
|
6
|
-
security: Models::Components::Security.new(
|
|
7
|
-
username: 'your-access-token',
|
|
8
|
-
password: 'your-secret-key'
|
|
9
|
-
),
|
|
10
|
-
)
|
|
11
|
-
|
|
12
|
-
res = s.manage_videos.list_media(limit: 20, offset: 1, order_by: Models::Components::SortOrder::DESC)
|
|
13
|
-
|
|
14
|
-
begin
|
|
15
|
-
puts JSON.pretty_generate(JSON.parse(res.raw_response.body))
|
|
16
|
-
rescue FastpixClient::Models::Errors::APIError => e
|
|
17
|
-
puts JSON.pretty_generate(JSON.parse(e.body))
|
|
18
|
-
rescue StandardError
|
|
19
|
-
puts res.raw_response.body.to_s
|
|
20
|
-
end
|
data/test/test_helper.rb
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
|
4
|
-
|
|
5
|
-
require 'json'
|
|
6
|
-
require 'minitest/autorun'
|
|
7
|
-
require 'fastpixapi'
|
|
8
|
-
|
|
9
|
-
# Standard response handling for any SDK operation. Prints only the JSON body.
|
|
10
|
-
# res = s.input_video.create_media(request: req)
|
|
11
|
-
# print_response(res)
|
|
12
|
-
def print_response(res)
|
|
13
|
-
begin
|
|
14
|
-
puts JSON.pretty_generate(JSON.parse(res.raw_response.body))
|
|
15
|
-
rescue StandardError
|
|
16
|
-
puts res.raw_response.body.to_s
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
# Standard error handling when the SDK raises APIError (4xx/5xx). Prints only the JSON body.
|
|
21
|
-
# rescue FastpixClient::Models::Errors::APIError => e
|
|
22
|
-
# print_api_error(e)
|
|
23
|
-
def print_api_error(err)
|
|
24
|
-
begin
|
|
25
|
-
puts JSON.pretty_generate(JSON.parse(err.body))
|
|
26
|
-
rescue StandardError
|
|
27
|
-
puts err.body.to_s
|
|
28
|
-
end
|
|
29
|
-
end
|