export default class DeviceSelection { constraints : MediaStreamConstraints ; stream : MediaStream ; groupId : string = '' ; endedCallback ? : undefined | ( ( ) => void ) ; trackMuteCallback ? : undefined | ( ( ) => void ) ; trackUnmuteCallback ? : undefined | ( ( ) => void ) ; matchesConstraints ( constraints ) { return JSON . stringify ( this . constraints ) === JSON . stringify ( constraints ) ; } }