@@ -19,6 +19,15 @@ module OpenTok
19
19
# @attr [int] updated_at
20
20
# For this start method, this timestamp matches the createdAt timestamp.
21
21
#
22
+ # @attr [int] maxBitRate
23
+ # The maximum bitrate for the broadcast stream(s), in bits per second.
24
+ #
25
+ # @attr [boolean] hasAudio
26
+ # The broadcast has audio enabled
27
+ #
28
+ # @attr [boolean] hasVideo
29
+ # The broadcast has video enabled
30
+ #
22
31
# @attr [string] resolution
23
32
# The resolution of the broadcast: either "640x480" (SD landscape, the default), "1280x720" (HD landscape),
24
33
# "1920x1080" (FHD landscape), "480x640" (SD portrait), "720x1280" (HD portrait), or "1080x1920" (FHD portrait).
@@ -33,6 +42,12 @@ module OpenTok
33
42
# You can include HLS, RTMP, or both as broadcast streams. If you include RTMP streaming,
34
43
# you can specify up to five target RTMP streams (or just one).
35
44
# The (<code>:hls</code>) property is set to an empty [Hash] object. The HLS URL is returned in the response.
45
+ # The `hlsStatus` property is set to one of the following:
46
+ # - "connecting" — The OpenTok server is in the process of starting transcoders. This is the initial state.
47
+ # - "ready" — The OpenTok server has succesfully initialized but the CDN is not consuming media.
48
+ # - "live" — The OpenTok server has succesfully initialized and the CDN is consuming media.
49
+ # - "ended" — The source stream has ended. If DVR is enabled and pre-recorded media is requested, then the status will transition to "live".
50
+ # - "error" — There is an error in the OpenTok platform.
36
51
# The (<code>:rtmp</code>) property is set to an [Array] of Rtmp [Hash] properties.
37
52
# For each RTMP stream, specify (<code>:serverUrl</code>) for the RTMP server URL,
38
53
# (<code>:streamName</code>) such as the YouTube Live stream name or the Facebook stream key),
0 commit comments