Question
I have a question about the future of the chrome.socket API and alternatives for implementing WebRTC signaling in Chrome extensions.
Current Status and Background
We are currently developing a Chrome Extension that operates under Windows 11 SE environment, and we would like to realize real-time video and data communication using WebRTC with multiple monitors in a LAN. In this system, the Chrome extension on the controller side functions as a server for WebRTC signaling (exchange of SDP and ICE Candidate), and the Chrome extension on the monitor side is supposed to connect to it as a client.
Due to limitations of the development environment, it is not possible to set up an external server such as Node.js or Python on the controller side. Therefore, it is necessary to have a TCP socket server function directly within the Chrome extension.
Currently, the only socket API available to Chrome extensions is chrome.socket, which is deprecated.
Questions
Future support and deprecation of the chrome.socket API:.
The chrome.socket API is currently deprecated, but is there any plan to remove it completely from Chrome extensions in the future?
If so, is there a specific timeline for its removal, and are there any plans to provide an alternative API for equivalent low-level network communication functionality (especially TCP server functionality) within Chrome extensions?
Recommended approach for intra-LAN signaling in Chrome extensions:.
Are there any best practices that Google recommends for Chrome extensions to perform WebRTC signaling (SDP or ICE Candidate exchange) with other extensions in the LAN in environments where an external server is not available?
Regarding recommendations for specific environments:.
Are there any recommended approaches to ensure stable intra-LAN communication for Chrome extensions in environments with specific OS constraints (e.g., unavailability of Win32 API), such as Windows 11 SE?
We would be grateful if you could provide us with your official view and development policy to help us build a stable system in the long term under these circumstances.
Yu Tsumu (nifty)