Skip to content

Commit

Permalink
[mirotalksfu] - add new emoji sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 3, 2025
1 parent 8face93 commit d97ecef
Show file tree
Hide file tree
Showing 5 changed files with 12 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 [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.78
* @version 1.6.79
*
*/

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.78",
"version": "1.6.79",
"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 [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.78
* @version 1.6.79
*
*/

Expand Down Expand Up @@ -4676,7 +4676,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.78',
title: 'WebRTC SFU v1.6.79',
html: `
<br />
<div id="about">
Expand Down
9 changes: 8 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 [email protected] or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - [email protected]
* @version 1.6.78
* @version 1.6.79
*
*/

Expand Down Expand Up @@ -7448,6 +7448,7 @@ class RoomClient {
const ext = '.mp3';
switch (cmd.shortcodes) {
case ':+1:':
case ':ok_hand:':
this.sound('ok', true, path, ext);
break;
case ':clap:':
Expand Down Expand Up @@ -7479,6 +7480,12 @@ class RoomClient {
case ':rocket:':
this.sound('rocket', true, path, ext);
break;
case ':sparkles:':
case ':star:':
case ':star2:':
case ':dizzy:':
this.sound('tinkerbell', true, path, ext);
break;
// ...
default:
break;
Expand Down
Binary file added public/sounds/emoji/tinkerbell.mp3
Binary file not shown.

0 comments on commit d97ecef

Please sign in to comment.