lib/twilio-ruby/rest/video/v1/composition_hook.rb in twilio-ruby-5.40.2 vs lib/twilio-ruby/rest/video/v1/composition_hook.rb in twilio-ruby-5.40.3
- old
+ new
@@ -163,11 +163,12 @@
# @param [Boolean] enabled Whether the composition hook is active. When `true`,
# the composition hook will be triggered for every completed Group Room in the
# account. When `false`, the composition hook will never be triggered.
# @param [Hash] video_layout An object that describes the video layout of the
# composition hook in terms of regions. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [String] audio_sources An array of track names from the same group room
# to merge into the compositions created by the composition hook. Can include zero
# or more track names. A composition triggered by the composition hook includes
# all audio sources specified in `audio_sources` except those specified in
# `audio_sources_excluded`. The track names in this parameter can include an
@@ -197,11 +198,12 @@
# * CIF = `320x240`
#
# Note that the `resolution` imposes an aspect ratio to the resulting composition.
# When the original video tracks are constrained by the aspect ratio, they are
# scaled to fit. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [composition_hook.Format] format The container format of the media files
# used by the compositions created by the composition hook. Can be: `mp4` or
# `webm` and the default is `webm`. If `mp4` or `webm`, `audio_sources` must have
# one or more tracks and/or a `video_layout` element must contain a valid
# `video_sources` list, otherwise an error occurs.
@@ -215,11 +217,12 @@
# media in the Compositions triggered by the composition hook. The default is
# `true`. Compositions with `trim` enabled are shorter when the Room is created
# and no Participant joins for a while as well as if all the Participants leave
# the room and join later, because those gaps will be removed. See [Specifying
# Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @return [CompositionHookInstance] Created CompositionHookInstance
def create(friendly_name: nil, enabled: :unset, video_layout: :unset, audio_sources: :unset, audio_sources_excluded: :unset, resolution: :unset, format: :unset, status_callback: :unset, status_callback_method: :unset, trim: :unset)
data = Twilio::Values.of({
'FriendlyName' => friendly_name,
'Enabled' => enabled,
@@ -316,11 +319,12 @@
# @param [Boolean] enabled Whether the composition hook is active. When `true`,
# the composition hook will be triggered for every completed Group Room in the
# account. When `false`, the composition hook never triggers.
# @param [Hash] video_layout A JSON object that describes the video layout of the
# composition hook in terms of regions. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [String] audio_sources An array of track names from the same group room
# to merge into the compositions created by the composition hook. Can include zero
# or more track names. A composition triggered by the composition hook includes
# all audio sources specified in `audio_sources` except those specified in
# `audio_sources_excluded`. The track names in this parameter can include an
@@ -338,11 +342,12 @@
# media in the compositions triggered by the composition hook. The default is
# `true`. Compositions with `trim` enabled are shorter when the Room is created
# and no Participant joins for a while as well as if all the Participants leave
# the room and join later, because those gaps will be removed. See [Specifying
# Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [composition_hook.Format] format The container format of the media files
# used by the compositions created by the composition hook. Can be: `mp4` or
# `webm` and the default is `webm`. If `mp4` or `webm`, `audio_sources` must have
# one or more tracks and/or a `video_layout` element must contain a valid
# `video_sources` list, otherwise an error occurs.
@@ -362,11 +367,12 @@
# * CIF = `320x240`
#
# Note that the `resolution` imposes an aspect ratio to the resulting composition.
# When the original video tracks are constrained by the aspect ratio, they are
# scaled to fit. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [String] status_callback The URL we should call using the
# `status_callback_method` to send status information to your application on every
# composition event. If not provided, status callback events will not be
# dispatched.
# @param [String] status_callback_method The HTTP method we should use to call
@@ -565,11 +571,12 @@
# @param [Boolean] enabled Whether the composition hook is active. When `true`,
# the composition hook will be triggered for every completed Group Room in the
# account. When `false`, the composition hook never triggers.
# @param [Hash] video_layout A JSON object that describes the video layout of the
# composition hook in terms of regions. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [String] audio_sources An array of track names from the same group room
# to merge into the compositions created by the composition hook. Can include zero
# or more track names. A composition triggered by the composition hook includes
# all audio sources specified in `audio_sources` except those specified in
# `audio_sources_excluded`. The track names in this parameter can include an
@@ -587,11 +594,12 @@
# media in the compositions triggered by the composition hook. The default is
# `true`. Compositions with `trim` enabled are shorter when the Room is created
# and no Participant joins for a while as well as if all the Participants leave
# the room and join later, because those gaps will be removed. See [Specifying
# Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [composition_hook.Format] format The container format of the media files
# used by the compositions created by the composition hook. Can be: `mp4` or
# `webm` and the default is `webm`. If `mp4` or `webm`, `audio_sources` must have
# one or more tracks and/or a `video_layout` element must contain a valid
# `video_sources` list, otherwise an error occurs.
@@ -611,10 +619,11 @@
# * CIF = `320x240`
#
# Note that the `resolution` imposes an aspect ratio to the resulting composition.
# When the original video tracks are constrained by the aspect ratio, they are
# scaled to fit. See [Specifying Video
- # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
+ # Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts)
+ # for more info.
# @param [String] status_callback The URL we should call using the
# `status_callback_method` to send status information to your application on every
# composition event. If not provided, status callback events will not be
# dispatched.
# @param [String] status_callback_method The HTTP method we should use to call
\ No newline at end of file