This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@MainActor | |
class Mixer: ObservableObject { | |
private var assetWriter: AVAssetWriter? | |
private var videoInput: AVAssetWriterInput? | |
private var audioInput: AVAssetWriterInput? | |
private var pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor? | |
private var startTime: CMTime? | |
private var audioFormatDescription: CMFormatDescription? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import logging | |
import ssl | |
import pyaudio | |
from typing import cast, Dict | |
from qh3.asyncio.client import connect | |
from qh3.asyncio.protocol import QuicConnectionProtocol | |
from qh3.quic.configuration import QuicConfiguration | |
from qh3.quic.events import QuicEvent, StreamDataReceived |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { app, BaseWindow, WebContentsView, dialog } = require('electron'); | |
const path = require('path'); | |
let parentWindow, childWindow; | |
let parentView, childView; | |
let quitting = false; | |
// Wait for the app to be ready | |
app.whenReady().then(() => { | |
createWindows(); |
OlderNewer