mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
change new record event identifier
This commit is contained in:
parent
18fc55e9fd
commit
ff4dc83734
1 changed files with 3 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ import "react-toastify/dist/ReactToastify.css";
|
|||
import { MediaRecorder, register } from "extendable-media-recorder";
|
||||
import { connect } from "extendable-media-recorder-wav-encoder";
|
||||
|
||||
// var socket = io("http://localhost/");
|
||||
var socket = io("https://localport.online/");
|
||||
var socket = io("http://localhost:5000");
|
||||
// var socket = io("https://localport.online/");
|
||||
|
||||
function App() {
|
||||
const [stream, setStream] = useState();
|
||||
|
|
@ -184,7 +184,7 @@ function App() {
|
|||
};
|
||||
|
||||
if (sendRecordingRef.current) {
|
||||
socket.emit("record", JSON.stringify(recordData));
|
||||
socket.emit("newRecording", JSON.stringify(recordData));
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue