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

Update Usage

This commit is contained in:
winlin 2021-05-26 14:21:23 +08:00
parent bd1ec99d5b
commit c353f1fe57
3 changed files with 5 additions and 0 deletions

View file

@ -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;
};