This commit is contained in:
Caleb 2025-12-04 10:28:27 +08:00
parent 18ea900c12
commit 14431c1570
2 changed files with 4 additions and 4 deletions

View File

@ -134,8 +134,8 @@
- (IBAction)startP2p:(id)sender {
SellyRTCVideoConfiguration *config = SellyRTCVideoConfiguration.defaultConfig;
config.frameRate = [self.fpsTf.text integerValue];
config.maxBitrate = [self.maxBitrateTf.text integerValue];
config.minBitrate = [self.minBitrateTf.text integerValue];
config.maxBitrate = [self.maxBitrateTf.text integerValue]*1000;
config.minBitrate = [self.minBitrateTf.text integerValue]*1000;
SellyVideoCallViewController *vc = SellyVideoCallViewController.new;
vc.channelId = self.p2pChannelTf.text;
@ -146,8 +146,8 @@
- (IBAction)startConference:(id)sender {
SellyRTCVideoConfiguration *config = SellyRTCVideoConfiguration.defaultConfig;
config.frameRate = [self.fpsTf.text integerValue];
config.maxBitrate = [self.maxBitrateTf.text integerValue];
config.minBitrate = [self.minBitrateTf.text integerValue];
config.maxBitrate = [self.maxBitrateTf.text integerValue]*1000;
config.minBitrate = [self.minBitrateTf.text integerValue]*1000;
SellyVideoCallConferenceController *vc = SellyVideoCallConferenceController.new;
vc.channelId = self.conferenceChannelTf.text;