mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the filter of camera and microphone
This commit is contained in:
parent
7ed8cc2b94
commit
ec5e33f3bc
2 changed files with 38 additions and 14 deletions
|
@ -373,7 +373,7 @@
|
|||
}
|
||||
|
||||
function on_user_publish() {
|
||||
if ($("#txt_name").val().trim() == "") {
|
||||
if ($("#txt_name").val() == "") {
|
||||
$("#txt_name").focus().parent().parent().addClass("error");
|
||||
warn(100, "请输入您的名字");
|
||||
return;
|
||||
|
@ -460,7 +460,7 @@
|
|||
|
||||
var chat = {};
|
||||
chat.id = -1;
|
||||
chat.username = $("#txt_name").val().trim();
|
||||
chat.username = $("#txt_name").val();
|
||||
chat.agent = navigator.userAgent;
|
||||
chat.url = url;
|
||||
chat.vcodec = vcodec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue