I built a PWA to demonstrate fast, offline-enabled search:
shearch.me
This searches all of Shakespeare's plays and poems, including locations and stage directions. Find out more here.
View the console to see logging.
The RTCPeerConnection
objects localConnection
and remoteConnection
are in global scope, so you can inspect them in the console as well.
Code in this example used by kind permission of Vikas Marwaha.
For more information about PeerConnection, see Getting Started With WebRTC.
View source on GitHub