/* * browser-big - WebKitGTK 6.0 (GTK4) page viewer for camera and streaming * * The window, URL bar, downloads, profiles, history and keys all come * from browser_core.c. What is left here is the part that makes camera * capture and video playback actually come up on the first try: * * - a getUserMedia() shim that relaxes over-tight constraints, retries * with progressively looser ones, and keeps the capture stream alive * so the second and third call return instantly * - a startup warm-up of the GStreamer/V4L2 capture stack, so the * page's own getUserMedia() does not pay for device probing * - a media watchdog that notices a stalled