The webrtc handling, including peer connection lifecycle, RTP depacketizing, RTCP support, timestamp handling now happens in the service process.
The handler process now mostly deals with the Gstreamer pipeline.
The depacketized media is sent from the service to the handler process over HTTP using a simplistic serialization format, and reusing infrastructure from the RTMP implementation.
This allows for better sharing of webrtc resources between sessions, including UDP mix support.
This PR also includes various lifecycle, error handling, and logging fixes.
This splits the ingress WHIP handling in 2 parts:
The depacketized media is sent from the service to the handler process over HTTP using a simplistic serialization format, and reusing infrastructure from the RTMP implementation.
This allows for better sharing of webrtc resources between sessions, including UDP mix support.
This PR also includes various lifecycle, error handling, and logging fixes.