livekit / ingress

Ingest streams (RTMP/WHIP) or files (HLS, MP4) to LiveKit WebRTC
Apache License 2.0
66 stars 24 forks source link

Refactor ingress WHIP support #102

Closed biglittlebigben closed 1 year ago

biglittlebigben commented 1 year ago

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.