- RevueSDK
- VideoSourceStatistics
Structure
VideoSourceStatistics
發送側來源畫面統計(編碼前)。
struct VideoSourceStatisticsTopics
Instance Properties
let fps: Double發送側來源實測幀率。 診斷:設定 30fps 但實測 12fps = 相機/螢幕採集受限(如光線暗自動降幀)。 來源:LocalVideoTrack output sink 數幀 / 秒(SDK 自算,非設定值)。
let height: Intlet width: Int發送側來源畫面寬/高(編碼前,相機/螢幕實際輸出尺寸)。 診斷:與 outboundRtp 比對——源頭 1080p 但送出 720p = 編碼/傳輸降質,非來源問題。 來源:LocalVideoTrack 的 capturer.output sink 讀 CVPixelBufferGetWidth/Height(實測值)。