WIP: gadget_officejs: Use webrtc gadget to implement a document viewer for text editor
This merge request aims to implement a webrtc viewer for text editors using the webrtc_gadget where jio and websockets can be used for initial handshaking.
52 if (type === "jio") { 53 config = { 54 type: "query", 55 sub_storage: { 56 type: "uuid", 57 sub_storage: { 58 "type": "dav", 59 "url": "https://softinst67513.host.vifib.net/share/", 60 "basic_login": btoa("admin:vowhkida") 61 } 62 } 63 }; 64 } else { 65 config = {url: "ws://192.168.242.146:9999/"}; 66 } 67 28 if (element_list[i].getAttribute) { 29 result_list.push(element_list[i].getAttribute("data-gadget-scope")); 30 } 31 } 32 return result_list; 33 } 34 35 function updateInfo(gadget) { 36 var scope_list = getWebRTCScopeList(gadget), 37 i, 38 result = ""; 39 for (i = 0; i < scope_list.length; i += 1) { 40 result += gadget.state_parameter_dict.scope_ip[scope_list[i]] + "\n"; 41 } 42 console.log(result); 43 console.log("peer count", i); Added 1 commit:
- 09c9ae60 - gadget_officejs : Add support for Webrtc share configuration
Added 1 commit:
- 674c2378 - erp5_officejs: Add support for ERP5 as handshake option for webrtc page share