Cobrowsing/collaborative browsing ->https://en.wikipedia.org/wiki/Cobrowsing
I am trying to implement Cobrowsing from scratch into my web application.My application is based on PHP.
I have already tried togather.js, but it doesn't mimic the scroll and click actions and lacks community support.
No Information is available on the architecture of developing a co-browsing enabled app on the internet and all supports are paid.
I have found the following links, but I have no knowledge of java. 1)http://www.servletsuite.com/servlets/cobrowse.htm2)Co- browsing implementation in java3)Collaborative Browsing using HTML5 and websockets
I wanted to know, how Cobrowsing works internally. Like what data is shared between the users, how sessions are in sync, can co-browsing be achieved without java?.
Any help is deeply appreciated.
One Approach I can Think of is:
- Monitor DOM changing events and cursor position.
- Sending the event data along with cursor position using RTCDataChannel API(WebRTC)
- Recreate event using Js and event data.
I have successfully established the connection using RTCDataChannel, But I have just come to realize that I can't use JS event object(click event object) from one peer to recreate event at another peer.
Any suggestions what data I need to send to construct Cobrowsing?