簡體   English   中英

iOS WebRTC 網狀視頻電話會議內存增加問題

[英]iOS WebRTC mesh video conference call memory increasing issue

在此處輸入圖片說明 問題:我正在處理 4 人的 iOS WebRTC 網狀電話會議,在運行 5 或 6 分鍾的視頻電話會議后,內存大小增加,整個應用程序掛起。

場景:只有音頻或只有視頻(無音頻)的 4 人電話會議工作正常。 但面臨 4 人視頻電話會議時內存大小增加的問題。

我們在做什么:

  1. 我們使用非常低的比特率和幀數以及默認的視頻編解碼器。

探查器屏幕截圖:

4人使用以下配置: 最小比特率:10000 最大比特率:40000 當前比特率:20000

我們通過以下方式使用設備的最低分辨率:

 private func startCapturer(frontCamera:AVCaptureDevice, capturer:RTCCameraVideoCapturer) {
        let fps = 15
        let options = RTCCameraVideoCapturer.supportedFormats(for: frontCamera)
            var supportable = (options.sorted { (f1, f2) -> Bool in
                let width1 = CMVideoFormatDescriptionGetDimensions(f1.formatDescription).width
                let width2 = CMVideoFormatDescriptionGetDimensions(f2.formatDescription).width
                return width1 < width2
            }).first! 
        capturer.startCapture(with: frontCamera,
                              format: supportable,
                              fps: fps)

}

請參考這些鏈接以獲得更好的理解:

WebRTC 通話中的用戶

對於績效評估,請遵循以下文件:

WebRTC 的性能評估

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM