livekit / ingress

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

Set the source track information in the ingress state #121

Closed biglittlebigben closed 1 year ago

biglittlebigben commented 1 year ago

This gathers information either from the GStreamer stream, or the SDP to populate the audio and video state entries in the ingress state. This useful for debugging, analytics and billing.

This also refactors how state update RPCs are sent, delegating it to the Params object most of the time.

Ingress State updates in the Params object have also been made thread safe.