feat: show encoder implementation in Connection Info, VP9 recommended hint

- Connection Info now shows encoder impl (e.g. libvpx, OpenH264,
  ExternalEncoder) on send-side video tracks alongside quality
  limitation reason
- Amber warning "VP9 is recommended" when H.264 is selected
This commit is contained in:
Jannis Braun
2026-03-24 01:06:19 +01:00
parent 65a1fc1402
commit a54dd9084a
3 changed files with 15 additions and 4 deletions
+3
View File
@@ -26,6 +26,7 @@ export interface VideoTrackStat {
participantName: string | null;
bitrate: number;
codec: string | null;
encoderImpl: string | null;
width: number | null;
height: number | null;
fps: number | null;
@@ -362,6 +363,7 @@ export function useTrackStats(enabled: boolean): TrackStatsSnapshot | null {
participantName: null,
bitrate,
codec,
encoderImpl: report.encoderImplementation ?? null,
width,
height,
fps,
@@ -493,6 +495,7 @@ export function useTrackStats(enabled: boolean): TrackStatsSnapshot | null {
participantName: identity.participantName,
bitrate,
codec,
encoderImpl: null,
width,
height,
fps,