MediaEncryptedEventInit constructor

MediaEncryptedEventInit({
  1. String? initDataType,
  2. ByteBuffer? initData,
})

Implementation

factory MediaEncryptedEventInit(
        {String? initDataType, ByteBuffer? initData}) =>
    MediaEncryptedEventInit._(
        initDataType: initDataType ?? '', initData: initData ?? undefined);