code: def create(self, enable_turn=values.unset, type=values.unset,
                 unique_name=values.unset, status_callback=values.unset,
                 status_callback_method=values.unset, max_participants=values.unset,
                 record_participants_on_connect=values.unset,
                 video_codecs=values.unset, media_region=values.unset):
          
          data = 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': serialize.map(video_codecs, lambda e: e),
              'MediaRegion': media_region,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return RoomInstance(self._version, payload, )
docs: Create a new RoomInstance
  
          :param bool enable_turn: Use Twilio Network Traversal for TURN service.
          :param RoomInstance.RoomType type: Type of room, either peer-to-peer, group-small or group.
          :param unicode unique_name: Name of the Room.
          :param unicode status_callback: A URL that Twilio sends asynchronous webhook requests to on every room event.
          :param unicode status_callback_method: HTTP method Twilio should use when requesting the above URL.
          :param unicode max_participants: Maximum number of Participants in the Room.
          :param bool record_participants_on_connect: Start Participant recording when connected.
          :param RoomInstance.VideoCodec video_codecs: An array of video codecs supported when publishing a Track in the Room.
          :param unicode media_region: Region for the media server in Group Rooms.
  
          :returns: Newly created RoomInstance
          :rtype: twilio.rest.video.v1.room.RoomInstance