1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refactor the RTC sender audio queue

This commit is contained in:
winlin 2020-05-03 14:28:51 +08:00
parent a23f102874
commit a812183144
4 changed files with 16 additions and 36 deletions

View file

@ -72,9 +72,9 @@
var constraints = {
"audio": true, "video": {
"width": { "min": "480", "max": "1920" },
"height": { "min": "320", "max": "1080" },
"frameRate": { "min": "15", "max": "60" }
"width": { "min": "480", "max": "720" },
"height": { "min": "320", "max": "480" },
"frameRate": { "min": "15", "max": "30" }
}
};
navigator.mediaDevices.getUserMedia(