The Gstreamer webrtcbin plugin provides the signalling logic and full-duplex low latency video and/or audio RTP live streaming for a Raspberry Pi IoT device (e.g. RPi3 B+) to operate as a WebRTC endpoint.
Gstreamer webrtcbin demo and installation information can be found at these links:
WebRTC requires HTTPS. A RPi IoT device can use the same self-signed SSL certificate for both the webserver and signalling server (often secure websockets).
WebRTC requires a signalling server. The webrtcbin demo uses a websockets Python signalling server, which can be modified for your application and run on the RPi.
As described in Audio Classification with TensorFlow Artificial Intelligence, a RPi can support WebRTC, video recogntion, and/or AI audio classification, which opens the door to a vast array of meaningful IoT applications.