mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Refine srs.sdk.js
This commit is contained in:
parent
cc52e5b27c
commit
81bda41b31
7 changed files with 83 additions and 46 deletions
|
@ -330,6 +330,8 @@ function SrsRtcPlayerAsync() {
|
|||
await self.pc.setRemoteDescription(
|
||||
new RTCSessionDescription({type: 'answer', sdp: session.sdp})
|
||||
);
|
||||
session.simulator = conf.schema + '//' + conf.urlObject.server + ':' + conf.port + '/rtc/v1/nack/';
|
||||
|
||||
return session;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue