pion / mediadevices

Go implementation of the MediaDevices API.
https://pion.ly/
MIT License
528 stars 121 forks source link

fix : Turn on the microphone with the current device id #395

Closed zjzhang-cn closed 2 years ago

zjzhang-cn commented 2 years ago

Description

根据DeviceID打开mic,修复多个mic设备的不能选择的bug。 Open microphone with DeviceID. fix the bug that multiple mic devices cannot be selected.

Reference issue

Fixes #...

codecov[bot] commented 2 years ago

Codecov Report

Merging #395 (fa07bcb) into master (0d09f7f) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #395   +/-   ##
=======================================
  Coverage   47.15%   47.15%           
=======================================
  Files          67       67           
  Lines        4390     4390           
=======================================
  Hits         2070     2070           
  Misses       2195     2195           
  Partials      125      125           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d09f7f...fa07bcb. Read the comment docs.