Open
Description
App has stuck with multiple particiapnts after 10 minutes call
Description
When multiple join participants join then then start video very slow for conversation its not proper display video, my internet is okay, I have 50 mbps, I don't know why this happened.
Steps to Reproduce
- video call start then add to invite another user to join call
- when join new participants then then start video very slow for conversation its not proper display video, my internet is okay, I have 50 mbps.
- after 10 to 12 minutes conversation from starting video has stuck
- high cpu used.
Code
// Code that helps reproduce the issue
Expected Behavior
Video conference call should not be stuck after specific time.
Actual Behavior
[What actually happens]
Reproduces How Often
[What percentage of the time does it reproduce?]
Logs
Execution of the command buffer was aborted due to an error during execution. Insufficient Memory.
TwilioVideoSDK.setLogLevel(.debug)
Using this func to connect Twilio SDK with room
` ```
func doConnectTwilio(twilioToken: String){
prepareLocalMedia()
let connectionOption = ConnectOptions.init(token: twilioToken) { builder in
// builder.preferredVideoCodecs = [TVIVideoCodec.H264.rawValue]
//new added code
builder.isNetworkQualityEnabled = true
builder.networkQualityConfiguration =
NetworkQualityConfiguration(localVerbosity: .minimal, remoteVerbosity: .minimal)
builder.encodingParameters = EncodingParameters(audioBitrate:16, videoBitrate:0)
// builder.encodingParameters = EncodingParameters(audioBitrate:0, videoBitrate:1600)
// Enable recommended Collaboration mode Bandwidth Profile Options
let videoBandwidthProfileOptions = VideoBandwidthProfileOptions { builder in
builder.dominantSpeakerPriority = .high
builder.maxSubscriptionBitrate = 6000
builder.mode = .presentation
builder.trackSwitchOffMode = .predicted
}
builder.bandwidthProfileOptions = BandwidthProfileOptions(videoOptions: videoBandwidthProfileOptions)
builder.preferredVideoCodecs = [Vp8Codec(simulcast: true)]
//end
builder.isDominantSpeakerEnabled = true
builder.roomName = self.roomID
if let audioTrack = self.localAudioTrack {
builder.audioTracks = [audioTrack]
}
if let videoTrack = self.localVideoTrack {
builder.videoTracks = [videoTrack]
}
}
self.room = TwilioVideoSDK.connect(options: connectionOption, delegate: self)
}
// Log output when the issue occurs
Versions
All relevant version information for the issue.
Video iOS SDK
[e.g. 5.1.1 via CocoaPods]
Xcode
[e.g. 13.3]
iOS Version
[e.g. 14.4]
iOS Device
[e.g. iPhone 8 ]
Metadata
Metadata
Assignees
Labels
No labels