DyteMeeting

Meeting config is sent to DyteView

let  config = DyteMeetingConfig();
 config.roomName = "YOUR_ROOM_NAME";
 config.authToken = "YOUR_AUTH_TOKEN";
 let dyteView = DyteMeetingView(frame: CGRect(x: 0, y: 0, width: self.view.bounds.size.width, height:self.view.bounds.size.height ))
 dyteView.delegate = self
 dyteView.tag  = 100
 self.dyteView = dyteView;
 self.view.addSubview(dyteView)
 dyteView.join(config);
DyteMeetingConfig *meetingConfig = [[DyteMeetingConfig alloc] init];
meetingConfig.roomName = @"YOUR_ROOM_NAME"; //Enter your room name here
meetingConfig.authToken = @"YOUR_AUTH_TOKEN";
meetingConfig.width = self.view.frame.size.width;
meetingConfig.height = self.view.frame.size.height;
DyteMeetingView *dyteView = [[DyteMeetingView alloc] initWithFrame:CGRectMake(0.0, 0.0, meetingConfig.width, meetingConfig.height)];
dyteView.delegate = self;
dyteView.tag = 100;
[self.view addSubview:dyteView];
[dyteView join:meetingConfig];

Notice in the above code snippet we are creating Meeting config object and sharing it with dyteView

SNOPropTypeDefaultRequireddescription
1.roomNamestring-Yesroom name for your meeting
2.authTokenstring-YesAuth token for the particpant
3.showSetupScreenbooleanfalseNoShow audio / video setup screen to the participant
4.orgIdstring-Yesorganisation id obtained from dyte developers portal
5.widthdouble-Nowidth of dyte Meeting view
6.Heightdouble-NoHeight of dyte Meeting View
7.autoTunebooleantrueNoSee below for more details

autoTune: Dyte uses VP9 codec by default, but switches to H264/VP8 depending on participants video codec support.
VP9 is a superior codec but not all browsers support it. If you disable autoTune Dyte will use VP8 by default.