livekit-server-sdk 0.5.0 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/bin/bootstrap.sh +1 -1
- data/lib/livekit/egress_service_client.rb +22 -8
- data/lib/livekit/proto/livekit_egress_pb.rb +10 -14
- data/lib/livekit/proto/livekit_egress_twirp.rb +3 -3
- data/lib/livekit/proto/livekit_ingress_pb.rb +36 -8
- data/lib/livekit/proto/livekit_ingress_twirp.rb +3 -3
- data/lib/livekit/proto/livekit_models_pb.rb +18 -0
- data/lib/livekit/proto/livekit_models_twirp.rb +1 -1
- data/lib/livekit/proto/livekit_room_pb.rb +1 -0
- data/lib/livekit/proto/livekit_room_twirp.rb +3 -3
- data/lib/livekit/proto/livekit_webhook_twirp.rb +1 -1
- data/lib/livekit/version.rb +1 -1
- metadata +2 -3
- data/lib/livekit/egress_types.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34926d0d468c544020abdd289ae87b9ef930b02af326b18ff1b412c3079222ae
|
4
|
+
data.tar.gz: 035442c257c4d5fed8ff590df031234bdf0d30264bd231c825f5da2103e282ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb91065950d48efc26837576503724d8bbf26af84a5c224e216cd4002f4eee75a3b5fe64e9b942131ef3be7cbe30ae9d7b1ca1d9d164264f4c78527f24c2fdc9
|
7
|
+
data.tar.gz: 247cbd14c9bd44653ca64b370b884c421c63ba577979e1ed5895fbbd1f10f95eb8b249408c955fd4e4b67ce38bca36303738f36fdc65985d46656e02899a9710
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
livekit-server-sdk (0.
|
4
|
+
livekit-server-sdk (0.5.0)
|
5
5
|
google-protobuf (>= 3.21.0, < 4.0)
|
6
6
|
jwt (>= 2.2.3, < 3.0)
|
7
|
-
rack (>= 2.2.3)
|
7
|
+
rack (>= 2.2.3, < 3.0)
|
8
8
|
twirp (>= 1.10.0, < 2.0)
|
9
9
|
|
10
10
|
GEM
|
@@ -16,8 +16,8 @@ GEM
|
|
16
16
|
faraday-net_http (>= 2.0, < 3.1)
|
17
17
|
ruby2_keywords (>= 0.0.4)
|
18
18
|
faraday-net_http (3.0.2)
|
19
|
-
google-protobuf (3.
|
20
|
-
google-protobuf (3.
|
19
|
+
google-protobuf (3.22.2)
|
20
|
+
google-protobuf (3.22.2-x86_64-linux)
|
21
21
|
jwt (2.7.0)
|
22
22
|
method_source (1.0.0)
|
23
23
|
pry (0.14.2)
|
@@ -26,7 +26,7 @@ GEM
|
|
26
26
|
pry-doc (1.4.0)
|
27
27
|
pry (~> 0.11)
|
28
28
|
yard (~> 0.9.11)
|
29
|
-
rack (
|
29
|
+
rack (2.2.6.4)
|
30
30
|
rake (13.0.6)
|
31
31
|
rspec (3.12.0)
|
32
32
|
rspec-core (~> 3.12.0)
|
data/bin/bootstrap.sh
CHANGED
@@ -15,7 +15,7 @@ module LiveKit
|
|
15
15
|
|
16
16
|
def start_room_composite_egress(
|
17
17
|
room_name,
|
18
|
-
#
|
18
|
+
# EncodedFileOutput, SegmentedFileOutput, StreamOutput, or array containing up to one of each
|
19
19
|
output,
|
20
20
|
# EncodingOptionsPreset, only one of preset or advanced could be set
|
21
21
|
preset: nil,
|
@@ -49,7 +49,7 @@ module LiveKit
|
|
49
49
|
|
50
50
|
def start_track_composite_egress(
|
51
51
|
room_name,
|
52
|
-
#
|
52
|
+
# EncodedFileOutput, SegmentedFileOutput, StreamOutput, or array containing up to one of each
|
53
53
|
output,
|
54
54
|
# TrackID of an audio track
|
55
55
|
audio_track_id: nil,
|
@@ -99,7 +99,7 @@ module LiveKit
|
|
99
99
|
|
100
100
|
def start_web_egress(
|
101
101
|
url,
|
102
|
-
#
|
102
|
+
# EncodedFileOutput, SegmentedFileOutput, StreamOutput, or array containing up to one of each
|
103
103
|
output,
|
104
104
|
# EncodingOptionsPreset, only one of preset or advanced could be set
|
105
105
|
preset: nil,
|
@@ -172,15 +172,29 @@ module LiveKit
|
|
172
172
|
|
173
173
|
# helper that sets output to file or stream
|
174
174
|
def set_output(request, output)
|
175
|
-
if output.nil?
|
176
|
-
|
177
|
-
|
178
|
-
|
175
|
+
raise "output cannot be nil" if output.nil?
|
176
|
+
if output.is_a? Array
|
177
|
+
output.each do |out|
|
178
|
+
if out.is_a? LiveKit::Proto::EncodedFileOutput
|
179
|
+
raise "cannot add multiple file outputs" if request.file_outputs.any?
|
180
|
+
request.file_outputs = [out]
|
181
|
+
elsif out.is_a? LiveKit::Proto::SegmentedFileOutput
|
182
|
+
raise "cannot add multiple segmented file outputs" if request.segment_outputs.any?
|
183
|
+
request.segment_outputs = [out]
|
184
|
+
elsif out.is_a? Livekit::Proto::StreamOutput
|
185
|
+
raise "cannot add multiple stream outputs" if request.stream_outputs.any?
|
186
|
+
request.stream_outputs = [out]
|
187
|
+
end
|
188
|
+
end
|
189
|
+
elsif output.is_a? LiveKit::Proto::EncodedFileOutput
|
179
190
|
request.file = output
|
191
|
+
request.file_outputs = [output]
|
180
192
|
elsif output.is_a? LiveKit::Proto::SegmentedFileOutput
|
181
193
|
request.segments = output
|
182
|
-
|
194
|
+
request.segment_outputs = [output]
|
195
|
+
elsif output.is_a? LiveKit::Proto::StreamOutput
|
183
196
|
request.stream = output
|
197
|
+
request.stream_outputs = [output]
|
184
198
|
end
|
185
199
|
end
|
186
200
|
end
|
@@ -3,6 +3,8 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
+
require 'livekit_models_pb'
|
7
|
+
|
6
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
9
|
add_file("livekit_egress.proto", :syntax => :proto3) do
|
8
10
|
add_message "livekit.RoomCompositeEgressRequest" do
|
@@ -82,6 +84,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
84
|
optional :filename_prefix, :string, 2
|
83
85
|
optional :playlist_name, :string, 3
|
84
86
|
optional :segment_duration, :uint32, 4
|
87
|
+
optional :filename_suffix, :enum, 10, "livekit.SegmentedFileSuffix"
|
85
88
|
optional :disable_manifest, :bool, 8
|
86
89
|
oneof :output do
|
87
90
|
optional :s3, :message, 5, "livekit.S3Upload"
|
@@ -111,7 +114,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
111
114
|
optional :tagging, :string, 8
|
112
115
|
end
|
113
116
|
add_message "livekit.GCPUpload" do
|
114
|
-
optional :credentials, :
|
117
|
+
optional :credentials, :string, 1
|
115
118
|
optional :bucket, :string, 2
|
116
119
|
end
|
117
120
|
add_message "livekit.AzureBlobUpload" do
|
@@ -154,6 +157,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
154
157
|
add_message "livekit.ListEgressRequest" do
|
155
158
|
optional :room_name, :string, 1
|
156
159
|
optional :egress_id, :string, 2
|
160
|
+
optional :active, :bool, 3
|
157
161
|
end
|
158
162
|
add_message "livekit.ListEgressResponse" do
|
159
163
|
repeated :items, :message, 1, "livekit.EgressInfo"
|
@@ -235,21 +239,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
235
239
|
value :DEFAULT_SEGMENTED_FILE_PROTOCOL, 0
|
236
240
|
value :HLS_PROTOCOL, 1
|
237
241
|
end
|
242
|
+
add_enum "livekit.SegmentedFileSuffix" do
|
243
|
+
value :INDEX, 0
|
244
|
+
value :TIMESTAMP, 1
|
245
|
+
end
|
238
246
|
add_enum "livekit.StreamProtocol" do
|
239
247
|
value :DEFAULT_PROTOCOL, 0
|
240
248
|
value :RTMP, 1
|
241
249
|
end
|
242
|
-
add_enum "livekit.AudioCodec" do
|
243
|
-
value :DEFAULT_AC, 0
|
244
|
-
value :OPUS, 1
|
245
|
-
value :AAC, 2
|
246
|
-
end
|
247
|
-
add_enum "livekit.VideoCodec" do
|
248
|
-
value :DEFAULT_VC, 0
|
249
|
-
value :H264_BASELINE, 1
|
250
|
-
value :H264_MAIN, 2
|
251
|
-
value :H264_HIGH, 3
|
252
|
-
end
|
253
250
|
add_enum "livekit.EncodingOptionsPreset" do
|
254
251
|
value :H264_720P_30, 0
|
255
252
|
value :H264_720P_60, 1
|
@@ -301,9 +298,8 @@ module LiveKit
|
|
301
298
|
AutoTrackEgress = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.AutoTrackEgress").msgclass
|
302
299
|
EncodedFileType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.EncodedFileType").enummodule
|
303
300
|
SegmentedFileProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.SegmentedFileProtocol").enummodule
|
301
|
+
SegmentedFileSuffix = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.SegmentedFileSuffix").enummodule
|
304
302
|
StreamProtocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.StreamProtocol").enummodule
|
305
|
-
AudioCodec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.AudioCodec").enummodule
|
306
|
-
VideoCodec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.VideoCodec").enummodule
|
307
303
|
EncodingOptionsPreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.EncodingOptionsPreset").enummodule
|
308
304
|
EgressStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.EgressStatus").enummodule
|
309
305
|
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Code generated by protoc-gen-twirp_ruby 1.
|
1
|
+
# Code generated by protoc-gen-twirp_ruby 1.10.0, DO NOT EDIT.
|
2
2
|
require 'twirp'
|
3
3
|
require_relative 'livekit_egress_pb.rb'
|
4
4
|
|
5
5
|
module LiveKit
|
6
6
|
module Proto
|
7
|
-
class EgressService < Twirp::Service
|
7
|
+
class EgressService < ::Twirp::Service
|
8
8
|
package 'livekit'
|
9
9
|
service 'Egress'
|
10
10
|
rpc :StartRoomCompositeEgress, RoomCompositeEgressRequest, EgressInfo, :ruby_method => :start_room_composite_egress
|
@@ -17,7 +17,7 @@ module LiveKit
|
|
17
17
|
rpc :StopEgress, StopEgressRequest, EgressInfo, :ruby_method => :stop_egress
|
18
18
|
end
|
19
19
|
|
20
|
-
class EgressClient < Twirp::Client
|
20
|
+
class EgressClient < ::Twirp::Client
|
21
21
|
client_for EgressService
|
22
22
|
end
|
23
23
|
end
|
@@ -19,16 +19,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
19
|
add_message "livekit.IngressAudioOptions" do
|
20
20
|
optional :name, :string, 1
|
21
21
|
optional :source, :enum, 2, "livekit.TrackSource"
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
oneof :encoding_options do
|
23
|
+
optional :preset, :enum, 3, "livekit.IngressAudioEncodingPreset"
|
24
|
+
optional :options, :message, 4, "livekit.IngressAudioEncodingOptions"
|
25
|
+
end
|
26
26
|
end
|
27
27
|
add_message "livekit.IngressVideoOptions" do
|
28
28
|
optional :name, :string, 1
|
29
29
|
optional :source, :enum, 2, "livekit.TrackSource"
|
30
|
-
|
31
|
-
|
30
|
+
oneof :encoding_options do
|
31
|
+
optional :preset, :enum, 3, "livekit.IngressVideoEncodingPreset"
|
32
|
+
optional :options, :message, 4, "livekit.IngressVideoEncodingOptions"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
add_message "livekit.IngressAudioEncodingOptions" do
|
36
|
+
optional :audio_codec, :enum, 1, "livekit.AudioCodec"
|
37
|
+
optional :bitrate, :uint32, 2
|
38
|
+
optional :disable_dtx, :bool, 3
|
39
|
+
optional :channels, :uint32, 4
|
40
|
+
end
|
41
|
+
add_message "livekit.IngressVideoEncodingOptions" do
|
42
|
+
optional :video_codec, :enum, 1, "livekit.VideoCodec"
|
43
|
+
optional :frame_rate, :double, 2
|
44
|
+
repeated :layers, :message, 3, "livekit.VideoLayer"
|
32
45
|
end
|
33
46
|
add_message "livekit.IngressInfo" do
|
34
47
|
optional :ingress_id, :string, 1
|
@@ -61,13 +74,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
61
74
|
value :ENDPOINT_ERROR, 3
|
62
75
|
end
|
63
76
|
add_message "livekit.InputVideoState" do
|
64
|
-
optional :mime_type, :
|
77
|
+
optional :mime_type, :string, 1
|
65
78
|
optional :width, :uint32, 3
|
66
79
|
optional :height, :uint32, 4
|
67
80
|
optional :framerate, :uint32, 5
|
68
81
|
end
|
69
82
|
add_message "livekit.InputAudioState" do
|
70
|
-
optional :mime_type, :
|
83
|
+
optional :mime_type, :string, 1
|
71
84
|
optional :channels, :uint32, 3
|
72
85
|
optional :sample_rate, :uint32, 4
|
73
86
|
end
|
@@ -92,6 +105,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
105
|
add_enum "livekit.IngressInput" do
|
93
106
|
value :RTMP_INPUT, 0
|
94
107
|
end
|
108
|
+
add_enum "livekit.IngressAudioEncodingPreset" do
|
109
|
+
value :OPUS_STEREO_96KBPS, 0
|
110
|
+
value :OPUS_MONO_64KBS, 1
|
111
|
+
end
|
112
|
+
add_enum "livekit.IngressVideoEncodingPreset" do
|
113
|
+
value :H264_720P_30FPS_3_LAYERS, 0
|
114
|
+
value :H264_1080P_30FPS_3_LAYERS, 1
|
115
|
+
value :H264_540P_25FPS_2_LAYERS, 2
|
116
|
+
value :H264_720P_30FPS_1_LAYER, 3
|
117
|
+
value :H264_1080P_30FPS_1_LAYER, 4
|
118
|
+
end
|
95
119
|
end
|
96
120
|
end
|
97
121
|
|
@@ -100,6 +124,8 @@ module LiveKit
|
|
100
124
|
CreateIngressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.CreateIngressRequest").msgclass
|
101
125
|
IngressAudioOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressAudioOptions").msgclass
|
102
126
|
IngressVideoOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressVideoOptions").msgclass
|
127
|
+
IngressAudioEncodingOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressAudioEncodingOptions").msgclass
|
128
|
+
IngressVideoEncodingOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressVideoEncodingOptions").msgclass
|
103
129
|
IngressInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressInfo").msgclass
|
104
130
|
IngressState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressState").msgclass
|
105
131
|
IngressState::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressState.Status").enummodule
|
@@ -110,5 +136,7 @@ module LiveKit
|
|
110
136
|
ListIngressResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.ListIngressResponse").msgclass
|
111
137
|
DeleteIngressRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.DeleteIngressRequest").msgclass
|
112
138
|
IngressInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressInput").enummodule
|
139
|
+
IngressAudioEncodingPreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressAudioEncodingPreset").enummodule
|
140
|
+
IngressVideoEncodingPreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.IngressVideoEncodingPreset").enummodule
|
113
141
|
end
|
114
142
|
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Code generated by protoc-gen-twirp_ruby 1.
|
1
|
+
# Code generated by protoc-gen-twirp_ruby 1.10.0, DO NOT EDIT.
|
2
2
|
require 'twirp'
|
3
3
|
require_relative 'livekit_ingress_pb.rb'
|
4
4
|
|
5
5
|
module LiveKit
|
6
6
|
module Proto
|
7
|
-
class IngressService < Twirp::Service
|
7
|
+
class IngressService < ::Twirp::Service
|
8
8
|
package 'livekit'
|
9
9
|
service 'Ingress'
|
10
10
|
rpc :CreateIngress, CreateIngressRequest, IngressInfo, :ruby_method => :create_ingress
|
@@ -13,7 +13,7 @@ module LiveKit
|
|
13
13
|
rpc :DeleteIngress, DeleteIngressRequest, IngressInfo, :ruby_method => :delete_ingress
|
14
14
|
end
|
15
15
|
|
16
|
-
class IngressClient < Twirp::Client
|
16
|
+
class IngressClient < ::Twirp::Client
|
17
17
|
client_for IngressService
|
18
18
|
end
|
19
19
|
end
|
@@ -30,6 +30,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
30
30
|
repeated :can_publish_sources, :enum, 9, "livekit.TrackSource"
|
31
31
|
optional :hidden, :bool, 7
|
32
32
|
optional :recorder, :bool, 8
|
33
|
+
optional :can_update_metadata, :bool, 10
|
33
34
|
end
|
34
35
|
add_message "livekit.ParticipantInfo" do
|
35
36
|
optional :sid, :string, 1
|
@@ -111,6 +112,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
111
112
|
optional :participant_sid, :string, 1
|
112
113
|
optional :payload, :bytes, 2
|
113
114
|
repeated :destination_sids, :string, 3
|
115
|
+
proto3_optional :topic, :string, 4
|
114
116
|
end
|
115
117
|
add_message "livekit.ParticipantTracks" do
|
116
118
|
optional :participant_sid, :string, 1
|
@@ -148,6 +150,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
148
150
|
value :FLUTTER, 4
|
149
151
|
value :GO, 5
|
150
152
|
value :UNITY, 6
|
153
|
+
value :REACT_NATIVE, 7
|
154
|
+
value :RUST, 8
|
151
155
|
end
|
152
156
|
add_message "livekit.ClientConfiguration" do
|
153
157
|
optional :video, :message, 1, "livekit.VideoConfiguration"
|
@@ -209,6 +213,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
209
213
|
optional :unix_micro, :int64, 1
|
210
214
|
optional :ticks, :int32, 2
|
211
215
|
end
|
216
|
+
add_enum "livekit.AudioCodec" do
|
217
|
+
value :DEFAULT_AC, 0
|
218
|
+
value :OPUS, 1
|
219
|
+
value :AAC, 2
|
220
|
+
end
|
221
|
+
add_enum "livekit.VideoCodec" do
|
222
|
+
value :DEFAULT_VC, 0
|
223
|
+
value :H264_BASELINE, 1
|
224
|
+
value :H264_MAIN, 2
|
225
|
+
value :H264_HIGH, 3
|
226
|
+
value :VP8, 4
|
227
|
+
end
|
212
228
|
add_enum "livekit.TrackType" do
|
213
229
|
value :AUDIO, 0
|
214
230
|
value :VIDEO, 1
|
@@ -284,6 +300,8 @@ module LiveKit
|
|
284
300
|
DisabledCodecs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.DisabledCodecs").msgclass
|
285
301
|
RTPStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.RTPStats").msgclass
|
286
302
|
TimedVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.TimedVersion").msgclass
|
303
|
+
AudioCodec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.AudioCodec").enummodule
|
304
|
+
VideoCodec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.VideoCodec").enummodule
|
287
305
|
TrackType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.TrackType").enummodule
|
288
306
|
TrackSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.TrackSource").enummodule
|
289
307
|
VideoQuality = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.VideoQuality").enummodule
|
@@ -73,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
73
73
|
optional :data, :bytes, 2
|
74
74
|
optional :kind, :enum, 3, "livekit.DataPacket.Kind"
|
75
75
|
repeated :destination_sids, :string, 4
|
76
|
+
proto3_optional :topic, :string, 5
|
76
77
|
end
|
77
78
|
add_message "livekit.SendDataResponse" do
|
78
79
|
end
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Code generated by protoc-gen-twirp_ruby 1.
|
1
|
+
# Code generated by protoc-gen-twirp_ruby 1.10.0, DO NOT EDIT.
|
2
2
|
require 'twirp'
|
3
3
|
require_relative 'livekit_room_pb.rb'
|
4
4
|
|
5
5
|
module LiveKit
|
6
6
|
module Proto
|
7
|
-
class RoomServiceService < Twirp::Service
|
7
|
+
class RoomServiceService < ::Twirp::Service
|
8
8
|
package 'livekit'
|
9
9
|
service 'RoomService'
|
10
10
|
rpc :CreateRoom, CreateRoomRequest, Room, :ruby_method => :create_room
|
@@ -20,7 +20,7 @@ module LiveKit
|
|
20
20
|
rpc :UpdateRoomMetadata, UpdateRoomMetadataRequest, Room, :ruby_method => :update_room_metadata
|
21
21
|
end
|
22
22
|
|
23
|
-
class RoomServiceClient < Twirp::Client
|
23
|
+
class RoomServiceClient < ::Twirp::Client
|
24
24
|
client_for RoomServiceService
|
25
25
|
end
|
26
26
|
end
|
data/lib/livekit/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: livekit-server-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omri Gabay
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-protobuf
|
@@ -134,7 +134,6 @@ files:
|
|
134
134
|
- lib/livekit/access_token.rb
|
135
135
|
- lib/livekit/auth_mixin.rb
|
136
136
|
- lib/livekit/egress_service_client.rb
|
137
|
-
- lib/livekit/egress_types.rb
|
138
137
|
- lib/livekit/grants.rb
|
139
138
|
- lib/livekit/ingress_service_client.rb
|
140
139
|
- lib/livekit/proto/livekit_egress_pb.rb
|
data/lib/livekit/egress_types.rb
DELETED
File without changes
|