We want to provide feature similar to discord that will allow us to select input and output device automatically after plugging it in or out based on "Default" setting in operating system.
Simple isDefault flag in MediaDevice will allow users of SDK to improve user experience a lot on desktop platforms.
Case 1: I am using livekit on my desktop app with speakers but I want to use headphones because it is getting too loud around. I cannot use device that was just connected automatically because we dont know if this is what user wants.
Case 2: I selected my headphones before and now I want to remove them. But after unplugging app selects wrong device because does not know which one should be "Default"