lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.1.0 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.1.1
- old
+ new
@@ -30,19 +30,21 @@
# @param [String] status_callback The status_callback
# @param [String] status_callback_method The status_callback_method
# @param [String] max_participants The max_participants
# @param [Boolean] record_participants_on_connect The
# record_participants_on_connect
+ # @param [room.VideoCodec] video_codecs The video_codecs
# @return [RoomInstance] Newly 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)
+ 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)
data = Twilio::Values.of({
'EnableTurn' => enable_turn,
'Type' => type,
'UniqueName' => unique_name,
'StatusCallback' => status_callback,
'StatusCallbackMethod' => status_callback_method,
'MaxParticipants' => max_participants,
'RecordParticipantsOnConnect' => record_participants_on_connect,
+ 'VideoCodecs' => video_codecs,
})
payload = @version.create(
'POST',
@uri,
\ No newline at end of file