[feat] update some feature

sync code of  fastrtc,
add text support through datachannel,
fix safari connect problem
support chat without camera or mic
This commit is contained in:
huangbinchao.hbc
2025-03-25 18:05:10 +08:00
parent e1fb40a8a8
commit aefb08150f
222 changed files with 28698 additions and 5889 deletions

View File

@@ -48,6 +48,8 @@ export async function get_video_stream(
return navigator.mediaDevices
.getUserMedia(constraints)
.then((local_stream: MediaStream) => {
// local_stream.removeTrack(local_stream.getVideoTracks()[0])
// local_stream.addTrack(createSimulatedVideoTrack())
set_local_stream(local_stream, video_source);
return local_stream;
});