feat(decode): 用 WebRTC stats 替代原生探针计算解码耗时

This commit is contained in:
TongTongStudio
2026-07-25 11:18:34 +08:00
parent 4a33f3db0d
commit e5dafb65ed
3 changed files with 101 additions and 46 deletions

View File

@@ -44,3 +44,10 @@ kotlin {
flutter {
source = "../.."
}
dependencies {
// flutter_webrtc 依赖了 io.github.webrtc-sdkorg.webrtc.*),但它声明为
// implementationapp 模块默认看不到 org.webrtc.VideoTrack/VideoSink 等类型。
// 这里显式引入同版本,使解码耗时探针能直接引用 libwebrtc 的 VideoTrack/VideoSink。
implementation("io.github.webrtc-sdk:android:144.7559.09")
}