livekit-server-sdk 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/banner_light.png +0 -0
- data/README.md +1 -1
- data/lib/livekit/ingress_service_client.rb +4 -1
- data/lib/livekit/proto/livekit_egress_pb.rb +1 -0
- data/lib/livekit/proto/livekit_egress_twirp.rb +1 -1
- data/lib/livekit/proto/livekit_ingress_pb.rb +7 -1
- data/lib/livekit/proto/livekit_ingress_twirp.rb +1 -1
- data/lib/livekit/proto/livekit_models_pb.rb +11 -2
- 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 +1 -1
- data/lib/livekit/proto/livekit_webhook_twirp.rb +1 -1
- data/lib/livekit/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30b87638631ee89f1b6b2ded0ce5721cf208f78a10ff8b51a690f17ac131b916
|
4
|
+
data.tar.gz: 59e49a093e0c480ecacf1efaebe3e82bf621498de579640afe3c5f1dfc476ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c283b0bda45f3d688184fbb1d29cb43ae6135a1ea3478632acbdb8faca9dff87b3d9f62b6909477a41440cd3f3a54b480f2098d2e22dd09728f6b1989f7245c
|
7
|
+
data.tar.gz: 8685dd0d4c1f35f4999faa9b88370088102870a91929bb44b58d788ad5938a225223af09ecbefde73ac08768152e2f410caba6165d9a6d99eb8d8ea32160745d
|
data/.github/banner_light.png
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -135,7 +135,7 @@ The gem is available as open source under the terms of Apache 2.0 License.
|
|
135
135
|
<br/><table>
|
136
136
|
<thead><tr><th colspan="2">LiveKit Ecosystem</th></tr></thead>
|
137
137
|
<tbody>
|
138
|
-
<tr><td>Client SDKs</td><td><a href="https://github.com/livekit/components-js">Components</a> · <a href="https://github.com/livekit/client-sdk-js">JavaScript</a> · <a href="https://github.com/livekit/client-sdk-
|
138
|
+
<tr><td>Client SDKs</td><td><a href="https://github.com/livekit/components-js">Components</a> · <a href="https://github.com/livekit/client-sdk-js">JavaScript</a> · <a href="https://github.com/livekit/client-sdk-swift">iOS/macOS</a> · <a href="https://github.com/livekit/client-sdk-android">Android</a> · <a href="https://github.com/livekit/client-sdk-flutter">Flutter</a> · <a href="https://github.com/livekit/client-sdk-react-native">React Native</a> · <a href="https://github.com/livekit/client-sdk-rust">Rust</a> · <a href="https://github.com/livekit/client-sdk-python">Python</a> · <a href="https://github.com/livekit/client-sdk-unity-web">Unity (web)</a> · <a href="https://github.com/livekit/client-sdk-unity">Unity (beta)</a></td></tr><tr></tr>
|
139
139
|
<tr><td>Server SDKs</td><td><a href="https://github.com/livekit/server-sdk-js">Node.js</a> · <a href="https://github.com/livekit/server-sdk-go">Golang</a> · <b>Ruby</b> · <a href="https://github.com/livekit/server-sdk-kotlin">Java/Kotlin</a> · <a href="https://github.com/agence104/livekit-server-sdk-php">PHP (community)</a> · <a href="https://github.com/tradablebits/livekit-server-sdk-python">Python (community)</a></td></tr><tr></tr>
|
140
140
|
<tr><td>Services</td><td><a href="https://github.com/livekit/livekit">Livekit server</a> · <a href="https://github.com/livekit/egress">Egress</a> · <a href="https://github.com/livekit/ingress">Ingress</a></td></tr><tr></tr>
|
141
141
|
<tr><td>Resources</td><td><a href="https://docs.livekit.io">Docs</a> · <a href="https://github.com/livekit-examples">Example apps</a> · <a href="https://livekit.io/cloud">Cloud</a> · <a href="https://docs.livekit.io/oss/deployment">Self-hosting</a> · <a href="https://github.com/livekit/livekit-cli">CLI</a></td></tr>
|
@@ -28,7 +28,9 @@ module LiveKit
|
|
28
28
|
# optional, LiveKit::Proto::IngressVideoOptions
|
29
29
|
video: nil,
|
30
30
|
# optional, whether to forward input media unprocessed, for WHIP only
|
31
|
-
bypass_transcoding: nil
|
31
|
+
bypass_transcoding: nil,
|
32
|
+
# optional, needed for ingresses of type URL, provides the URL to fetch media from
|
33
|
+
url: nil
|
32
34
|
)
|
33
35
|
request = Proto::CreateIngressRequest.new(
|
34
36
|
input_type: input_type,
|
@@ -39,6 +41,7 @@ module LiveKit
|
|
39
41
|
audio: audio,
|
40
42
|
video: video,
|
41
43
|
bypass_transcoding: bypass_transcoding,
|
44
|
+
url: url,
|
42
45
|
)
|
43
46
|
self.rpc(
|
44
47
|
:CreateIngress,
|
@@ -173,6 +173,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
173
173
|
optional :status, :enum, 3, "livekit.EgressStatus"
|
174
174
|
optional :started_at, :int64, 10
|
175
175
|
optional :ended_at, :int64, 11
|
176
|
+
optional :updated_at, :int64, 18
|
176
177
|
optional :error, :string, 9
|
177
178
|
repeated :stream_results, :message, 15, "livekit.StreamInfo"
|
178
179
|
repeated :file_results, :message, 16, "livekit.FileInfo"
|
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
add_file("livekit_ingress.proto", :syntax => :proto3) do
|
10
10
|
add_message "livekit.CreateIngressRequest" do
|
11
11
|
optional :input_type, :enum, 1, "livekit.IngressInput"
|
12
|
+
optional :url, :string, 9
|
12
13
|
optional :name, :string, 2
|
13
14
|
optional :room_name, :string, 3
|
14
15
|
optional :participant_identity, :string, 4
|
@@ -67,6 +68,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
67
68
|
optional :room_id, :string, 5
|
68
69
|
optional :started_at, :int64, 7
|
69
70
|
optional :ended_at, :int64, 8
|
71
|
+
optional :resource_id, :string, 9
|
70
72
|
repeated :tracks, :message, 6, "livekit.TrackInfo"
|
71
73
|
end
|
72
74
|
add_enum "livekit.IngressState.Status" do
|
@@ -77,12 +79,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
77
79
|
end
|
78
80
|
add_message "livekit.InputVideoState" do
|
79
81
|
optional :mime_type, :string, 1
|
82
|
+
optional :average_bitrate, :uint32, 2
|
80
83
|
optional :width, :uint32, 3
|
81
84
|
optional :height, :uint32, 4
|
82
|
-
optional :framerate, :
|
85
|
+
optional :framerate, :double, 5
|
83
86
|
end
|
84
87
|
add_message "livekit.InputAudioState" do
|
85
88
|
optional :mime_type, :string, 1
|
89
|
+
optional :average_bitrate, :uint32, 2
|
86
90
|
optional :channels, :uint32, 3
|
87
91
|
optional :sample_rate, :uint32, 4
|
88
92
|
end
|
@@ -98,6 +102,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
98
102
|
end
|
99
103
|
add_message "livekit.ListIngressRequest" do
|
100
104
|
optional :room_name, :string, 1
|
105
|
+
optional :ingress_id, :string, 2
|
101
106
|
end
|
102
107
|
add_message "livekit.ListIngressResponse" do
|
103
108
|
repeated :items, :message, 1, "livekit.IngressInfo"
|
@@ -108,6 +113,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
108
113
|
add_enum "livekit.IngressInput" do
|
109
114
|
value :RTMP_INPUT, 0
|
110
115
|
value :WHIP_INPUT, 1
|
116
|
+
value :URL_INPUT, 2
|
111
117
|
end
|
112
118
|
add_enum "livekit.IngressAudioEncodingPreset" do
|
113
119
|
value :OPUS_STEREO_96KBPS, 0
|
@@ -19,11 +19,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
19
|
optional :num_participants, :uint32, 9
|
20
20
|
optional :num_publishers, :uint32, 11
|
21
21
|
optional :active_recording, :bool, 10
|
22
|
+
optional :playout_delay, :message, 12, "livekit.PlayoutDelay"
|
22
23
|
end
|
23
24
|
add_message "livekit.Codec" do
|
24
25
|
optional :mime, :string, 1
|
25
26
|
optional :fmtp_line, :string, 2
|
26
27
|
end
|
28
|
+
add_message "livekit.PlayoutDelay" do
|
29
|
+
optional :enabled, :bool, 1
|
30
|
+
optional :min, :uint32, 2
|
31
|
+
end
|
27
32
|
add_message "livekit.ParticipantPermission" do
|
28
33
|
optional :can_subscribe, :bool, 1
|
29
34
|
optional :can_publish, :bool, 2
|
@@ -82,6 +87,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
87
|
optional :stereo, :bool, 14
|
83
88
|
optional :disable_red, :bool, 15
|
84
89
|
optional :encryption, :enum, 16, "livekit.Encryption.Type"
|
90
|
+
optional :stream, :string, 17
|
85
91
|
end
|
86
92
|
add_message "livekit.VideoLayer" do
|
87
93
|
optional :quality, :enum, 1, "livekit.VideoQuality"
|
@@ -153,6 +159,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
153
159
|
value :UNITY, 6
|
154
160
|
value :REACT_NATIVE, 7
|
155
161
|
value :RUST, 8
|
162
|
+
value :PYTHON, 9
|
163
|
+
value :CPP, 10
|
156
164
|
end
|
157
165
|
add_message "livekit.ClientConfiguration" do
|
158
166
|
optional :video, :message, 1, "livekit.VideoConfiguration"
|
@@ -268,14 +276,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
268
276
|
value :JOIN_FAILURE, 7
|
269
277
|
end
|
270
278
|
add_enum "livekit.ReconnectReason" do
|
271
|
-
value :
|
279
|
+
value :RR_UNKNOWN, 0
|
272
280
|
value :RR_SIGNAL_DISCONNECTED, 1
|
273
281
|
value :RR_PUBLISHER_FAILED, 2
|
274
282
|
value :RR_SUBSCRIBER_FAILED, 3
|
275
283
|
value :RR_SWITCH_CANDIDATE, 4
|
276
284
|
end
|
277
285
|
add_enum "livekit.SubscriptionError" do
|
278
|
-
value :
|
286
|
+
value :SE_UNKNOWN, 0
|
279
287
|
value :SE_CODEC_UNSUPPORTED, 1
|
280
288
|
value :SE_TRACK_NOTFOUND, 2
|
281
289
|
end
|
@@ -286,6 +294,7 @@ module LiveKit
|
|
286
294
|
module Proto
|
287
295
|
Room = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.Room").msgclass
|
288
296
|
Codec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.Codec").msgclass
|
297
|
+
PlayoutDelay = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.PlayoutDelay").msgclass
|
289
298
|
ParticipantPermission = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.ParticipantPermission").msgclass
|
290
299
|
ParticipantInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.ParticipantInfo").msgclass
|
291
300
|
ParticipantInfo::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("livekit.ParticipantInfo.State").enummodule
|
@@ -15,6 +15,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
15
|
optional :node_id, :string, 4
|
16
16
|
optional :metadata, :string, 5
|
17
17
|
optional :egress, :message, 6, "livekit.RoomEgress"
|
18
|
+
optional :min_playout_delay, :uint32, 7
|
18
19
|
end
|
19
20
|
add_message "livekit.RoomEgress" do
|
20
21
|
optional :room, :message, 1, "livekit.RoomCompositeEgressRequest"
|
data/lib/livekit/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omri Gabay
|
8
8
|
- David Zhao
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-protobuf
|
@@ -91,7 +91,7 @@ dependencies:
|
|
91
91
|
- - "<"
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '2.0'
|
94
|
-
description:
|
94
|
+
description:
|
95
95
|
email:
|
96
96
|
- omri@omrigabay.me
|
97
97
|
- dz@livekit.io
|
@@ -157,7 +157,7 @@ homepage: https://livekit.io
|
|
157
157
|
licenses:
|
158
158
|
- Apache-2.0
|
159
159
|
metadata: {}
|
160
|
-
post_install_message:
|
160
|
+
post_install_message:
|
161
161
|
rdoc_options: []
|
162
162
|
require_paths:
|
163
163
|
- lib
|
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
175
|
+
rubygems_version: 3.4.10
|
176
|
+
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: LiveKit Server SDK for Ruby
|
179
179
|
test_files: []
|