123456789101112131415161718192021222324252627282930313233343536 |
- // function get_participants(){
- // return APP.store.getState()["features/base/participants"]
- // }
-
-
-
- // will soon ad a more systematic approach (returning a module obj or str) but in the meantime I want to be able to search for these types of changes
- function skew_version_helper(arg) {
- if ( arg == "rmix_any" && (window?.templates_td?.avio || window?.templates_td?.avj_ui || window?.glob_u?.templates?.avj_ui || window?.glob_u?.templates?.avio)){
-
- return {rmix_any:1}
- }
- // body...
- }
-
-
- function get_participants(){
- var o = APP.store.getState()["features/base/participants"]
- // var ret = []
- return [o.local,...o.remote.values()]
- return o
- }
-
-
- function get_local(participants){
- if (!participants){
- participants = get_participants()
- }
- var k,v
- for (v of participants){
- if (v.local){
- return v
- }
- }
- // return APP.store.getState()["features/base/participants"]
- }
|