I want to have two different computers open a static html page, and be able to communicate to each other via WebRTC over a local area network. There is no internet connection t
You do not need ICE servers in this case. In general, you have the following ICE candidates normally:
So without ICE servers you will have only host candidates generated which is enough in your case because both users are in the same local network.
Although WebRTC enables peer-to-peer communication, it still needs a server for signaling: to enable the exchange of media and network metadata to bootstrap a peer connection.
So the main problem here is that you need to exchange the “offer” and “answer” between endpoints somehow, so each party will have enough information about each other. Normally, some signaling protocol + public server is used for this purpose.
In your case, you have 3 choices: