mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine RTC, no trickle for ice-lite, disable algorithms right-now
This commit is contained in:
parent
365e6bb45a
commit
47df22df9e
4 changed files with 60 additions and 35 deletions
|
@ -46,7 +46,7 @@
|
|||
</div>
|
||||
|
||||
<label></label>
|
||||
<video id="rtc_media_player" controls autoplay></video>
|
||||
<video id="rtc_media_player" width="320" controls autoplay></video>
|
||||
|
||||
<footer>
|
||||
<p></p>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</div>
|
||||
|
||||
<label></label>
|
||||
<video id="rtc_media_player" autoplay muted></video>
|
||||
<video id="rtc_media_player" width="320" autoplay muted></video>
|
||||
|
||||
<footer>
|
||||
<p></p>
|
||||
|
@ -71,10 +71,8 @@
|
|||
pc.addTransceiver("video", {direction: "sendonly"});
|
||||
|
||||
var constraints = {
|
||||
"audio": true, "video": {
|
||||
"width": { "min": "480", "max": "720" },
|
||||
"height": { "min": "320", "max": "480" },
|
||||
"frameRate": { "min": "15", "max": "30" }
|
||||
audio: true, video: {
|
||||
height: { max: 320 }
|
||||
}
|
||||
};
|
||||
navigator.mediaDevices.getUserMedia(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue