A simple WebRTC video chat demo using Spring Boot, Spring Web, and Spring WebSockets.
- Clone the repository
- Run
mvn clean install
to build the project - Run
mvn spring-boot:run
to start the application - Open a second browser window and navigate to
http://localhost:8080/index.html
The application uses Spring WebSockets to establish a two-way communication channel between the client and server. The client sends an offer to the server, which then sends an answer back to the client. Once the offer and answer have been exchanged, the client and server can begin sending video data to each other using WebRTC.