正在显示
3 个修改的文件
包含
5 行增加
和
6 行删除
| 1 | [versions] | 1 | [versions] |
| 2 | -webrtc = "114.5735.08" | ||
| 3 | -leakcanaryAndroid = "2.8.1" | ||
| 4 | -preferenceKtx = "1.2.1" | 2 | +webrtc = "114.5735.09" |
| 5 | 3 | ||
| 6 | androidJainSipRi = "1.3.0-91" | 4 | androidJainSipRi = "1.3.0-91" |
| 7 | androidx-core = "1.10.1" | 5 | androidx-core = "1.10.1" |
| @@ -14,8 +12,10 @@ groupie = "2.9.0" | @@ -14,8 +12,10 @@ groupie = "2.9.0" | ||
| 14 | junit-lib = "4.13.2" | 12 | junit-lib = "4.13.2" |
| 15 | junit-jupiter = "5.5.0" | 13 | junit-jupiter = "5.5.0" |
| 16 | kotlinx-serialization = "1.5.0" | 14 | kotlinx-serialization = "1.5.0" |
| 15 | +leakcanaryAndroid = "2.8.1" | ||
| 17 | lint = "30.0.1" | 16 | lint = "30.0.1" |
| 18 | okhttp = "4.12.0" | 17 | okhttp = "4.12.0" |
| 18 | +preferenceKtx = "1.2.1" | ||
| 19 | protobuf = "3.22.0" | 19 | protobuf = "3.22.0" |
| 20 | protobufJavalite = "3.22.0" | 20 | protobufJavalite = "3.22.0" |
| 21 | semver4j = "3.1.0" | 21 | semver4j = "3.1.0" |
| @@ -84,9 +84,7 @@ class CustomAudioProcessingFactory(private var audioProcessorOptions: AudioProce | @@ -84,9 +84,7 @@ class CustomAudioProcessingFactory(private var audioProcessorOptions: AudioProce | ||
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | override fun reset(newRate: Int) { | 86 | override fun reset(newRate: Int) { |
| 87 | - // bug in webrtc lib causes newRate to be off by a factor of 10 | ||
| 88 | - // TODO: remove divide by 10 when updating libwebrtc | ||
| 89 | - audioProcessing?.resetAudioProcessing(newRate / 10) | 87 | + audioProcessing?.resetAudioProcessing(newRate) |
| 90 | } | 88 | } |
| 91 | 89 | ||
| 92 | override fun process(numBands: Int, numFrames: Int, buffer: ByteBuffer?) { | 90 | override fun process(numBands: Int, numFrames: Int, buffer: ByteBuffer?) { |
| @@ -92,4 +92,5 @@ fun RTCConfiguration.copyFrom(config: RTCConfiguration) { | @@ -92,4 +92,5 @@ fun RTCConfiguration.copyFrom(config: RTCConfiguration) { | ||
| 92 | turnLoggingId = config.turnLoggingId | 92 | turnLoggingId = config.turnLoggingId |
| 93 | enableImplicitRollback = config.enableImplicitRollback | 93 | enableImplicitRollback = config.enableImplicitRollback |
| 94 | offerExtmapAllowMixed = config.offerExtmapAllowMixed | 94 | offerExtmapAllowMixed = config.offerExtmapAllowMixed |
| 95 | + enableIceGatheringOnAnyAddressPorts = config.enableIceGatheringOnAnyAddressPorts | ||
| 95 | } | 96 | } |
-
请 注册 或 登录 后发表评论