NPM packagesmediaInterfacesMediaPropsOn this pageInterface: MediaPropsPropertiesdevices• devices: IndexedDevicesCurrent devicediscardMedia• discardMedia: booleanWhen should we discard the requested MediaStreammedia• Optional media: MediaCurrent mediaupdatingMedia• updatingMedia: boolean