Log the MediaStream ID, which is a string, instead of the mediaStream object, which showed up as "[object MediaStream]" in the logs.
Log the MediaStream ID, which is a string, instead of the mediaStream object, which showed up as "[object MediaStream]" in the logs.