I’m going to ask other people at RICOH about this.
Are you using the code base below as a reference?
NOTE: This is for RICOH’s Cloud service, but shows a good representation of WebRTC for this API.
https://api.ricoh/docs/ricoh-cloud-api-reference/live-streaming/
You can start with that code, get it working with the RICOH Cloud, then move to your own implementation.
The other good reference is this:
That’s not webRTC, but is widely used.