We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6f1fc8 commit f2e0bb1Copy full SHA for f2e0bb1
.changes/revert-stop-transceiver
@@ -0,0 +1 @@
1
+patch type="fixed" "Fixed transceiver crash, reverting video memory leak changes"
Sources/LiveKit/Core/Transport.swift
@@ -323,11 +323,6 @@ extension Transport {
323
}
324
325
func remove(track sender: LKRTCRtpSender) throws {
326
- // Stop the transceiver to release its resources and prevent memory leak
327
- if let transceiver = _pc.transceivers.first(where: { $0.sender == sender }) {
328
- transceiver.stopInternal()
329
- }
330
-
331
guard _pc.removeTrack(sender) else {
332
throw LiveKitError(.webRTC, message: "Failed to remove track")
333
0 commit comments