If you have 2 users which is on the same webpage or url on different computers, how do you establish a data exchange connection between the two pc? Do you use WebRTC or use json file? Example is CubeSlam.
Exchange data between 2 user at the same url
168 Views Asked by Pixeladed At
2
There are 2 best solutions below
Related Questions in WEB
- Settlement Amount of Razorpay Dashboard is not correct
- How can I implement synchronous registration on a website and a forum by linking their databases?
- NextJS 13+ how to use parallel + intercepting routes to create a modal on a page which also stores/syncs state with search params?
- logo image error nextjs notion starter kit with teamspace
- how do i create slider on Wix website builder?
- Why do I get 500 error on Azure after using ViewBag?
- After pg-related pop-up calls and processing, the web application JSESSION is broken
- How can i upload image on Laravel React App
- React Routing in web development using an index template
- Why is my time filter not updating within my Quasar template?
- Why do I have a 403 error when trying to save a website
- Hadoop MiniCluster Web UI
- How to debug flutter web app to check maximum memory consumption issue?
- How to send a HTTP Cookie using the Set-Cookie header over a HTTP connection?
- Is it posible to modify packets that creats by request python module?
Related Questions in WEBRTC
- WebRTC close navigator.getUserMedia correctly
- Android WebRTC compile
- Java-based WebRTC SFU implementation for Spring Boot project
- Web RTC simple peer connection with socket.io could not be established
- WebRTC from Firefox to Android crashes
- How can I connect to a websocket from a vue app that is exposed to the network (yarn dev --host)?
- How to setup multiple peer connection with datachannels?
- Webrtc initial negotiation succeeds but renegotiation fails
- Webrtc Vulnerable Version
- aiortc: Combining multiple mp3 files to be returned as a single MediaStreamTrack
- WebRTC Data Channel is always in connecting state
- WebRTC ICE fails for IOS Browsers
- Need to connect my WebRTC stream(Handled by PeerJS) to my Asterisk server
- aiortc: Recording video on server discards beyond a few seconds
- Android 12+: Microphone stops in WebRTC app within a WebView when screen is locked or user switches apps
Related Questions in DATA-EXCHANGE
- How to integrate Power Automate with BIM360
- Accesses files from outside of the project folder in Angular
- Can't fix `NotFoundException` error when calling SendApiAsset in AWS CLI
- Is Two Way data providing possible in one Snowflake Account between multiple teams from different companies?
- Control anylogic through external programs
- Recovering structs sent over a network
- How to keep track of dirty controls in a dialog
- Comparison of protobuf and arrow
- Lighting diagrams language and notation
- How to create batch process to upload Oracle DB data to AWS Data Exchange?
- Is there a way to return data from the called azure function back to logic app who called it?
- Temporary s3 buckets or different storage methodologies to support AWS batch execution
- What is the equivalent Google Cloud Platform product related to AWS Data Exchange
- How to exchange data between bamboo task and a microservice
- How to send a file from Bamboo task to a our python Microservice
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Cubeslam is a great example of webRTC. It actually has a small note about the technique and informs that they are using webRTC.
webRTC uses peer to peer technique so the stream from your camera never reaches a server. However, to set up the stream you need to do some signaling, and that signaling will be sent via a server.
Example of signaling:
Sending SDP messages (Session Description Protocol) with information of i.e. what will be sent in the stream.
ICE – Candidates is sent in order to find a good path between the two peers. Making sure there’s no firewalls in the way.
Discovery. The unique textstring you see in the URL probably identifies the session and makes it possible for the server to relay the signaling messages to the right peer.
JSONs part in all this is that you can implement the signaling using JSON. But you do not have to.
I think that a good start to know more about webRTC is the slides from the latest Google I/O. It also contains a link to a video of the presntation.