@@ -460,21 +460,21 @@ - (nullable RTCFrameCryptorKeyProvider *)getKeyProviderForId:(NSString *)keyProv
460
460
resolve (@{@" result" : @" success" });
461
461
}
462
462
463
- - (NSString *)stringFromState : (FrameCryptionState )state {
463
+ - (NSString *)stringFromState : (RTCFrameCryptorState )state {
464
464
switch (state) {
465
- case FrameCryptionStateNew :
465
+ case RTCFrameCryptorStateNew :
466
466
return @" new" ;
467
- case FrameCryptionStateOk :
467
+ case RTCFrameCryptorStateOk :
468
468
return @" ok" ;
469
- case FrameCryptionStateEncryptionFailed :
469
+ case RTCFrameCryptorStateEncryptionFailed :
470
470
return @" encryptionFailed" ;
471
- case FrameCryptionStateDecryptionFailed :
471
+ case RTCFrameCryptorStateDecryptionFailed :
472
472
return @" decryptionFailed" ;
473
- case FrameCryptionStateMissingKey :
473
+ case RTCFrameCryptorStateMissingKey :
474
474
return @" missingKey" ;
475
- case FrameCryptionStateKeyRatcheted :
475
+ case RTCFrameCryptorStateKeyRatcheted :
476
476
return @" keyRatcheted" ;
477
- case FrameCryptionStateInternalError :
477
+ case RTCFrameCryptorStateInternalError :
478
478
return @" internalError" ;
479
479
default :
480
480
return @" unknown" ;
@@ -485,7 +485,7 @@ - (NSString *)stringFromState:(FrameCryptionState)state {
485
485
486
486
- (void )frameCryptor : (RTC_OBJC_TYPE(RTCFrameCryptor) *)frameCryptor
487
487
didStateChangeWithParticipantId : (NSString *)participantId
488
- withState : (FrameCryptionState )stateChanged {
488
+ withState : (RTCFrameCryptorState )stateChanged {
489
489
id frameCryptorId = objc_getAssociatedObject (frameCryptor, &frameCryptorUUIDKey);
490
490
491
491
if (![frameCryptorId isKindOfClass: [NSString class ]]) {
0 commit comments