mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Tools: Update one to one demo
This commit is contained in:
parent
fc23b9e5f5
commit
74043b4153
5 changed files with 73 additions and 21 deletions
|
@ -106,6 +106,7 @@ function SrsRtcSignalingParse(location) {
|
|||
host = host? host.split('&')[0] : location.hostname;
|
||||
|
||||
let room = location.href.split('room=')[1];
|
||||
room = room? room.split('&')[0] : null;
|
||||
|
||||
let display = location.href.split('display=')[1];
|
||||
display = display? display.split('&')[0] : new Date().getTime().toString(16).substr(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue