davidliu
Committed by GitHub

Update libwebrtc to 137.7151.01 (#727)

* Update libwebrtc to 137.7151.01

* update RTCConfiguration.copyFrom
  1 +---
  2 +"client-sdk-android": minor
  3 +---
  4 +
  5 +Update libwebrtc to 137.7151.01
1 [versions] 1 [versions]
2 -webrtc = "125.6422.07" 2 +webrtc = "137.7151.01"
3 3
4 androidJainSipRi = "1.3.0-91" 4 androidJainSipRi = "1.3.0-91"
5 androidx-activity = "1.9.0" 5 androidx-activity = "1.9.0"
1 /* 1 /*
2 - * Copyright 2023-2024 LiveKit, Inc. 2 + * Copyright 2023-2025 LiveKit, Inc.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
@@ -38,7 +38,9 @@ internal fun PeerConnection.PeerConnectionState.isDisconnected(): Boolean { @@ -38,7 +38,9 @@ internal fun PeerConnection.PeerConnectionState.isDisconnected(): Boolean {
38 * as that is a temporary state and may return to connected state by itself. 38 * as that is a temporary state and may return to connected state by itself.
39 */ 39 */
40 PeerConnection.PeerConnectionState.FAILED, 40 PeerConnection.PeerConnectionState.FAILED,
41 - PeerConnection.PeerConnectionState.CLOSED -> true 41 + PeerConnection.PeerConnectionState.CLOSED,
  42 + -> true
  43 +
42 else -> false 44 else -> false
43 } 45 }
44 } 46 }
@@ -50,45 +52,47 @@ fun RTCConfiguration.copy(): RTCConfiguration { @@ -50,45 +52,47 @@ fun RTCConfiguration.copy(): RTCConfiguration {
50 } 52 }
51 53
52 fun RTCConfiguration.copyFrom(config: RTCConfiguration) { 54 fun RTCConfiguration.copyFrom(config: RTCConfiguration) {
53 - iceTransportsType = config.iceTransportsType  
54 - iceServers = config.iceServers 55 + activeResetSrtpParams = config.activeResetSrtpParams
  56 + audioJitterBufferFastAccelerate = config.audioJitterBufferFastAccelerate
  57 + audioJitterBufferMaxPackets = config.audioJitterBufferMaxPackets
55 bundlePolicy = config.bundlePolicy 58 bundlePolicy = config.bundlePolicy
56 - certificate = config.certificate  
57 - rtcpMuxPolicy = config.rtcpMuxPolicy  
58 - tcpCandidatePolicy = config.tcpCandidatePolicy  
59 candidateNetworkPolicy = config.candidateNetworkPolicy 59 candidateNetworkPolicy = config.candidateNetworkPolicy
60 - audioJitterBufferMaxPackets = config.audioJitterBufferMaxPackets  
61 - audioJitterBufferFastAccelerate = config.audioJitterBufferFastAccelerate  
62 - iceConnectionReceivingTimeout = config.iceConnectionReceivingTimeout  
63 - iceBackupCandidatePairPingInterval = config.iceBackupCandidatePairPingInterval  
64 - keyType = config.keyType 60 + certificate = config.certificate
65 continualGatheringPolicy = config.continualGatheringPolicy 61 continualGatheringPolicy = config.continualGatheringPolicy
  62 + cryptoOptions = config.cryptoOptions
  63 + disableIPv6OnWifi = config.disableIPv6OnWifi
  64 + enableCpuOveruseDetection = config.enableCpuOveruseDetection
  65 + enableDscp = config.enableDscp
  66 + enableIceGatheringOnAnyAddressPorts = config.enableIceGatheringOnAnyAddressPorts
  67 + enableImplicitRollback = config.enableImplicitRollback
  68 + iceBackupCandidatePairPingInterval = config.iceBackupCandidatePairPingInterval
66 iceCandidatePoolSize = config.iceCandidatePoolSize 69 iceCandidatePoolSize = config.iceCandidatePoolSize
67 -  
68 - pruneTurnPorts = config.pruneTurnPorts  
69 - turnPortPrunePolicy = config.turnPortPrunePolicy  
70 - presumeWritableWhenFullyRelayed = config.presumeWritableWhenFullyRelayed  
71 - surfaceIceCandidatesOnIceTransportTypeChanged = config.surfaceIceCandidatesOnIceTransportTypeChanged  
72 iceCheckIntervalStrongConnectivityMs = config.iceCheckIntervalStrongConnectivityMs 70 iceCheckIntervalStrongConnectivityMs = config.iceCheckIntervalStrongConnectivityMs
73 iceCheckIntervalWeakConnectivityMs = config.iceCheckIntervalWeakConnectivityMs 71 iceCheckIntervalWeakConnectivityMs = config.iceCheckIntervalWeakConnectivityMs
74 iceCheckMinInterval = config.iceCheckMinInterval 72 iceCheckMinInterval = config.iceCheckMinInterval
75 - iceUnwritableTimeMs = config.iceUnwritableTimeMs 73 + iceConnectionReceivingTimeout = config.iceConnectionReceivingTimeout
  74 + iceServers = config.iceServers
  75 + iceTransportsType = config.iceTransportsType
76 iceUnwritableMinChecks = config.iceUnwritableMinChecks 76 iceUnwritableMinChecks = config.iceUnwritableMinChecks
77 - stunCandidateKeepaliveIntervalMs = config.stunCandidateKeepaliveIntervalMs  
78 - stableWritableConnectionPingIntervalMs = config.stableWritableConnectionPingIntervalMs  
79 - disableIPv6OnWifi = config.disableIPv6OnWifi 77 + iceUnwritableTimeMs = config.iceUnwritableTimeMs
  78 + keyType = config.keyType
80 maxIPv6Networks = config.maxIPv6Networks 79 maxIPv6Networks = config.maxIPv6Networks
81 - enableDscp = config.enableDscp  
82 - enableCpuOveruseDetection = config.enableCpuOveruseDetection  
83 - suspendBelowMinBitrate = config.suspendBelowMinBitrate  
84 - screencastMinBitrate = config.screencastMinBitrate  
85 networkPreference = config.networkPreference 80 networkPreference = config.networkPreference
  81 + offerExtmapAllowMixed = config.offerExtmapAllowMixed
  82 + portAllocatorFlags = config.portAllocatorFlags
  83 + portAllocatorMaxPort = config.portAllocatorMaxPort
  84 + portAllocatorMinPort = config.portAllocatorMinPort
  85 + presumeWritableWhenFullyRelayed = config.presumeWritableWhenFullyRelayed
  86 + pruneTurnPorts = config.pruneTurnPorts
  87 + rtcpMuxPolicy = config.rtcpMuxPolicy
  88 + screencastMinBitrate = config.screencastMinBitrate
86 sdpSemantics = config.sdpSemantics 89 sdpSemantics = config.sdpSemantics
  90 + stableWritableConnectionPingIntervalMs = config.stableWritableConnectionPingIntervalMs
  91 + stunCandidateKeepaliveIntervalMs = config.stunCandidateKeepaliveIntervalMs
  92 + surfaceIceCandidatesOnIceTransportTypeChanged = config.surfaceIceCandidatesOnIceTransportTypeChanged
  93 + suspendBelowMinBitrate = config.suspendBelowMinBitrate
  94 + tcpCandidatePolicy = config.tcpCandidatePolicy
87 turnCustomizer = config.turnCustomizer 95 turnCustomizer = config.turnCustomizer
88 - activeResetSrtpParams = config.activeResetSrtpParams  
89 - cryptoOptions = config.cryptoOptions  
90 turnLoggingId = config.turnLoggingId 96 turnLoggingId = config.turnLoggingId
91 - enableImplicitRollback = config.enableImplicitRollback  
92 - offerExtmapAllowMixed = config.offerExtmapAllowMixed  
93 - enableIceGatheringOnAnyAddressPorts = config.enableIceGatheringOnAnyAddressPorts 97 + turnPortPrunePolicy = config.turnPortPrunePolicy
94 } 98 }