Logo
Explore Help
Register Sign In
ZF/jitsi-meet
1
0
Fork 0
You've already forked jitsi-meet
mirror of https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git synced 2026-05-14 11:27:47 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
7828bf8d461f75bfa1785af66e3e640cf56fc3c8
jitsi-meet/react/features/base/sounds/functions.web.js

10 lines
209 B
JavaScript
Raw Normal View History

fix(RN): bundle sound files in release build On Android the files will be copied to the assets/sounds directory of the SDK bundle on build time. To play the "asset:/" prefix has to be used to locate the files correctly. On iOS each sound file must be added to the SDK's Xcode project in order to be bundled correctly. To playback we need to know the path of the SDK bundle which is now exposed by the AppInfo iOS module.
2018-04-05 14:12:24 -05:00
/**
* Returns the location of the sounds. On Web it's the relative path to
* the sounds folder placed in the source root.
*
* @returns {string}
*/
export function getSoundsPath() {
return 'sounds';
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 192ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API