[mirotalk] - #225 fix audio

This commit is contained in:
Miroslav Pejic
2024-03-28 09:34:38 +01:00
parent 602b69e263
commit 0f8388de36
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ dependencies: {
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.3.09
* @version 1.3.10
*
*/
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.3.09",
"version": "1.3.10",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
@@ -46,7 +46,7 @@
"cors": "^2.8.5",
"crypto-js": "^4.2.0",
"dotenv": "^16.4.5",
"express": "^4.19.1",
"express": "^4.19.2",
"jsonwebtoken": "^9.0.2",
"ngrok": "^5.0.0-beta.2",
"openai": "^4.29.2",
+3 -1
View File
@@ -15,7 +15,7 @@
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.3.09
* @version 1.3.10
*
*/
@@ -3371,6 +3371,8 @@ async function loadRemoteMediaStream(stream, peers, peer_id, kind) {
elemDisplay(getId(remoteAudioVolumeId), peer_audio_status);
// Change audio output...
if (sinkId && audioOutputSelect.value) await changeAudioDestination(remoteAudioMedia);
// Send my audio is off
!myAudioStatus && handleAudio(audioBtn, false, false);
break;
default:
break;