mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
parent
6f4584db53
commit
a42cf3ae8d
3 changed files with 11 additions and 2 deletions
|
@ -16,7 +16,7 @@ rtc_media_player: <br>
|
|||
var PeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
|
||||
var SessionDescription = window.RTCSessionDescription || window.mozRTCSessionDescription || window.webkitRTCSessionDescription;
|
||||
|
||||
var url = "http://localhost:1985/api/v1/sdp/";
|
||||
var url = document.location.protocol + "//" + document.location.hostname + ":1985/api/v1/sdp/";
|
||||
|
||||
var method = "POST";
|
||||
var shouldBeAsync = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue