mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support mock server eip by API
This commit is contained in:
parent
b2f0696976
commit
574ae58adc
5 changed files with 20 additions and 9 deletions
|
@ -94,6 +94,8 @@
|
|||
url += '&' + key + '=' + urlObject.user_query[key];
|
||||
}
|
||||
}
|
||||
// Replace /rtc/v1/play/&k=v to /rtc/v1/play/?k=v
|
||||
url = url.replace(api + '&', api + '?');
|
||||
|
||||
// @see https://github.com/rtcdn/rtcdn-draft
|
||||
var data = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue