Skip to content

Commit

Permalink
[mirotalksfu] - add more sound reactions
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 2, 2025
1 parent 6524df6 commit 0c1dad2
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.73
* @version 1.6.74
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.6.73",
"version": "1.6.74",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.73
* @version 1.6.74
*
*/

Expand Down Expand Up @@ -4619,7 +4619,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.73',
title: 'WebRTC SFU v1.6.74',
html: `
<br />
<div id="about">
Expand Down
16 changes: 15 additions & 1 deletion public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.73
* @version 1.6.74
*
*/

Expand Down Expand Up @@ -7453,13 +7453,27 @@ class RoomClient {
case ':clap:':
this.sound('applause', true, path, ext);
break;
case ':smiley:':
case ':grinning:':
this.sound('smile', true, path, ext);
break;
case ':joy:':
this.sound('laughs', true, path, ext);
break;
case ':tada:':
this.sound('congrats', true, path, ext);
break;
case ':open_mouth:':
this.sound('woah', true, path, ext);
break;
case ':trumpet:':
this.sound('trombone', true, path, ext);
break;
case ':kissing_heart:':
this.sound('kiss', true, path, ext);
break;
case ':heart:':
case ':hearts:':
this.sound('heart', true, path, ext);
break;
// ...
Expand Down
Binary file added public/sounds/emoji/congrats.mp3
Binary file not shown.
Binary file added public/sounds/emoji/kiss.mp3
Binary file not shown.
Binary file added public/sounds/emoji/smile.mp3
Binary file not shown.
Binary file added public/sounds/emoji/woah.mp3
Binary file not shown.

0 comments on commit 0c1dad2

Please sign in to comment.