Instance Method
clearFrameCryptor()
Removes frame crypto installed by either setFrameCryptor(_:) or setFrameCrypto(encrypt:decrypt:getMaxSize:userData:).
@discardableResult @MainActor func clearFrameCryptor() -> Int32Return Value
The RevueKit result code (0 on success).
Discussion
destroy() calls this for you; call it yourself only to stop encrypting during a session. A removed FrameCryptor is kept alive by the SDK until destroy(). A userData from the C callback version is owned by the App: release it only after destroy() returns, because a media thread may still be using it.