mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support simulate NACK for RTC publisher
This commit is contained in:
parent
4d33070c59
commit
d125116317
6 changed files with 31 additions and 5 deletions
|
@ -48,6 +48,9 @@
|
|||
<label></label>
|
||||
<video id="rtc_media_player" controls autoplay></video>
|
||||
|
||||
<label></label>
|
||||
SessionID: <span id='sessionid'></span>
|
||||
|
||||
<footer>
|
||||
<p></p>
|
||||
<p><a href="https://github.com/ossrs/srs">SRS Team © 2020</a></p>
|
||||
|
@ -115,6 +118,7 @@
|
|||
if (data.code) {
|
||||
reject(data); return;
|
||||
}
|
||||
$('#sessionid').html(data.sessionid);
|
||||
resolve(data.sdp);
|
||||
}).fail(function(reason){
|
||||
reject(reason);
|
||||
|
|
|
@ -48,6 +48,9 @@
|
|||
<label></label>
|
||||
<video id="rtc_media_player" width="320" autoplay muted></video>
|
||||
|
||||
<label></label>
|
||||
SessionID: <span id='sessionid'></span>
|
||||
|
||||
<footer>
|
||||
<p></p>
|
||||
<p><a href="https://github.com/ossrs/srs">SRS Team © 2020</a></p>
|
||||
|
@ -125,6 +128,7 @@
|
|||
if (data.code) {
|
||||
reject(data); return;
|
||||
}
|
||||
$('#sessionid').html(data.sessionid);
|
||||
resolve(data.sdp);
|
||||
}).fail(function(reason){
|
||||
reject(reason);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue