vonage 7.35.0 → 7.36.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/vonage/keys.rb +2 -1
- data/lib/vonage/version.rb +1 -1
- data/lib/vonage/video/web_socket.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 335a760f3d2241f93f26a0a7bfc05a91e6913dfc66311e5f6f5d6c440cbcf63d
|
|
4
|
+
data.tar.gz: 324d0c92e4d9c5b458842ebffd555f48f17a97674662fa63f0442989e057060e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8c1e57407a7cd8398073b1112ff6e12821832e8c1efe9a6ea02f73ec6b55e41f25533df7c0ea3d8c3503e17a06458083b227a18d2c7f69bbac134276fba303
|
|
7
|
+
data.tar.gz: 991f20b172f058fc50c8e1e3140e8fcb0599ed6d7d1ddbf72938a993bf5960dbb728d1ee32a40ba6c789fef8fb037db328bc519eeebae6b75e38272fc109698b
|
data/lib/vonage/keys.rb
CHANGED
data/lib/vonage/version.rb
CHANGED
|
@@ -39,6 +39,12 @@ module Vonage
|
|
|
39
39
|
# @option websocket [optional, Integer] :audio_rate A number representing the audio sampling rate in Hz
|
|
40
40
|
# - Must be one of: 8000, 16000, 24000
|
|
41
41
|
# @option websocket [optional, Boolean] :bidirectional Whether to send audio data from the WebSocket connection to a stream published in the session.
|
|
42
|
+
# @option websocket [optional, Hash] :audio_transport The configuration for the audio transport over the WebSocket connection.
|
|
43
|
+
# @option websocket[:audio_transport] [String] :transport (optional) The transport type for the audio data. Must be one of: "json", "binary".
|
|
44
|
+
# @option websocket[:audio_transport] [String] :encoding (optional) The encoding type for the audio data. Required when transport is "json". Must be one of: "base64".
|
|
45
|
+
# @option websocket[:audio_transport] [String] :audio_field (optional) The JSON key for the outbound audio data. The default value is "audio".
|
|
46
|
+
# @option websocket[:audio_transport] [String] :receive_audio_field (optional) The JSON key for inbound audio data (when bidirectional is enabled). Defaults to the same value as `audio_field`.
|
|
47
|
+
# @option websocket[:audio_transport] [Hash] :static_fields (optional) An optional hash of extra key-value pairs included in every outbound JSON audio message.
|
|
42
48
|
#
|
|
43
49
|
# @return [Response]
|
|
44
50
|
#
|