opentok-ios-sdk-samples-swift icon indicating copy to clipboard operation
opentok-ios-sdk-samples-swift copied to clipboard

Crash when Accessing Streams property of OTSession

Open mehmetbaykar opened this issue 2 years ago • 0 comments

I receive a crash when I try to access the streams property of OTSession. The moment I try to read this value NSDictionary<NSString, OTStream>* _Nonnull streams** the app crashes.

Crash Log: Could not cast value of type 'OTStream' (0x10e60ba28) to 'OTStream' (0x115468e88). dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Xcode version: 13.2 (13C90)

Devices used: iPhone 11 iOS 15.3, iPad Pro (11") 3rd generation 15.3

mehmetbaykar avatar Feb 22 '22 18:02 mehmetbaykar