You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

misc_conf.js 879B

123456789101112131415161718192021222324252627282930313233343536
  1. // function get_participants(){
  2. // return APP.store.getState()["features/base/participants"]
  3. // }
  4. // 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
  5. function skew_version_helper(arg) {
  6. if ( arg == "rmix_any" && (window?.templates_td?.avio || window?.templates_td?.avj_ui || window?.glob_u?.templates?.avj_ui || window?.glob_u?.templates?.avio)){
  7. return {rmix_any:1}
  8. }
  9. // body...
  10. }
  11. function get_participants(){
  12. var o = APP.store.getState()["features/base/participants"]
  13. // var ret = []
  14. return [o.local,...o.remote.values()]
  15. return o
  16. }
  17. function get_local(participants){
  18. if (!participants){
  19. participants = get_participants()
  20. }
  21. var k,v
  22. for (v of participants){
  23. if (v.local){
  24. return v
  25. }
  26. }
  27. // return APP.store.getState()["features/base/participants"]
  28. }