I have not tested
https://github.com/ricohapi/theta-plugins/tree/main/plugins/com.infomorph.theta.live_plugin_x
Developer promotes it as working with X.
If you want a source code, you may get a response if you open an issue on GitHub for GitHub - ricohapi/theta-plugin-webrtc-sample