lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.40.3 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.40.4

- old
+ new

@@ -23,26 +23,23 @@ @uri = "/Rooms" end ## # Create the RoomInstance - # @param [Boolean] enable_turn Deprecated. Whether to enable [Twilio's Network - # Traversal TURN service](https://www.twilio.com/stun-turn). TURN service is used - # when direct peer-to-peer media connections cannot be established due to firewall - # restrictions. This setting only applies to rooms with type `peer-to-peer`. - # @param [room.RoomType] type The type of room. Can be: `peer-to-peer`, + # @param [Boolean] enable_turn Deprecated, now always considered to be true. + # @param [room.RoomType] type The type of room. Can be: `go`, `peer-to-peer`, # `group-small`, or `group`. The default value is `group`. # @param [String] unique_name An application-defined string that uniquely # identifies the resource. It can be used as a `room_sid` in place of the # resource's `sid` in the URL to address the resource. This value is unique for # `in-progress` rooms. SDK clients can use this name to connect to the room. REST # API clients can use this name in place of the Room SID to interact with the room # as long as the room is `in-progress`. # @param [String] status_callback The URL we should call using the # `status_callback_method` to send status information to your application on every - # room event. See [Status - # Callbacks](https://www.twilio.com/docs/video/api/status-callbacks) for more + # room event. See {Status + # Callbacks}[https://www.twilio.com/docs/video/api/status-callbacks] for more # info. # @param [String] status_callback_method The HTTP method we should use to call # `status_callback`. Can be `POST` or `GET`. # @param [String] max_participants The maximum number of concurrent Participants # allowed in the room. Peer-to-peer rooms can have up to 10 Participants. Small @@ -53,11 +50,11 @@ # rooms.*** # @param [room.VideoCodec] video_codecs An array of the video codecs that are # supported when publishing a track in the room. Can be: `VP8` and `H264`. # ***This feature is not available in `peer-to-peer` rooms*** # @param [String] media_region The region for the media server in Group Rooms. - # Can be: one of the [available Media - # Regions](https://www.twilio.com/docs/video/ip-address-whitelisting#group-rooms-media-servers). + # Can be: one of the {available Media + # Regions}[https://www.twilio.com/docs/video/ip-address-whitelisting#group-rooms-media-servers]. # ***This feature is not available in `peer-to-peer` rooms.*** # @return [RoomInstance] Created RoomInstance def create(enable_turn: :unset, type: :unset, unique_name: :unset, status_callback: :unset, status_callback_method: :unset, max_participants: :unset, record_participants_on_connect: :unset, video_codecs: :unset, media_region: :unset) data = Twilio::Values.of({ 'EnableTurn' => enable_turn, \ No newline at end of file