Request session.json file when push the publish button

I am proceeding with an example of publishing through socket communication with the media server. We found that pressing the Publish button requests json file on the Network tab. Why is this happening?

How does it affect the procedure in which publishers communicate with media servers?

thank you

That’s how websockets work; you send a HTTP request to the server and you get a HTTP 101 back which will set up the ws communication. WebRTC uses websockets for signaling