client-sdk-flutter icon indicating copy to clipboard operation
client-sdk-flutter copied to clipboard

e2ee compatibility with java SDK

Open kendo6666 opened this issue 1 year ago • 0 comments

Describe the bug When e2eeOptions is enabled, the video screen cannot be displayed when connected with the java SDK after upgrading to 2.2.4. Downgrade back to 2.2.2 and everything is OK. But if both ends are flutter SDK, there is no problem.

Platform information iOS SDK ver 2.2.4

      E2EEOptions? e2eeOptions;
      bool e2eeEnabled = false;
      if (widget.e2eeKey != null && widget.e2eeKey!.isNotEmpty) {
        final keyProvider = await BaseKeyProvider.create();
        e2eeOptions = E2EEOptions(keyProvider: keyProvider);
        await keyProvider.setKey(widget.e2eeKey!);
        e2eeEnabled = true;
      }
      
            await _room?.connect(url, token,
          roomOptions: RoomOptions(
              dynacast: true,
              adaptiveStream: true,
              defaultCameraCaptureOptions: const CameraCaptureOptions(params: VideoParametersPresets.h540_169),
              defaultVideoPublishOptions: VideoPublishOptions(
                  simulcast: !e2eeEnabled,
                  videoCodec: e2eeOptions != null ? 'VP8' : 'VP9',
                  backupVideoCodec: BackupVideoCodec(),
                  videoEncoding: videoEncoding),
              e2eeOptions: e2eeOptions));

kendo6666 avatar Sep 20 '24 09:09 kendo6666