firstTrackEncryptionType property
EncryptionType
firstTrackEncryptionType
Implementation
EncryptionType get firstTrackEncryptionType {
if (hasAudio) {
return audioTrackPublications.first.encryptionType;
} else if (hasVideo) {
return videoTrackPublications.first.encryptionType;
} else {
return EncryptionType.kNone;
}
}