mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Tools: Refine random room and display for demo
This commit is contained in:
parent
81a87d07f6
commit
700186b1c8
4 changed files with 6 additions and 6 deletions
|
@ -144,7 +144,7 @@ function SrsRtcPublisherAsync() {
|
|||
|
||||
return {
|
||||
apiUrl: apiUrl, streamUrl: streamUrl, schema: schema, urlObject: urlObject, port: port,
|
||||
tid: new Date().getTime().toString(16)
|
||||
tid: Number(new Date().getTime() + parseInt(String(Math.random() * 10000000000))).toString(16)
|
||||
};
|
||||
},
|
||||
parse: function (url) {
|
||||
|
@ -361,7 +361,7 @@ function SrsRtcPlayerAsync() {
|
|||
|
||||
return {
|
||||
apiUrl: apiUrl, streamUrl: streamUrl, schema: schema, urlObject: urlObject, port: port,
|
||||
tid: new Date().getTime().toString(16)
|
||||
tid: Number(new Date().getTime() + parseInt(String(Math.random() * 10000000000))).toString(16)
|
||||
};
|
||||
},
|
||||
parse: function (url) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue