bak
This commit is contained in:
@@ -371,6 +371,11 @@ function SrsRtcPlayerAsync() {
|
||||
await self.pc.setLocalDescription(offer);
|
||||
var session = await new Promise(function (resolve, reject) {
|
||||
// @see https://github.com/rtcdn/rtcdn-draft
|
||||
|
||||
conf.apiUrl = conf.apiUrl.replace('172.16.3.17', '172.16.3.18');
|
||||
conf.streamUrl = conf.streamUrl.replace('172.16.3.17', '172.16.3.18');
|
||||
|
||||
|
||||
var data = {
|
||||
api: conf.apiUrl, tid: conf.tid, streamurl: conf.streamUrl,
|
||||
clientip: null, sdp: offer.sdp
|
||||
|
||||
Reference in New Issue
Block a user