which version of the SDK are you using? and what are you trying to do?
It's not clear at all where the crash it. If it is indeed within the SDK, can you show a stack trace pointing to where it happened?
c
curved-eve-56695
08/12/2023, 8:41 AM
We just try to unsubscribe from tracks. It's rare case, than we can't provide additional information, it's our users crash reports, but we had it several times.
var specialParticipant: Participant?
if let tracks = specialParticipant?.audioTracks as? [RemoteTrackPublication] {
tracks.forEach { if $0.track?.id != track.id { $0.set(subscribed: false) } }
}
d
dry-elephant-14928
08/13/2023, 7:42 PM
It's still not clear that the cause is from LiveKit SDK. we would need a bit more information in order for us to investigate on the cause.
c
curved-eve-56695
08/14/2023, 9:40 AM
Looks like we had a crash somewhere here, it has different implementation in 1.0.9 and we updated to 1.0.13 and hope that it is solution.