API declarations

Dev index Changelog About TODO Recent changes / versions

changelogkit static export (read-only): 3243 symbols from 1 sources.

Supported languages: Swift、JavaScript/TypeScript、Python、C/C++、Kotlin、Java、Go、Rust、C#、Ruby、Dart

Docs/crash_trace.py(16)

_heuristic_demangle

funcapp · Docs/crash_trace.py:80
def _heuristic_demangle(name)

No adjacent doc comment

demangle_swift

funcapp · Docs/crash_trace.py:104
def demangle_swift(name)

No adjacent doc comment

AtosResolver

classapp · Docs/crash_trace.py:197
class AtosResolver

No adjacent doc comment

Members (2)

__init__

funcapp · Docs/crash_trace.py:203
def __init__(self, dwarf_path)

No adjacent doc comment

lookup

funcapp · Docs/crash_trace.py:207
def lookup(self, image_base, runtime_addr, arch="arm64")

No adjacent doc comment

SymbolResolver

classapp · Docs/crash_trace.py:227
class SymbolResolver

No adjacent doc comment

Members (3)

__init__

funcapp · Docs/crash_trace.py:230
def __init__(self, symbols_path, slice_uuid=None, app_name=None)

No adjacent doc comment

_check_text_module

funcapp · Docs/crash_trace.py:294
def _check_text_module(self)

No adjacent doc comment

lookup

funcapp · Docs/crash_trace.py:300
def lookup(self, image_name, image_base, offset=None, runtime_addr=None)

No adjacent doc comment

classify_frame

funcapp · Docs/crash_trace.py:358
def classify_frame(func_name, is_recursive, idx, total)

No adjacent doc comment

build_call_tree

funcapp · Docs/crash_trace.py:381
def build_call_tree(frames_info)

No adjacent doc comment

thread_frames

funcapp · Docs/crash_trace.py:411
def thread_frames(thread, img_map, resolver, app_name)

No adjacent doc comment

deadlock_summary

funcapp · Docs/crash_trace.py:416
def deadlock_summary(crash, img_map, resolver, app_name, ft_idx)

No adjacent doc comment

analyze

funcapp · Docs/crash_trace.py:451
def analyze(ips_path, symbols_path=None, as_json=False)

No adjacent doc comment

Docs/crashlog_analyzer.py(7)
LiveActivityKit/Sources/LiveActivityKit/StreamActivityAttributes.swift(1)

StreamActivityAttributes

public struct StreamActivityAttributes: ActivityAttributes

No adjacent doc comment

Members (3)

ContentState

public struct ContentState: Codable, Hashable

No adjacent doc comment

Members (11)
LiveActivityKit/Sources/LiveActivityKit/StreamActivityLiveView.swift(2)

StreamActivityLiveView

public struct StreamActivityLiveView: View

No adjacent doc comment

Members (2)

StreamActivityElapsedView

public struct StreamActivityElapsedView: View
Members (4)
LiveActivityKit/Sources/LiveActivityKit/StreamStatus.swift(1)
Packages/HaishinKit/Sources/HaishinKit/HaishinKitStubs.swift(14)

CGSize

public struct CGSize: Equatable, Sendable

No adjacent doc comment

Members (4)

VideoCodecSettings

public struct VideoCodecSettings: Sendable

No adjacent doc comment

Members (12)

VideoMixerSettings

public struct VideoMixerSettings: Sendable

No adjacent doc comment

Members (3)

NetworkMonitorReport

public struct NetworkMonitorReport: Sendable

No adjacent doc comment

Members (6)

MediaMixer

open class MediaMixer

No adjacent doc comment

Members (9)
Packages/HaishinKit/Sources/RTMPHaishinKit/RTMPHaishinKitStubs.swift(2)

RTMPConnection

open class RTMPConnection

No adjacent doc comment

Members (4)

RTMPStream

open class RTMPStream: StreamConvertible

No adjacent doc comment

Members (9)
ReplyKIT/AdaptiveVideoBufferManager.swift(2)

AdaptiveVideoBufferManager

public final class AdaptiveVideoBufferManager

No adjacent doc comment

Members (24)

monitorFPSAndAdjust

public func monitorFPSAndAdjust( with sampleBuffer: CMSampleBuffer, rtmpStream: RTMPStream, sendlog: @escaping (String) -> Void )

No adjacent doc comment

ReplyKIT/AudioNoiseFix.swift(5)

AGCProcessor

final class AGCProcessor

No adjacent doc comment

Members (5)

EchoCanceller

final class EchoCanceller

No adjacent doc comment

Members (5)

updateReference

func updateReference(_ ref: UnsafePointer<Float>, count: Int)

No adjacent doc comment

RealTimeNoiseSuppressor

final class RealTimeNoiseSuppressor

No adjacent doc comment

Members (29)

pushToRingBuffer

private func pushToRingBuffer(_ input: UnsafePointer<Float>, count: Int)

No adjacent doc comment

AudioEngine

final class AudioEngine

No adjacent doc comment

Members (5)

init

init(micGain: Float? = nil, echoFix: Bool? = nil, noiseFix: Bool? = nil, agcFix: Bool? = nil, metalAudio: Bool? = nil)

No adjacent doc comment

updateAudioState

func updateAudioState(micGain: Float? = nil, echoFix: Bool? = nil, noiseFix: Bool? = nil, agcFix: Bool? = nil, metalAudio: Bool? = nil)

No adjacent doc comment

process

func process(_ sampleBuffer: CMSampleBuffer, track: AudioTrackType)

No adjacent doc comment

AudioPreProcessor

final class AudioPreProcessor

No adjacent doc comment

Members (19)

updateState

func updateState(micGain: Float? = nil, echoFix: Bool? = nil, noiseFix: Bool? = nil, agcFix: Bool? = nil, metalAudio: Bool? = nil)

No adjacent doc comment

init

init(maxFrameSize: Int = 512,micGain:Float? = nil,echoFix:Bool? = nil, noiseFix:Bool? = nil,agcFix:Bool? = nil,metalAudio:Bool? = nil)

No adjacent doc comment

process

func process(_ sampleBuffer: CMSampleBuffer, track: AudioTrackType)

No adjacent doc comment

applyPostGain

private func applyPostGain(_ buffer: inout [Float], count: Int)

No adjacent doc comment

ReplyKIT/AudioNoiseMetal.swift(3)

GPULatencyTracker

final class GPULatencyTracker

No adjacent doc comment

Members (7)

MetalRealTimeNoiseSuppressor

final class MetalRealTimeNoiseSuppressor

No adjacent doc comment

Members (47)

pushToRingBuffer

private func pushToRingBuffer(_ input: UnsafePointer<Float>, count: Int)

No adjacent doc comment

process

func process(_ ptr: UnsafeMutablePointer<Float>, count: Int, forceCPU: Bool = false)

No adjacent doc comment

fallbackCPUNoiseModel

private func fallbackCPUNoiseModel(split: inout DSPSplitComplex)

No adjacent doc comment

runMetalKernelWithTimeout

private func runMetalKernelWithTimeout(split: inout DSPSplitComplex) -> Bool

No adjacent doc comment

describeCommandBufferError

private func describeCommandBufferError(_ error: Error?) -> String

No adjacent doc comment

ReplyKIT/AudioProcess.swift(12)

rmsSIMD

private func rmsSIMD(from sampleBuffer: CMSampleBuffer) -> Float?

No adjacent doc comment

pcmBitrate

func pcmBitrate(from sampleBuffer: CMSampleBuffer) -> [String:Any]

No adjacent doc comment

formatLinearVolumeForLog

private func formatLinearVolumeForLog(_ value: Float) -> String

No adjacent doc comment

percentageToVolume

func percentageToVolume(_ percentage: Double) -> Double

No adjacent doc comment

AudioProcessorActor

actor AudioProcessorActor

No adjacent doc comment

Members (33)

lastAppRMSUpdateTime

propertyapp · ReplyKIT/AudioProcess.swift:281
private var lastAppRMSUpdateTime: CFTimeInterval

No adjacent doc comment

lastMicRMSUpdateTime

propertyapp · ReplyKIT/AudioProcess.swift:282
private var lastMicRMSUpdateTime: CFTimeInterval

No adjacent doc comment

init

init(mediaMixer: MediaMixer, volumeNotifier: VolumeNotifier, appAddVolume: Float, micAddVolume: Float, appVolume: Float, micVolume: Float, onAudioPage: Bool)

No adjacent doc comment

enqueue

func enqueue(_ sampleBuffer: CMSampleBuffer, trackType: AudioTrackType, originalTime: CMSampleTimingInfo) async

No adjacent doc comment

applyGain

func applyGain(_ sampleBuffer: CMSampleBuffer, trackType: AudioTrackType) -> CMSampleBuffer

No adjacent doc comment

pcmGainFormat

private func pcmGainFormat(_ sampleBuffer: CMSampleBuffer) -> PCMGainFormat?

No adjacent doc comment

logGainPathIfNeeded

private func logGainPathIfNeeded(trackType: AudioTrackType, format: PCMGainFormat, gain: Float, sampleCount: Int)

No adjacent doc comment

logGainPathIfNeeded

private func logGainPathIfNeeded(trackType: AudioTrackType, message: String)

No adjacent doc comment

ensureGainBufferCapacity

private func ensureGainBufferCapacity(_ count: Int)

No adjacent doc comment

processRMS

private func processRMS(_ buffer: CMSampleBuffer, trackType: AudioTrackType, originalTime: CMSampleTimingInfo)

No adjacent doc comment

updateAudioState

func updateAudioState(micGain: Float? = nil, echoFix: Bool? = nil, noiseFix: Bool? = nil, agcFix: Bool? = nil, metalAudio: Bool? = nil)

No adjacent doc comment

AudioProcessor

final class AudioProcessor

No adjacent doc comment

Members (11)

init

init(mediaMixer: MediaMixer, volumeNotifier: VolumeNotifier, appAddVolume: Float, micAddVolume: Float, appVolume: Float, micVolume: Float, onAudioPage: Bool)

No adjacent doc comment

enqueue

func enqueue(_ sampleBuffer: CMSampleBuffer, trackType: AudioTrackType, originalTime: CMSampleTimingInfo)

No adjacent doc comment

updateAudioState

func updateAudioState(micGain: Float? = nil, echoFix: Bool? = nil, noiseFix: Bool? = nil, agcFix: Bool? = nil, metalAudio: Bool? = nil)

No adjacent doc comment

actor = AudioProcessorActor( mediaMixer: mediaMixer, volumeNotifier: volumeNotifier, appAddVolume: appAddVolume, micAddVolume: micAddVolume, appVolume: appVolume, micVolume: micVolume, onAudioPage: onAudioPage )

actor = AudioProcessorActor( mediaMixer: mediaMixer, volumeNotifier: volumeNotifier, appAddVolume: appAddVolume, micAddVolume: micAddVolume, appVolume: appVolume, micVolume: micVolume, onAudioPage: onAudioPage )

No adjacent doc comment

ReplyKIT/BitRateStrategy.swift(1)

MyStreamBitRateStrategy

final actor MyStreamBitRateStrategy: @preconcurrency StreamBitRateStrategy

No adjacent doc comment

Members (12)

adjustBitrate

func adjustBitrate(_ event: HaishinKit.NetworkMonitorEvent, stream: some HaishinKit.StreamConvertible) async

No adjacent doc comment

ReplyKIT/CPURotator.swift(2)

UnsafeSendableValue

private struct UnsafeSendableValue<T>: @unchecked Sendable

No adjacent doc comment

RPVideoRotatorCPU_NV12

final class RPVideoRotatorCPU_NV12: @unchecked Sendable

No adjacent doc comment

Members (13)

rotateAsync

func rotateAsync(sampleBuffer: CMSampleBuffer, angle: RotationAngle, needsRotation: Bool) async -> CMSampleBuffer?

No adjacent doc comment

getReusableBuffer

private func getReusableBuffer(width: Int, height: Int) -> CVPixelBuffer?

No adjacent doc comment

rotateNV12CPU

private func rotateNV12CPU(inPixelBuffer: CVPixelBuffer, outPixelBuffer: CVPixelBuffer, angle: RotationAngle) -> Bool

No adjacent doc comment

rotateNV12CPUWithLetterbox

private func rotateNV12CPUWithLetterbox(inPixelBuffer: CVPixelBuffer, outPixelBuffer: CVPixelBuffer, angle: RotationAngle, scaledW: Int, scaledH: Int, offsetX: Int, offsetY: Int) -> Bool

No adjacent doc comment

rotateAndScaleNV12

private func rotateAndScaleNV12(inPixelBuffer: CVPixelBuffer, outPixelBuffer: CVPixelBuffer, angle: RotationAngle, rotatedW: Int, rotatedH: Int, scaledW: Int, scaledH: Int, offsetX: Int, offsetY: Int) -> Bool

No adjacent doc comment

wrapPixelBuffer

private func wrapPixelBuffer(_ pixelBuffer: CVPixelBuffer, originalSampleBuffer: CMSampleBuffer) -> CMSampleBuffer?

No adjacent doc comment

ReplyKIT/DeviceMotin.swift(1)

DeviceOrientationManager

class DeviceOrientationManager

No adjacent doc comment

Members (10)

currentOrientation

propertyapp · ReplyKIT/DeviceMotin.swift:20
private(set) var currentOrientation: UIDeviceOrientation

No adjacent doc comment

currentOrientation

propertyapp · ReplyKIT/DeviceMotin.swift:33
private(set) var currentOrientation: MacOrientation

No adjacent doc comment

ReplyKIT/Event.swift(9)

formattedTime

funcapp · ReplyKIT/Event.swift:18
func formattedTime() -> String

No adjacent doc comment

RemoteLogger

classapp · ReplyKIT/Event.swift:62
final class RemoteLogger

No adjacent doc comment

Members (12)

buffer

propertyapp · ReplyKIT/Event.swift:63
private var buffer: [[String: Any]]

No adjacent doc comment

flushInterval

propertyapp · ReplyKIT/Event.swift:70
private let flushInterval: TimeInterval

No adjacent doc comment

flushTimer

propertyapp · ReplyKIT/Event.swift:71
private var flushTimer: DispatchSourceTimer?

No adjacent doc comment

addDebugLog

funcapp · ReplyKIT/Event.swift:100
func addDebugLog(title:String = "ReplyKit[Remote]", _ msg:String = "")

No adjacent doc comment

log

funcapp · ReplyKIT/Event.swift:110
func log(title: String, message: String)

No adjacent doc comment

setupFlushTimer

funcapp · ReplyKIT/Event.swift:174
private func setupFlushTimer()

No adjacent doc comment

LogManager

classapp · ReplyKIT/Event.swift:196
final class LogManager

No adjacent doc comment

Members (39)

LogBatcher

classapp · ReplyKIT/Event.swift:202
final class LogBatcher

No adjacent doc comment

Members (5)

counters

propertyapp · ReplyKIT/Event.swift:204
private var counters: [String: Int]

No adjacent doc comment

lastMessages

propertyapp · ReplyKIT/Event.swift:205
private var lastMessages: [String: String]

No adjacent doc comment

add

funcapp · ReplyKIT/Event.swift:207
func add(title: String, message: String)

No adjacent doc comment

localLogBuffer

propertyapp · ReplyKIT/Event.swift:241
private var localLogBuffer: [String]

No adjacent doc comment

maxRingBufferEntries

propertyapp · ReplyKIT/Event.swift:242
private let maxRingBufferEntries

No adjacent doc comment

maxForceFlushLines

propertyapp · ReplyKIT/Event.swift:245
private let maxForceFlushLines

No adjacent doc comment

flushTimer

propertyapp · ReplyKIT/Event.swift:249
private var flushTimer: DispatchSourceTimer?

No adjacent doc comment

lastNotifyTime

propertyapp · ReplyKIT/Event.swift:253
private var lastNotifyTime: Date

No adjacent doc comment

remoteLogger

propertyapp · ReplyKIT/Event.swift:256
private var remoteLogger: RemoteLogger?

No adjacent doc comment

addDebugLog

funcapp · ReplyKIT/Event.swift:305
func addDebugLog(title:String = "ReplyKit[Local]", _ msg:String = "")

No adjacent doc comment

log

funcapp · ReplyKIT/Event.swift:367
func log(title: String = "ReplyKit", message: String, flushImmediately: Bool = false)

No adjacent doc comment

flushLocalLogs

funcapp · ReplyKIT/Event.swift:438
private func flushLocalLogs(forceNotify: Bool = false)

No adjacent doc comment

ioFailureLock

propertyapp · ReplyKIT/Event.swift:469
private let ioFailureLock

No adjacent doc comment

ioFailureCount

propertyapp · ReplyKIT/Event.swift:470
private var ioFailureCount

No adjacent doc comment

ioLastError

propertyapp · ReplyKIT/Event.swift:471
private var ioLastError: String?

No adjacent doc comment

ioFailureFlushItem

propertyapp · ReplyKIT/Event.swift:472
private var ioFailureFlushItem: DispatchWorkItem?

No adjacent doc comment

ioFailureFlushDelay

propertyapp · ReplyKIT/Event.swift:473
private let ioFailureFlushDelay: TimeInterval

No adjacent doc comment

recordIOFailure

funcapp · ReplyKIT/Event.swift:477
private func recordIOFailure(_ context: String, _ error: Error)

flushIOFailures

funcapp · ReplyKIT/Event.swift:489
private func flushIOFailures()

No adjacent doc comment

sealLogBatch

funcapp · ReplyKIT/Event.swift:512
private func sealLogBatch(_ text: String, channel: String)

No adjacent doc comment

writeLogToFile

funcapp · ReplyKIT/Event.swift:545
private func writeLogToFile(_ text: String)

No adjacent doc comment

earlyLogPending

propertyapp · ReplyKIT/Event.swift:554
private var earlyLogPending: [String]

No adjacent doc comment

earlyLogFlushItem

propertyapp · ReplyKIT/Event.swift:555
private var earlyLogFlushItem: DispatchWorkItem?

No adjacent doc comment

earlyLogFlushDelay

propertyapp · ReplyKIT/Event.swift:556
private let earlyLogFlushDelay: TimeInterval

No adjacent doc comment

earlyLogFlushThreshold

propertyapp · ReplyKIT/Event.swift:557
private let earlyLogFlushThreshold

No adjacent doc comment

scheduleEarlyLogFlush

funcapp · ReplyKIT/Event.swift:575
private func scheduleEarlyLogFlush()

No adjacent doc comment

writeEarlyLogToFile

funcapp · ReplyKIT/Event.swift:602
private func writeEarlyLogToFile(_ text: String)

No adjacent doc comment

notifyMainAppIfNeeded

funcapp · ReplyKIT/Event.swift:607
private func notifyMainAppIfNeeded(forceNotify: Bool = false)

No adjacent doc comment

formattedTime

funcapp · ReplyKIT/Event.swift:642
private func formattedTime() -> String

No adjacent doc comment

RPConfig

classapp · ReplyKIT/Event.swift:655
final class RPConfig

No adjacent doc comment

Members (8)

withState

funcapp · ReplyKIT/Event.swift:660
func withState<T>(_ block: (inout State) -> T) -> T

No adjacent doc comment

readState

funcapp · ReplyKIT/Event.swift:666
func readState<T>(_ block: (State) -> T) -> T

No adjacent doc comment

updateAudio

funcapp · ReplyKIT/Event.swift:737
func updateAudio( isOringinAudio:Bool? = nil, AppVolume:Double? = nil, MicVolume:Double? = nil, AppVolumeAdd:Double? = nil, MicVolumeAdd:Double? = nil, enableNoiseFix:Bool? = nil, enableEchoFix:Bool? = nil, enableAGCFix:Bool? = nil, enableMetalAudio:Bool? = nil )

No adjacent doc comment

updateState

funcapp · ReplyKIT/Event.swift:790
func updateState(RTMPURL:String? = nil, RTMPKey:String? = nil, h264level:String? = nil, videoCodec:String? = nil, hevcLevel:String? = nil, BitRateMode:Int? = nil, BufferCount:Int? = nil, BitRate:Int? = nil, ChangeBit:Bool? = nil, isLowLatencyRateControlEnabled:Bool? = nil, allowFrameReordering:Bool? = nil, h264useCAVLC:Bool? = nil, vtSpeedPriority:Bool? = nil, useEnhancedRTMP:Bool? = nil, useBic:Bool? = nil, Rotate:Int? = nil, RotateOriginal:Bool? = nil, ADWidth:Int? = nil, ADHeight:Int? = nil, ODWidth:Int? = nil, ODHeight:Int? = nil, KeyFrameInterval:Int? = nil, enableRTMPLog:Bool? = nil, )

No adjacent doc comment

updateLogFixState

funcapp · ReplyKIT/Event.swift:1030
func updateLogFixState()

No adjacent doc comment

updateONLogFixState

funcapp · ReplyKIT/Event.swift:1034
func updateONLogFixState()

No adjacent doc comment

sendlog

funcapp · ReplyKIT/Event.swift:1039
func sendlog(title: String = "ReplyKit", message: String, flush: Bool = false)

No adjacent doc comment

fixlogSafeKey

funcapp · ReplyKIT/Event.swift:1210
func fixlogSafeKey(_ str:String) -> String

No adjacent doc comment

ReplyKIT/Eventlisten.swift(1)
ReplyKIT/GPUVideoRotator.swift(16)

TimestampDebugger

final class TimestampDebugger

No adjacent doc comment

Members (8)

RotationAngle

enum RotationAngle: UInt32, Codable, CaseIterable, Identifiable, CustomStringConvertible

No adjacent doc comment

RPVideoRotatorNV12BatchQueueOptimized

final class RPVideoRotatorNV12BatchQueueOptimized: @unchecked Sendable

No adjacent doc comment

Members (61)

makeParams

static func makeParams( srcW: UInt32, srcH: UInt32, dstW: UInt32, dstH: UInt32, oDstW: UInt32, oDstH: UInt32, angle: RotationAngle ) -> Params

ReusableOutputSet

final class ReusableOutputSet

No adjacent doc comment

Members (1)

init

init(pixelBuffer: CVPixelBuffer, yTex: MTLTexture, uvTex: MTLTexture, cvY: CVMetalTexture? = nil, cvUV: CVMetalTexture? = nil)

No adjacent doc comment

AsyncSemaphore

actor AsyncSemaphore

No adjacent doc comment

Members (12)

init

init?(dstW: Int = 0, dstH: Int = 0,outW:Int=0, outH:Int=0, debug: Bool = false, maxPoolSize: Int = 10 , useBic:QualityMode = .live ,RotateOriginal:Bool = false )

No adjacent doc comment

nextCommandSnapshot

private func nextCommandSnapshot() -> (id: UInt64, inFlight: Int, submitted: UInt64)

No adjacent doc comment

markCommandCompleted

private func markCommandCompleted(elapsedMs: Double) -> (inFlight: Int, completed: UInt64)

No adjacent doc comment

describeCommandBufferError

private func describeCommandBufferError(_ error: Error?) -> String

No adjacent doc comment

buildComputePipeline

private func buildComputePipeline(functionName: String, store: inout MTLComputePipelineState?) -> Bool

No adjacent doc comment

FrameContext

private final class FrameContext:@unchecked Sendable

No adjacent doc comment

Members (1)

init

init(timing:CMSampleTimingInfo, outSet: RPVideoRotatorNV12BatchQueueOptimized.ReusableOutputSet, inY:CVMetalTexture, inUV:CVMetalTexture )

No adjacent doc comment

CommandCompletionState

private final class CommandCompletionState: @unchecked Sendable

No adjacent doc comment

Members (5)

markCompletion

func markCompletion() -> (shouldResume: Bool, completedAfterTimeout: Bool)

No adjacent doc comment

rotateAsync

func rotateAsync(pixelBuffer: CVPixelBuffer, originalTime: CMSampleTimingInfo, angle: RotationAngle) async -> CMSampleBuffer?

No adjacent doc comment

outputBufferPool

private func outputBufferPool(width: Int, height: Int) -> CVPixelBufferPool?

No adjacent doc comment

getReusableOutput

private func getReusableOutput(width: Int, height: Int) -> ReusableOutputSet?

No adjacent doc comment

makeTexture

func makeTexture(from pixelBuffer: CVPixelBuffer, planeIndex: Int) -> (cv: CVMetalTexture, tex: MTLTexture)?

No adjacent doc comment

pixelFormatDescription

private func pixelFormatDescription(_ pixelBuffer: CVPixelBuffer) -> String

No adjacent doc comment

textureDescription

private func textureDescription(_ texture: MTLTexture) -> String

No adjacent doc comment

wrapPixelBuffer

private func wrapPixelBuffer( _ outSet: ReusableOutputSet, timing: CMSampleTimingInfo ) -> CMSampleBuffer?

fallbackSampleBuffer

private func fallbackSampleBuffer( pixelBuffer: CVPixelBuffer, timing: CMSampleTimingInfo ) -> CMSampleBuffer?

No adjacent doc comment

renderPlaneYUV

func renderPlaneYUV(cmd: MTLCommandBuffer, compute: MTLComputePipelineState, srcY: MTLTexture, srcUV: MTLTexture, dstY: MTLTexture, dstUV: MTLTexture, angle: RotationAngle, overlayEncoded: inout Bool) -> Bool

No adjacent doc comment

paramsForFrame

private func paramsForFrame( srcW: UInt32, srcH: UInt32, dstW: UInt32, dstH: UInt32, angle: RotationAngle ) -> Params
ReplyKIT/MetalContext.swift(1)

MetalContext

final class MetalContext: @unchecked Sendable

No adjacent doc comment

Members (5)

deviceDebugDescription

private func deviceDebugDescription(_ device: MTLDevice) -> String

No adjacent doc comment

ReplyKIT/OutputOverlayMetalRenderer.swift(4)

OutputOverlayMetalRenderer

final class OutputOverlayMetalRenderer: @unchecked Sendable

No adjacent doc comment

Members (36)

rasterizeTimeTexture

private func rasterizeTimeTexture(config: TimeOverlayConfig, second: Int) -> (texture: MTLTexture, size: CGSize)?

No adjacent doc comment

ReplyKIT/ReplayVolumeSynchronizer.swift(1)

ReplayVolumeSynchronizer

actor ReplayVolumeSynchronizer
Members (17)
ReplyKIT/SampleHandler.swift(4)

SampleHandler

class SampleHandler: RPBroadcastSampleHandler , @unchecked Sendable

No adjacent doc comment

Members (112)

lastVideoOrientation

private var lastVideoOrientation: AVCaptureVideoOrientation?

No adjacent doc comment

needsReplayKitDimensionReport

propertyapp · ReplyKIT/SampleHandler.swift:111
private var needsReplayKitDimensionReport

No adjacent doc comment

streamDiagnosticsProbe

propertyapp · ReplyKIT/SampleHandler.swift:121
private var streamDiagnosticsProbe: StreamDiagnosticsProbe?

No adjacent doc comment

streamDiagnosticsTask

propertyapp · ReplyKIT/SampleHandler.swift:122
private var streamDiagnosticsTask: Task<Void, Never>?

No adjacent doc comment

adaptiveBufferManager

propertyapp · ReplyKIT/SampleHandler.swift:135
private var adaptiveBufferManager: AdaptiveVideoBufferManager?

No adjacent doc comment

storedVolumeSync

propertyapp · ReplyKIT/SampleHandler.swift:139
private var storedVolumeSync: ReplayVolumeSynchronizer?

No adjacent doc comment

reloadVideoDimensions

private func reloadVideoDimensions(trigger: String) async -> ( adWidth: Int, adHeight: Int, outWidth: Int, outHeight: Int )?

No adjacent doc comment

applyVideoDimensions

private func applyVideoDimensions(trigger: String) async

No adjacent doc comment

resolveInt

private func resolveInt(_ key: String, fallback: Int) async -> Int

No adjacent doc comment

avOrientation

func avOrientation(from deviceOrientation: UIDeviceOrientation) -> AVCaptureVideoOrientation?

No adjacent doc comment

isLandscape

func isLandscape(_ orientation: AVCaptureVideoOrientation) -> Bool

No adjacent doc comment

updateVideoOrientation

func updateVideoOrientation(from orientation: UIDeviceOrientation) async

No adjacent doc comment

setUserDefalutConfig

func setUserDefalutConfig(urlString:String = "rtmp://192.168.0.106/live" ,streamKey:String = "test")

No adjacent doc comment

applyAllVideoSettings

func applyAllVideoSettings(width: Int, height: Int, stream: RTMPStream? = nil, setSize: Bool = true) async

No adjacent doc comment

resolvedStreamGeometry

private func resolvedStreamGeometry(source: CGSize? = nil) -> CaptureStreamGeometry

ensureVideoProcessor

private func ensureVideoProcessor(_ buffer: CMSampleBuffer, timing: CMSampleTimingInfo)

No adjacent doc comment

ensureAudioProcessor

private func ensureAudioProcessor(_ buffer: CMSampleBuffer, trackType: AudioTrackType, timing: CMSampleTimingInfo)

No adjacent doc comment

notifyReconnectStatus

func notifyReconnectStatus(_ status: ReconnectStatus, attempt: Int = 0)

No adjacent doc comment

broadcastStarted

override func broadcastStarted( withSetupInfo setupInfo: [String : NSObject]? )

No adjacent doc comment

healthSampleProcessedFPS

propertyapp · ReplyKIT/SampleHandler.swift:1770
private var healthSampleProcessedFPS: [Double]

No adjacent doc comment

lastVideoHealthProcessedCount

propertyapp · ReplyKIT/SampleHandler.swift:1775
private var lastVideoHealthProcessedCount: Int

No adjacent doc comment

lastVideoHealthDroppedCount

propertyapp · ReplyKIT/SampleHandler.swift:1776
private var lastVideoHealthDroppedCount: Int

No adjacent doc comment

lastVideoHealthTimeoutCount

propertyapp · ReplyKIT/SampleHandler.swift:1777
private var lastVideoHealthTimeoutCount: UInt64

No adjacent doc comment

audioHealthWindowInterval

propertyapp · ReplyKIT/SampleHandler.swift:1785
private let audioHealthWindowInterval: Double

No adjacent doc comment

audioHealthSamples

propertyapp · ReplyKIT/SampleHandler.swift:1823
private var audioHealthSamples: [AudioHealthSample]

No adjacent doc comment

lastAudioDiagByTrack

propertyapp · ReplyKIT/SampleHandler.swift:1833
private var lastAudioDiagByTrack: [UInt8: AudioDiagCounter]

No adjacent doc comment

lastAudioGapSequence

propertyapp · ReplyKIT/SampleHandler.swift:1834
private var lastAudioGapSequence: [UInt8: UInt64]

No adjacent doc comment

lastAudioDiagnosticsTime

propertyapp · ReplyKIT/SampleHandler.swift:1836
private var lastAudioDiagnosticsTime: Double?

No adjacent doc comment

lastAudioFormats

propertyapp · ReplyKIT/SampleHandler.swift:1837
private var lastAudioFormats: [String: (format: AudioStreamBasicDescription, samples: Int)]

No adjacent doc comment

lastAudioFormatLogTimes

propertyapp · ReplyKIT/SampleHandler.swift:1838
private var lastAudioFormatLogTimes: [String: Double]

No adjacent doc comment

logAudioFormatIfNeeded

private func logAudioFormatIfNeeded(_ buffer: CMSampleBuffer, trackType: AudioTrackType)

accumulateHealthSample

private func accumulateHealthSample( inputFPS: Double, processedFPS: Double, droppedFPS: Double, timeoutDelta: UInt64 ) -> (input: [Double], processed: [Double], dropped: [Double], timeout: UInt64)?

logVideoHealthIfNeeded

private func logVideoHealthIfNeeded(timestamp: CMTime)

No adjacent doc comment

logAudioHealthIfNeeded

private func logAudioHealthIfNeeded(trackType: AudioTrackType, timing: CMSampleTimingInfo)

No adjacent doc comment

finalizeAudioHealthSample

private func finalizeAudioHealthSample( inputElapsed: Double, diagnosticsTime: Double, appFPS: Double, micFPS: Double, appGapMs: Double, micGapMs: Double, appRMS: Double, micRMS: Double, diag: AudioPipelineDiagnostics )

processSampleBuffer

override func processSampleBuffer(_ sampleBuffer: CMSampleBuffer, with sampleBufferType: RPSampleBufferType)

No adjacent doc comment

stat

func stat(_ keyPath: (AudioHealthSample) -> Double) -> (min: Double, avg: Double, max: Double)

No adjacent doc comment

ReplyKIT/SharedOverlayConfig.swift(6)

OverlayAnchor

enum OverlayAnchor: String, Codable, CaseIterable, Identifiable, Hashable

No adjacent doc comment

Members (1)

origin

func origin(container: CGSize, item: CGSize, marginX: CGFloat, marginY: CGFloat, offsetX: CGFloat, offsetY: CGFloat) -> CGPoint

No adjacent doc comment

OverlayConfigStore

enum OverlayConfigStore

No adjacent doc comment

Members (2)

load

static func load(defaults: UserDefaults? = UserDefaults(suiteName: "group.nuclear.liveAPP") ?? .standard) -> OverlaySceneConfig

No adjacent doc comment

save

static func save(_ config: OverlaySceneConfig, defaults: UserDefaults? = UserDefaults(suiteName: "group.nuclear.liveAPP") ?? .standard)

No adjacent doc comment

ReplyKIT/Socket.swift(8)

NWListener.State

extensionapp · ReplyKIT/Socket.swift:12
extension NWListener.State

No adjacent doc comment

Notification.Name

extensionapp · ReplyKIT/Socket.swift:32
extension Notification.Name

No adjacent doc comment

SocketClient.JSONValue

extensionapp · ReplyKIT/Socket.swift:36
extension SocketClient.JSONValue

No adjacent doc comment

VideoHealthPayload

structapp · ReplyKIT/Socket.swift:58
private struct VideoHealthPayload: Encodable

No adjacent doc comment

Members (2)

AudioHealthPayload

structapp · ReplyKIT/Socket.swift:107
private struct AudioHealthPayload: Encodable

No adjacent doc comment

Members (2)

withTimeout

funcapp · ReplyKIT/Socket.swift:183
func withTimeout<T>( _ seconds: TimeInterval, operation: @escaping () async throws -> T ) async throws -> T

No adjacent doc comment

SocketClient

classapp · ReplyKIT/Socket.swift:208
class SocketClient : @unchecked Sendable

No adjacent doc comment

Members (81)

isProcessingBatch

propertyapp · ReplyKIT/Socket.swift:212
private var isProcessingBatch

No adjacent doc comment

didReceiveRTMPInBatch

propertyapp · ReplyKIT/Socket.swift:213
private var didReceiveRTMPInBatch

No adjacent doc comment

didReceiveLogConfigInBatch

propertyapp · ReplyKIT/Socket.swift:214
private var didReceiveLogConfigInBatch

No adjacent doc comment

didReceiveOverlayConfigInBatch

propertyapp · ReplyKIT/Socket.swift:215
private var didReceiveOverlayConfigInBatch

No adjacent doc comment

ContinuationStore

actorapp · ReplyKIT/Socket.swift:218
actor ContinuationStore

No adjacent doc comment

Members (4)

store

propertyapp · ReplyKIT/Socket.swift:219
private var store: [String: CheckedContinuation<Any?, Error>]

No adjacent doc comment

insert

funcapp · ReplyKIT/Socket.swift:221
func insert(_ cont: CheckedContinuation<Any?, Error>, for key: String) -> Bool

No adjacent doc comment

take

funcapp · ReplyKIT/Socket.swift:227
func take(for key: String) -> CheckedContinuation<Any?, Error>?

No adjacent doc comment

continuationStore

propertyapp · ReplyKIT/Socket.swift:239
private let continuationStore

No adjacent doc comment

rtmpBatchContinuation

propertyapp · ReplyKIT/Socket.swift:242
private var rtmpBatchContinuation: CheckedContinuation<Bool, Error>?

No adjacent doc comment

rtmpContinuation

propertyapp · ReplyKIT/Socket.swift:244
private var rtmpContinuation: CheckedContinuation<Bool, Error>?

No adjacent doc comment

logContinuation

propertyapp · ReplyKIT/Socket.swift:246
private var logContinuation: CheckedContinuation<Bool, Error>?

No adjacent doc comment

dictionary

funcapp · ReplyKIT/Socket.swift:253
private func dictionary<T: Encodable>(from payload: T) -> [String: Any]?

No adjacent doc comment

latestVolumeTimestamp

propertyapp · ReplyKIT/Socket.swift:264
private var latestVolumeTimestamp: CFAbsoluteTime

No adjacent doc comment

updateVolumeTimestamp

funcapp · ReplyKIT/Socket.swift:266
func updateVolumeTimestamp()

No adjacent doc comment

isConnection

propertyapp · ReplyKIT/Socket.swift:271
private var isConnection: Bool

No adjacent doc comment

connection

propertyapp · ReplyKIT/Socket.swift:275
private var connection: NWConnection?

No adjacent doc comment

readyContinuation

propertyapp · ReplyKIT/Socket.swift:277
private var readyContinuation: CheckedContinuation<Bool, Never>?

No adjacent doc comment

connectionCreationTime

propertyapp · ReplyKIT/Socket.swift:281
private var connectionCreationTime: Date?

No adjacent doc comment

maxWaitTimeBeforeReconnect

propertyapp · ReplyKIT/Socket.swift:283
private let maxWaitTimeBeforeReconnect: TimeInterval

No adjacent doc comment

pendingBatchEntries

propertyapp · ReplyKIT/Socket.swift:288
private var pendingBatchEntries: [String]

No adjacent doc comment

maxBatchEntries

propertyapp · ReplyKIT/Socket.swift:289
private let maxBatchEntries

No adjacent doc comment

inFlightBatches

propertyapp · ReplyKIT/Socket.swift:291
private var inFlightBatches

No adjacent doc comment

maxInflightBatches

propertyapp · ReplyKIT/Socket.swift:292
private let maxInflightBatches

No adjacent doc comment

batchTimer

propertyapp · ReplyKIT/Socket.swift:293
private var batchTimer: DispatchSourceTimer?

No adjacent doc comment

isProcessingRemoteUpdate

propertyapp · ReplyKIT/Socket.swift:297
private var isProcessingRemoteUpdate

No adjacent doc comment

connect

funcapp · ReplyKIT/Socket.swift:308
func connect(host: String = "localhost" , port: UInt16 = SocketPortSettings.port)

No adjacent doc comment

_connect

funcapp · ReplyKIT/Socket.swift:315
private func _connect(host: String, port: UInt16)

No adjacent doc comment

waitForReady

funcapp · ReplyKIT/Socket.swift:352
func waitForReady(timeout: TimeInterval = 10.0) async -> Bool

No adjacent doc comment

_closeConnection

funcapp · ReplyKIT/Socket.swift:373
private func _closeConnection()

No adjacent doc comment

cleanupConnection

funcapp · ReplyKIT/Socket.swift:435
private func cleanupConnection()

No adjacent doc comment

requestSet

funcapp · ReplyKIT/Socket.swift:457
func requestSet(for key: String, type: String) async throws -> Any?

No adjacent doc comment

requestRTMPKEYAndLog

funcapp · ReplyKIT/Socket.swift:506
func requestRTMPKEYAndLog(timeout: TimeInterval = 15.0) async -> Bool

No adjacent doc comment

_requestRTMPKEYAndLog

funcapp · ReplyKIT/Socket.swift:523
private func _requestRTMPKEYAndLog() async throws -> Bool

No adjacent doc comment

requestRTMPKEY

funcapp · ReplyKIT/Socket.swift:603
func requestRTMPKEY(timeout: TimeInterval = 15.0) async -> Bool

No adjacent doc comment

_requestRTMPKEY

funcapp · ReplyKIT/Socket.swift:621
private func _requestRTMPKEY() async throws -> Bool

No adjacent doc comment

requestLogConfig

funcapp · ReplyKIT/Socket.swift:649
func requestLogConfig(timeout: TimeInterval = 15.0) async -> Bool

No adjacent doc comment

_requestLogConfig

funcapp · ReplyKIT/Socket.swift:666
func _requestLogConfig() async throws -> Bool

No adjacent doc comment

sendAudioLive

funcapp · ReplyKIT/Socket.swift:723
func sendAudioLive(appVol:Float = 1.0, micVol:Float = 1.0,persist:Bool = false)

No adjacent doc comment

sendVideoHealth

funcapp · ReplyKIT/Socket.swift:741
func sendVideoHealth(status: String, inputFPSMin: Double, inputFPSAvg: Double, inputFPSMax: Double, processedFPSMin: Double, processedFPSAvg: Double, processedFPSMax: Double, droppedFPSAvg: Double, latencyAvg: Double, latencyMax: Double, latencyP95: Double, timeoutDelta: UInt64)

No adjacent doc comment

sendAudioHealth

funcapp · ReplyKIT/Socket.swift:775
func sendAudioHealth(status: String, appInputFPSMin: Double, appInputFPSAvg: Double, appInputFPSMax: Double, micInputFPSMin: Double, micInputFPSAvg: Double, micInputFPSMax: Double, appGapMaxMs: Double, alignDroppedPerSec: Double, alignInsertedPerSec: Double, alignFirePerSec: Double, alignDiffMaxSamples: Double, skipInsertedPerSec: Double, overflowDroppedPerSec: Double, resampleNoDataPerSec: Double, mixerOutputFPS: Double, appRMS: Double, micRMS: Double, outChannels: Int, outCh0RMS: Double, outCh1RMS: Double)

No adjacent doc comment

sendSettings

funcapp · ReplyKIT/Socket.swift:827
func sendSettings(key: String, value: Any)

No adjacent doc comment

sendLog

funcapp · ReplyKIT/Socket.swift:842
func sendLog(title: String = "ReplyKitE_Sokcet", message: String)

No adjacent doc comment

maxPendingBytes

propertyapp · ReplyKIT/Socket.swift:853
private let maxPendingBytes

No adjacent doc comment

sendLogBatch

funcapp · ReplyKIT/Socket.swift:855
func sendLogBatch(entries: [String], force: Bool = false)

No adjacent doc comment

_sendBatch

funcapp · ReplyKIT/Socket.swift:918
private func _sendBatch(_ entries: [String])

No adjacent doc comment

maxLogChunkBytes

propertyapp · ReplyKIT/Socket.swift:959
private let maxLogChunkBytes

No adjacent doc comment

_sendLogPayload

funcapp · ReplyKIT/Socket.swift:961
private func _sendLogPayload(title: String, message: String)

No adjacent doc comment

_sendSingleLog

funcapp · ReplyKIT/Socket.swift:986
private func _sendSingleLog(title: String, message: String)

No adjacent doc comment

logTo

funcapp · ReplyKIT/Socket.swift:995
func logTo(_ message:String,flush:Bool = false)

No adjacent doc comment

cancelPendingRTMPBatch

funcapp · ReplyKIT/Socket.swift:1030
func cancelPendingRTMPBatch()

No adjacent doc comment

sendPayload

funcapp · ReplyKIT/Socket.swift:1048
private func sendPayload(_ payload: [String: Any], completion: ((NWError?) -> Void)? = nil)

No adjacent doc comment

sendStreamDiagnostics

funcapp · ReplyKIT/Socket.swift:1070
func sendStreamDiagnostics(_ snapshot: StreamDiagnosticsSnapshot)

sendPayload

funcapp · ReplyKIT/Socket.swift:1078
func sendPayload(_ payload: [String: Any])

No adjacent doc comment

OverlayConfigPayload

structapp · ReplyKIT/Socket.swift:1236
struct OverlayConfigPayload: Codable

No adjacent doc comment

applyRTMP

funcapp · ReplyKIT/Socket.swift:1242
private func applyRTMP(_ c: RTMPConfig)

No adjacent doc comment

handleJSONPacket

funcapp · ReplyKIT/Socket.swift:1359
private func handleJSONPacket(_ data: Data)

No adjacent doc comment

handleSingleJSON

funcapp · ReplyKIT/Socket.swift:1391
private func handleSingleJSON(_ data: Data)

No adjacent doc comment

handleSingleJSONOnQueue

funcapp · ReplyKIT/Socket.swift:1410
private func handleSingleJSONOnQueue(data: Data, type: String)

No adjacent doc comment

processReceiveBuffer

funcapp · ReplyKIT/Socket.swift:1573
private func processReceiveBuffer()

No adjacent doc comment

startReceiveLoop

funcapp · ReplyKIT/Socket.swift:1603
private func startReceiveLoop()

No adjacent doc comment

safeJSONValue

funcapp · ReplyKIT/Socket.swift:1699
private func safeJSONValue(_ value: Any) -> Any

No adjacent doc comment

ReplyKIT/SocketPortSettings.swift(1)
ReplyKIT/Untitled.swift(5)

createPixelBuffer

func createPixelBuffer(width: Int, height: Int, format: OSType, reuse existing: CVPixelBuffer?) -> CVPixelBuffer?

createContext

func createContext(for pixelBuffer: CVPixelBuffer) -> CGContext?

No adjacent doc comment

updatePausedContext

func updatePausedContext(buffer: CVPixelBuffer, context: CGContext, text: String)

No adjacent doc comment

convertBGRAtoNV12

func convertBGRAtoNV12(bgra: CVPixelBuffer, nv12: CVPixelBuffer)

No adjacent doc comment

createSampleBuffer

func createSampleBuffer( from pixelBuffer: CVPixelBuffer, frameIndex: inout Int, timescale: CMTimeScale = 30 ) -> CMSampleBuffer?

No adjacent doc comment

ReplyKIT/VideoProcess.swift(8)

FrameProcessorActor

actor FrameProcessorActor

No adjacent doc comment

Members (35)

gpuRotator

propertyapp · ReplyKIT/VideoProcess.swift:41
private var gpuRotator: RPVideoRotatorNV12BatchQueueOptimized?

No adjacent doc comment

lastKey

propertyapp · ReplyKIT/VideoProcess.swift:43
private var lastKey: (useBic: Bool, dstW: Int, dstH: Int, outW: Int, outH: Int, rotateOriginal: Bool)?

No adjacent doc comment

onPermanentFailure

propertyapp · ReplyKIT/VideoProcess.swift:46
private var onPermanentFailure: (@Sendable () -> Void)?

No adjacent doc comment

lastGoodFormatDescription

propertyapp · ReplyKIT/VideoProcess.swift:52
private var lastGoodFormatDescription: CMVideoFormatDescription?

No adjacent doc comment

setPermanentFailureHandler

nonisolated func setPermanentFailureHandler(_ handler: @Sendable @escaping () -> Void)

No adjacent doc comment

_setPermanentFailureHandler

private func _setPermanentFailureHandler(_ handler: @Sendable @escaping () -> Void)

No adjacent doc comment

processFrame

func processFrame( imageBuffer: CVImageBuffer, originalTime: CMSampleTimingInfo, angle: RotationAngle ) async -> CMSampleBuffer?

No adjacent doc comment

settle

private func settle(_ result: CMSampleBuffer?, originalTime: CMSampleTimingInfo, ownsOutputStorage: Bool) -> CMSampleBuffer?

No adjacent doc comment

storeLastGoodSnapshot

private func storeLastGoodSnapshot(from sampleBuffer: CMSampleBuffer, ownsOutputStorage: Bool)

No adjacent doc comment

makeFallbackSampleBuffer

private func makeFallbackSampleBuffer( pts: CMTime, originalTime: CMSampleTimingInfo ) -> CMSampleBuffer?

No adjacent doc comment

copyPixelBuffer

private func copyPixelBuffer(_ source: CVPixelBuffer) -> CVPixelBuffer?

No adjacent doc comment

getOrCreateGpuRotator

private func getOrCreateGpuRotator() async -> RPVideoRotatorNV12BatchQueueOptimized?

No adjacent doc comment

tryCpuFallback

private func tryCpuFallback( imageBuffer: CVImageBuffer, originalTime: CMSampleTimingInfo, angle: RotationAngle ) async -> CMSampleBuffer?

No adjacent doc comment

wrapAsSampleBuffer

private func wrapAsSampleBuffer(imageBuffer: CVImageBuffer, originalTime: CMSampleTimingInfo) -> CMSampleBuffer?

No adjacent doc comment

updateRotatorDimensions

nonisolated func updateRotatorDimensions(adWidth: Int, adHeight: Int, outWidth: Int, outHeight: Int)

No adjacent doc comment

_updateRotatorDimensions

private func _updateRotatorDimensions(adWidth: Int, adHeight: Int, outWidth: Int, outHeight: Int)

No adjacent doc comment

processingSnapshot

func processingSnapshot() -> (load: VideoProcessingLoadSnapshot?, summary: String)?

diagnostics

func diagnostics(isActive: Bool, processedCount: Int, droppedCount: Int) -> VideoProcessorDiagnostics

No adjacent doc comment

VideoFrameProcessor

final class VideoFrameProcessor

No adjacent doc comment

Members (30)

process

func process(_ sampleBuffer: CMSampleBuffer, originalTime: CMSampleTimingInfo)

No adjacent doc comment

updateRotatorDimensions

func updateRotatorDimensions(adWidth: Int, adHeight: Int, outWidth: Int, outHeight: Int)

No adjacent doc comment

processingSnapshot

func processingSnapshot() async -> (load: VideoProcessingLoadSnapshot?, summary: String)?

stateSnapshot

func stateSnapshot() -> (isActive: Bool, processedCount: Int, droppedCount: Int)

No adjacent doc comment

markDropped

private func markDropped() -> (processedCount: Int, droppedCount: Int)

No adjacent doc comment

actor.setPermanentFailureHandler(onFailure)

actor.setPermanentFailureHandler(onFailure)

No adjacent doc comment

actor.updateRotatorDimensions( adWidth: adWidth, adHeight: adHeight, outWidth: outWidth, outHeight: outHeight )

actor.updateRotatorDimensions( adWidth: adWidth, adHeight: adHeight, outWidth: outWidth, outHeight: outHeight )

No adjacent doc comment

ReplyKITNotification/NotificationViewController.swift(1)

NotificationViewController

class NotificationViewController: UIViewController, UNNotificationContentExtension

No adjacent doc comment

Members (7)
ReplyKITSetupUI/BroadcastSetupViewController.swift(3)
Scripts/app_icon_tool.py(8)

Handler

classapp · Scripts/app_icon_tool.py:134
class Handler(BaseHTTPRequestHandler)

No adjacent doc comment

Members (5)

send

def send(self, status, body, kind='application/json; charset=utf-8')

No adjacent doc comment

Scripts/build_info.py(4)
Scripts/changelog/assets.py(4)
Scripts/changelog/assets/dev.js(11)
Scripts/changelog/assets/file.js(5)
Scripts/changelog/assets/highlight.js(3)
Scripts/changelog/assets/index.js(10)
Scripts/changelog/assets/markdown.js(6)
Scripts/changelog/assets/theme.js(2)
Scripts/changelog/cli.py(5)
Scripts/changelog/devindex.py(16)
Scripts/changelog/server.py(3)

Handler

class Handler(BaseHTTPRequestHandler)

No adjacent doc comment

Members (5)

_send

def _send(self, code, body, ctype="application/json; charset=utf-8")

No adjacent doc comment

Scripts/changelog/storage.py(15)

build_block

def build_block(date_str, title, type_, file_, problem="", root_cause="", changes=None, refs="", time_str="")

No adjacent doc comment

Scripts/check_markdown.py(3)
Scripts/ci_test_summary.py(9)
Scripts/classify_release.py(15)

classify_paths

def classify_paths(paths: list[str], config: dict) -> dict

No adjacent doc comment

labels_from_commits

def labels_from_commits(message_text: str) -> set[str]

No adjacent doc comment

conventional_types

def conventional_types(message_text: str) -> set[str]

No adjacent doc comment

exp_window

def exp_window(history: list[bool], window: int) -> tuple[bool, int]

No adjacent doc comment

build_name

def build_name(tag: str, tiers: list[str], areas: list[str], modifiers: list[str], max_areas: int = 3) -> str

No adjacent doc comment

changed_paths

def changed_paths(root: Path, from_ref: str | None, to_ref: str) -> list[str]

No adjacent doc comment

commit_text

def commit_text(root: Path, from_ref: str | None, to_ref: str) -> str

No adjacent doc comment

history_core_flags

def history_core_flags(root: Path, tags: list[str], current_index: int, window: int, config: dict) -> list[bool]

No adjacent doc comment

classify

def classify(root: Path, tag: str, config: dict, exp_window_size: int, from_tag: str | None = None) -> dict

No adjacent doc comment

Scripts/diagnostic_viewer.py(11)

ViewerHandler

class ViewerHandler(BaseHTTPRequestHandler)

No adjacent doc comment

Members (5)

log_message

def log_message(self, format: str, *args) -> None:  # noqa: A002,A003

No adjacent doc comment

bind_server

def bind_server(host: str, start_port: int, attempts: int = 20) -> ThreadingHTTPServer

No adjacent doc comment

serve

def serve(path: Path, host: str, port: int, open_browser: bool) -> None

No adjacent doc comment

Scripts/docc_postprocess.py(6)

write_home

def write_home(site, modules, template_path=DEFAULT_TEMPLATE)

No adjacent doc comment

Scripts/inspect_app_bundle.py(9)
Scripts/select_test_simulator.py(10)

ordered_candidates

def ordered_candidates(devices, destinations, runtimes, sdk_version=None)

No adjacent doc comment

Scripts/test_app_icon_tool.py(1)

IconToolTests

class IconToolTests(unittest.TestCase)

No adjacent doc comment

Members (5)

test_preview_then_apply_preserves_source_and_backup

def test_preview_then_apply_preserves_source_and_backup(self)

No adjacent doc comment

test_rejects_transparency_and_path_escape

def test_rejects_transparency_and_path_escape(self)

No adjacent doc comment

test_source_change_requires_new_preview

def test_source_change_requires_new_preview(self)

No adjacent doc comment

Scripts/test_build_info.py(2)

BuildInfoTests

class BuildInfoTests(unittest.TestCase)

No adjacent doc comment

Members (8)

test_missing_source_is_unknown_not_ci_sha

def test_missing_source_is_unknown_not_ci_sha(self)

No adjacent doc comment

test_project_lock_wins_over_root_lock

def test_project_lock_wins_over_root_lock(self)

No adjacent doc comment

test_matching_and_modified_checkout_are_distinct

def test_matching_and_modified_checkout_are_distinct(self)

No adjacent doc comment

test_mismatch_is_not_reported_as_verified

def test_mismatch_is_not_reported_as_verified(self)

No adjacent doc comment

test_real_git_dirty_and_nested_nonrepository

def test_real_git_dirty_and_nested_nonrepository(self)

No adjacent doc comment

test_malformed_lock_and_distinct_build_ids

def test_malformed_lock_and_distinct_build_ids(self)

No adjacent doc comment

Scripts/test_ci_test_summary.py(1)

SummaryTests

class SummaryTests(unittest.TestCase)

No adjacent doc comment

Members (6)

test_parameterized_issues_are_not_extra_failed_tests

def test_parameterized_issues_are_not_extra_failed_tests(self)

No adjacent doc comment

test_caught_error_is_a_test_issue_not_compile_error

def test_caught_error_is_a_test_issue_not_compile_error(self)

No adjacent doc comment

test_overall_pass_is_not_a_test_function

def test_overall_pass_is_not_a_test_function(self)

No adjacent doc comment

test_compile_failure_keeps_file_location

def test_compile_failure_keeps_file_location(self)

No adjacent doc comment

Scripts/test_classify_release.py(1)

ReleaseClassifierTests

class ReleaseClassifierTests(unittest.TestCase)

No adjacent doc comment

Members (7)

test_exp_window_counts_current_and_previous_four

def test_exp_window_counts_current_and_previous_four(self)

No adjacent doc comment

Scripts/test_dev_index.py(1)

IndexTests

class IndexTests(unittest.TestCase)

No adjacent doc comment

Members (6)

test_source_and_missing_file

def test_source_and_missing_file(self)

No adjacent doc comment

Scripts/test_diagnostic_viewer.py(1)

DiagnosticViewerTests

class DiagnosticViewerTests(unittest.TestCase)

No adjacent doc comment

Members (6)

test_cumulative_dropped_counter_does_not_mark_every_line

def test_cumulative_dropped_counter_does_not_mark_every_line(self)

No adjacent doc comment

test_summary_counts_categories_and_sessions

def test_summary_counts_categories_and_sessions(self)

No adjacent doc comment

Scripts/test_inspect_app_bundle.py(1)

BundleReportTests

class BundleReportTests(unittest.TestCase)

No adjacent doc comment

Members (10)

test_expected_exclusions_report_included_and_excluded

def test_expected_exclusions_report_included_and_excluded(self)

No adjacent doc comment

test_markdown_does_not_show_per_file_zip_sizes

def test_markdown_does_not_show_per_file_zip_sizes(self)

No adjacent doc comment

Scripts/test_select_test_simulator.py(1)

SelectionTests

class SelectionTests(unittest.TestCase)

No adjacent doc comment

Members (10)

test_missing_runtime_is_ignored_even_if_device_says_available

def test_missing_runtime_is_ignored_even_if_device_says_available(self)

No adjacent doc comment

Scripts/test_update_altstore_source.py(2)

AltStoreSourceTests

class AltStoreSourceTests(unittest.TestCase)

No adjacent doc comment

Members (7)

test_same_version_and_build_replaces_instead_of_duplicating

def test_same_version_and_build_replaces_instead_of_duplicating(self)

No adjacent doc comment

Scripts/update_altstore_source.py(8)

make_entry

def make_entry(*, tag: str, version: str, build: str, size: int, repo: str, date: str, min_os: str, description: str = "") -> dict

No adjacent doc comment

update_source

def update_source(source: dict, *, bundle_id: str, entry: dict, max_versions: int) -> dict

No adjacent doc comment

Scripts/update_pbxproj.py(4)
Scripts/validate_pages.py(3)

target_exists

def target_exists(base: Path, target: Path) -> bool

No adjacent doc comment

SharedCapture/AudioControlSettings.swift(1)
SharedCapture/AudioTimelineObservation.swift(2)

AudioTimelineObservation

struct AudioTimelineObservation
Members (9)
SharedCapture/CaptureLease.swift(1)
SharedCapture/CaptureMailbox.swift(1)

CaptureMailbox

final class CaptureMailbox<Value: Sendable>: @unchecked Sendable
Members (16)
SharedCapture/CaptureMediaPipeline.swift(1)
SharedCapture/DiagnosticAge.swift(1)
SharedCapture/H264EncodingProfile.swift(1)
SharedCapture/ProcessingInFlightTracker.swift(1)

ProcessingInFlightTracker

final class ProcessingInFlightTracker: @unchecked Sendable
Members (20)
SharedCapture/RuntimeDebugConfig.swift(1)

RuntimeDebugConfig

struct RuntimeDebugConfig: Codable, Equatable, Sendable
Members (5)

init

init(version: Int, rotateDebug: Bool, timeDebug: Bool, pipelineLog: Bool, socketLog: Bool, rotation: Int = 90, rotateOriginal: Bool = false, includesGeometry: Bool = false)

No adjacent doc comment

SharedCapture/SealedLogAccess.swift(1)
SharedCapture/StreamAudioBitrate.swift(1)
SharedCapture/StreamDiagnostics.swift(3)

StreamDiagnosticsSnapshot

struct StreamDiagnosticsSnapshot: Codable, Sendable
Members (4)

StreamDiagnosticsProbe

final class StreamDiagnosticsProbe: MediaMixerOutput, @unchecked Sendable
Members (17)
SharedCapture/StreamGeometry.swift(4)
SharedCapture/VideoInputBufferSettings.swift(1)
SharedCapture/VideoProcessingLoadSnapshot.swift(1)
SharedCapture/VideoStreamPolicies.swift(2)
analyze_flv.py(2)

parse_flv

funcapp · analyze_flv.py:3
def parse_flv(path)

No adjacent doc comment

analyze

funcapp · analyze_flv.py:74
def analyze(name, pts, sizes, frame_ms)

No adjacent doc comment

liveAPP/AboutBuildView.swift(1)
liveAPP/AppLanguage.swift(1)
liveAPP/AppSession.swift(1)
liveAPP/Audio/AudioControlCoordinator.swift(1)
liveAPP/Audio/AudioLogFormatting.swift(1)
liveAPP/Audio/AudioMeterPCM.swift(2)
liveAPP/Audio/LiveVolumeModel.swift(2)

LiveVolumeModel

final class LiveVolumeModel: ObservableObject

No adjacent doc comment

Members (12)
liveAPP/Audio/LiveVolumeView.swift(8)

LiveVolumeView

struct LiveVolumeView: View
Members (5)

channel

private func channel(title: LocalizedStringKey, value: Binding<Double>, measured: Double, color: Color, notification: String) -> some View
liveAPP/BackgroundTaskManager.swift(1)

BackgroundTaskManager

final class BackgroundTaskManager

No adjacent doc comment

Members (10)
liveAPP/BuildInformation.swift(1)

BuildInformation

struct BuildInformation: Decodable, Sendable
Members (3)

modifications

private func modifications(dirty: Bool?, untracked: Int?, modified: Int?) -> String

No adjacent doc comment

liveAPP/Capture/AVLagDiagnostics.swift(2)

AVLagDiagnostics

final class AVLagDiagnostics: @unchecked Sendable
Members (23)
liveAPP/Capture/AVLagModel.swift(1)

AVLagModel

final class AVLagModel: ObservableObject
Members (28)

persist

private func persist(session: String, startedAt: Date, segmentIndex: Int, segmentStartedAt: Date, segmentEndedAt: Date?, complete: Bool, sessionComplete: Bool, truncatedBefore: Bool, samples: [AVLagObservation])

No adjacent doc comment

liveAPP/Capture/AVLagReportStore.swift(6)

AVLagReportStore

actor AVLagReportStore
Members (22)
liveAPP/Capture/AVLagReportView.swift(1)

AVLagReportView

struct AVLagReportView: View
Members (4)
liveAPP/Capture/AVLagSettings.swift(2)
liveAPP/Capture/AVLagSettingsView.swift(1)

AVLagSettingsView

struct AVLagSettingsView: View

No adjacent doc comment

Members (4)
liveAPP/Capture/AVLagStoredSessionView.swift(1)
liveAPP/Capture/CaptureAudioOwnership.swift(1)

CaptureAudioOwnership

final class CaptureAudioOwnership: @unchecked Sendable
Members (5)
liveAPP/Capture/CaptureCallbackDiagnostics.swift(2)

CaptureCallbackDiagnostics

final class CaptureCallbackDiagnostics: @unchecked Sendable
Members (7)
liveAPP/Capture/CaptureCoordinator.swift(15)
liveAPP/Capture/CaptureErrorDiagnostics.swift(1)

CaptureErrorDiagnostics

enum CaptureErrorDiagnostics
Members (3)
liveAPP/Capture/CaptureSessionState.swift(7)

CaptureSessionState

struct CaptureSessionState
Members (5)

LocalRecording

struct LocalRecording: Identifiable, Codable

No adjacent doc comment

Members (3)
liveAPP/Capture/CaptureStreamTelemetry.swift(2)

CaptureStreamTelemetry

struct CaptureStreamTelemetry: Equatable, Sendable
Members (3)
liveAPP/Capture/DirectRecordingSettings.swift(2)
liveAPP/Capture/RecordingCompressionSettings.swift(3)

RecordingCompressionSettings

struct RecordingCompressionSettings: Sendable
Members (3)

init

init(enabled: Bool, hevc: Bool, megabits: Int, longestEdge: Int, fpsLimit: Int, systemQuality: Bool = false, multiPass: Bool = false, boundingSize: CGSize? = nil, videoBitrate: Int? = nil)

No adjacent doc comment

liveAPP/Capture/RecordingDetailsView.swift(1)

RecordingFileDetails

struct RecordingFileDetails
Members (7)
liveAPP/Capture/RecordingGroup.swift(1)
liveAPP/Capture/RecordingGroupMerger.swift(2)
liveAPP/Capture/RecordingLibrary.swift(21)

recordSourceRange

func recordSourceRange(_ id: UUID, sourceStartPTS: Double?, sourceEndPTS: Double?, sourceAudioStartPTS: Double? = nil, writeToDisk: Bool = true)

update

func update(_ id: UUID, phase: RecordingPhase? = nil, duration: Double, bytes: Int64, message: String? = nil)

No adjacent doc comment

liveAPP/Capture/RecordingOrientationCorrector.swift(1)

RecordingOrientationCorrector

enum RecordingOrientationCorrector
Members (3)

correct

static func correct(url: URL, timeline: RecordingOrientationTimeline, policy: RecordingOrientationPolicy = .automatic, compression: RecordingCompressionSettings? = nil) async throws -> String

No adjacent doc comment

liveAPP/Capture/RecordingOrientationTimeline.swift(3)

RecordingOrientationTimeline

final class RecordingOrientationTimeline: @unchecked Sendable
Members (8)
liveAPP/Capture/RecordingPCMSlicer.swift(2)
liveAPP/Capture/RecordingStorageMigration.swift(1)
liveAPP/Capture/RecordingTranscoder.swift(1)

RecordingTranscoder

enum RecordingTranscoder
Members (11)

compress

static func compress(url: URL, asset: AVAsset, videoComposition: AVVideoComposition? = nil, settings: RecordingCompressionSettings, destination: URL? = nil, audioMode: AudioMode = .preserve, audioBitrate: Int = 128000, qualityPreset: QualityPreset? = nil, colorMode: CompressionColorMode = .automatic, progress: (@Sendable (Double) -> Void)? = nil) async throws -> String

exportSystemQuality

private static func exportSystemQuality(url: URL, asset: AVAsset, composition: AVVideoComposition?, settings: RecordingCompressionSettings, originalBytes: Int, duration: CMTime, destination: URL? = nil, qualityPreset: QualityPreset? = nil) async throws -> String
liveAPP/Capture/RecordingVideoCodec.swift(1)
liveAPP/Capture/ScreenAudioProbe.swift(1)

ScreenAudioProbe

final class ScreenAudioProbe: MediaMixerOutput, @unchecked Sendable
Members (20)
liveAPP/Capture/ScreenCaptureSource.swift(5)

FinishResumeOnce

private final class FinishResumeOnce: @unchecked Sendable
Members (4)

ScreenSamplePump

private final class ScreenSamplePump: NSObject, SCStreamOutput, @unchecked Sendable
Members (72)

init

init(url: String, key: String, mode: CaptureWorkMode, publishingChanged: @escaping @MainActor (Bool, String?) -> Void, telemetryChanged: @escaping @MainActor (CaptureStreamTelemetry) -> Void, update: @escaping @MainActor (CapturePhase, String?) -> Void)

No adjacent doc comment

contentSharingPicker

nonisolated func contentSharingPicker(_ picker: SCContentSharingPicker, didUpdateWith filter: SCContentFilter, for stream: SCStream?)

No adjacent doc comment

liveAPP/Capture/ScreenOverlayComposer.swift(2)

ScreenOverlayComposer

final class ScreenOverlayComposer: @unchecked Sendable
Members (14)
liveAPP/Capture/ScreenRecordingOrientationObserver.swift(2)

ScreenRecordingOrientationObserver

final class ScreenRecordingOrientationObserver: NSObject, SCStreamOutput, @unchecked Sendable

No adjacent doc comment

Members (13)
liveAPP/Capture/ScreenRecordingSession.swift(21)

init

init(orientation: RecordingOrientationTimeline, policy: RecordingOrientationPolicy, failed: @escaping @MainActor (String) -> Void) throws

No adjacent doc comment

ScreenRecordingCodecSupport

enum ScreenRecordingCodecSupport
Members (3)
liveAPP/Capture/ScreenStreamVideoRotator.swift(1)

ScreenStreamVideoRotator

final class ScreenStreamVideoRotator: @unchecked Sendable
Members (13)
liveAPP/Capture/SegmentedRecordingRouter.swift(1)

SegmentedRecordingWriter

actor SegmentedRecordingWriter
Members (14)
liveAPP/Capture/SegmentedRecordingWriter.swift(3)

SegmentedRecordingSink

final class SegmentedRecordingSink: MediaMixerOutput, @unchecked Sendable
Members (7)

RecordingSegmentWriter

actor RecordingSegmentWriter
Members (30)
liveAPP/Capture/StreamFramePolicy.swift(1)
liveAPP/Capture/VideoProcessingDiagnostics.swift(4)

VideoProcessingDiagnostics

final class VideoProcessingDiagnostics: @unchecked Sendable
Members (22)

record

func record(inputPTS: Double, outputPTS: Double?, elapsed: Double, bypass: Bool, configuration: VideoProcessingFrameInfo, error: String?, completedAt now: Double = ProcessInfo.processInfo.systemUptime)
liveAPP/Components/AnimatedButton.swift(1)
liveAPP/Compression/CompressedVideoLibraryView.swift(2)

CompressedVideoLibraryView

struct CompressedVideoLibraryView: View
Members (6)
liveAPP/Compression/CompressionColor.swift(2)
liveAPP/Compression/VideoCompressionModel.swift(13)

start

func start(settings: RecordingCompressionSettings, audio: RecordingTranscoder.AudioMode, audioBitrate: Int = 128000, qualityPreset: RecordingTranscoder.QualityPreset? = nil, colorMode: CompressionColorMode = .automatic)
liveAPP/Compression/VideoCompressionView.swift(2)

VideoCompressionView

struct VideoCompressionView: View
Members (5)
liveAPP/Compression/VideoEncoderCapabilities.swift(1)
liveAPP/Config.swift(3)

ConfigManager

classapp · liveAPP/Config.swift:11
class ConfigManager<Key: Hashable & Codable, Value: Codable>: ObservableObject

No adjacent doc comment

Members (9)

layers

propertyapp · liveAPP/Config.swift:13
private var layers: [[Key: Value]]

No adjacent doc comment

userDefaultsKey

propertyapp · liveAPP/Config.swift:15
private let userDefaultsKey

No adjacent doc comment

saveUserConfig

funcapp · liveAPP/Config.swift:45
private func saveUserConfig(_ config: [Key: Value])

No adjacent doc comment

loadUserConfig

funcapp · liveAPP/Config.swift:52
private func loadUserConfig()

No adjacent doc comment

StreamConfig

structapp · liveAPP/Config.swift:61
struct StreamConfig: Identifiable, Codable

No adjacent doc comment

Members (1)

init

initapp · liveAPP/Config.swift:67
init(id: UUID = UUID(), name: String, rtmpURL: String, streamKey: String)

No adjacent doc comment

StreamConfigManager

classapp · liveAPP/Config.swift:75
class StreamConfigManager: ObservableObject

No adjacent doc comment

Members (12)

storage

propertyapp · liveAPP/Config.swift:82
private let storage: UserDefaults

No adjacent doc comment

endpointStorage

propertyapp · liveAPP/Config.swift:83
private let endpointStorage: UserDefaults

No adjacent doc comment

init

initapp · liveAPP/Config.swift:86
init(storage: UserDefaults = .standard, endpointStorage: UserDefaults? = userDefaults)

addConfig

funcapp · liveAPP/Config.swift:92
func addConfig(_ config: StreamConfig)

No adjacent doc comment

removeConfig

funcapp · liveAPP/Config.swift:97
func removeConfig(_ config: StreamConfig)

No adjacent doc comment

updateConfig

funcapp · liveAPP/Config.swift:109
func updateConfig(_ config: StreamConfig)

No adjacent doc comment

setActiveConfig

funcapp · liveAPP/Config.swift:127
func setActiveConfig(_ config: StreamConfig)

No adjacent doc comment

liveAPP/ContentView.swift(1)
liveAPP/DiagnosticCounterRate.swift(1)
liveAPP/ExternalLogTransportView.swift(1)
liveAPP/FileLogView.swift(11)

FileLogView

struct FileLogView: View

No adjacent doc comment

Members (4)

LogVisibleLinesKey

structapp · liveAPP/FileLogView.swift:333
private struct LogVisibleLinesKey: PreferenceKey
Members (1)

reduce

static func reduce(value: inout [Int: CGRect], nextValue: () -> [Int: CGRect])

No adjacent doc comment

LogSelectionTextView

structapp · liveAPP/FileLogView.swift:341
private struct LogSelectionTextView: UIViewRepresentable
Members (2)

updateUIView

func updateUIView(_ view: UITextView, context: Context)

No adjacent doc comment

liveAPP/Home/BitrateManager.swift(4)
liveAPP/Home/BroadcastButton.swift(1)

BroadcastButton

struct BroadcastButton: UIViewRepresentable
Members (6)

Coordinator

class Coordinator: NSObject

No adjacent doc comment

Members (5)
liveAPP/Home/EncodingSettingsView.swift(1)

EncodingSettingsView

struct EncodingSettingsView: View
Members (11)

inputBufferRow

private func inputBufferRow(_ title: String, budget: Binding<Int>, duration: Binding<Int>, budgets: [Int], durations: [Int]) -> some View
liveAPP/Home/H264EncoderCapabilities.swift(3)
liveAPP/Home/HomeView.swift(2)
liveAPP/Home/HomeView_Cards.swift(1)
liveAPP/Home/RTMPPresetManagementView.swift(2)
liveAPP/Home/RTMPPresets.swift(2)

RTMPPresetStore

final class RTMPPresetStore: ObservableObject
Members (15)
liveAPP/Home/StreamConfigurationForm.swift(4)

FormView

struct FormView: View
Members (5)

RTMPPresetExportDocument

struct RTMPPresetExportDocument: FileDocument
Members (3)
liveAPP/Home/VideoProfiles.swift(1)
liveAPP/ImageDataURI.swift(2)
liveAPP/LogArchiveStore.swift(1)

LogArchiveStore

enum LogArchiveStore
Members (4)
liveAPP/LogDiagnosticExport.swift(5)
liveAPP/LogFileReader.swift(2)

LogFileReader

final class LogFileReader
Members (8)

page

func page(url: URL, start: Int?, expectedGeneration: Int?) throws -> LogFilePage

No adjacent doc comment

liveAPP/LogPresentation.swift(2)
liveAPP/LogRetention.swift(1)
liveAPP/Logs/LogView.swift(2)
liveAPP/Mac.swift(3)

BroadcastButtonMac

structapp · liveAPP/Mac.swift:6
struct BroadcastButtonMac: View

No adjacent doc comment

Members (2)

startBroadcast

funcapp · liveAPP/Mac.swift:20
func startBroadcast()

No adjacent doc comment

Coordinator

classapp · liveAPP/Mac.swift:25
class Coordinator: ObservableObject

No adjacent doc comment

Members (1)

init

initapp · liveAPP/Mac.swift:29
init(rtmpURL: String = "", rtmpKey: String = "")

No adjacent doc comment

MacScreenBroadcaster

classapp · liveAPP/Mac.swift:37
class MacScreenBroadcaster: NSObject

No adjacent doc comment

Members (5)

captureSession

propertyapp · liveAPP/Mac.swift:38
private let captureSession

No adjacent doc comment

rtmpURL

propertyapp · liveAPP/Mac.swift:39
private var rtmpURL: String

No adjacent doc comment

rtmpKey

propertyapp · liveAPP/Mac.swift:40
private var rtmpKey: String

No adjacent doc comment

init

initapp · liveAPP/Mac.swift:42
init(rtmpURL: String, rtmpKey: String)

No adjacent doc comment

startBroadcast

funcapp · liveAPP/Mac.swift:48
func startBroadcast()

No adjacent doc comment

MacScreenBroadcaster

extensionapp · liveAPP/Mac.swift:76
extension MacScreenBroadcaster: AVCaptureVideoDataOutputSampleBufferDelegate, AVCaptureAudioDataOutputSampleBufferDelegate

No adjacent doc comment

Members (1)

captureOutput

funcapp · liveAPP/Mac.swift:77
func captureOutput(_ output: AVCaptureOutput, didOutput sampleBuffer: CMSampleBuffer, from connection: AVCaptureConnection)

No adjacent doc comment

liveAPP/MemorySampler.swift(4)

MemorySampler

final class MemorySampler
Members (7)

IdleMemoryComparison

final class IdleMemoryComparison
Members (15)

init

init(startedAt: TimeInterval = ProcessInfo.processInfo.systemUptime)

No adjacent doc comment

observe

func observe(footprint: Double, captureBusy: Bool, replayLive: Bool, reason: String, now: TimeInterval = ProcessInfo.processInfo.systemUptime) -> String
liveAPP/MetricReportAnalysis.swift(1)

MetricReportAnalysis

struct MetricReportAnalysis: Sendable
Members (6)
liveAPP/MetricReports.swift(2)

MetricReports

final class MetricReports: NSObject, ObservableObject, MXMetricManagerSubscriber, @unchecked Sendable
Members (11)

publishSnapshot

private func publishSnapshot(_ entries: [MetricReportEntry], warning: String?)
liveAPP/MetricReportsView.swift(2)
liveAPP/Navigation/AdaptiveSettingsLayout.swift(4)

SettingsDashboardCard

struct SettingsDashboardCard<Header: View, Content: View>: View
Members (3)
liveAPP/Navigation/AppPage.swift(2)
liveAPP/Navigation/MainTabViews.swift(5)
liveAPP/NetworkTraffic.swift(2)

NetworkTrafficSampler

struct NetworkTrafficSampler
Members (7)
liveAPP/Networking/ExternalLogPolicy.swift(3)

ExternalLogPolicy

enum ExternalLogPolicy
Members (4)

ExternalLogSubscriptions

struct ExternalLogSubscriptions<ID: Hashable>
Members (6)
liveAPP/Networking/NWListenerState_Log.swift(1)
liveAPP/Networking/SocketRecoveryPolicy.swift(1)

SocketRecoveryPolicy

enum SocketRecoveryPolicy
Members (4)
liveAPP/Networking/SocketSendQueuePolicy.swift(1)
liveAPP/Networking/SocketServer_JSONValue.swift(2)
liveAPP/OtherView.swift(7)

VideoHealthModel

final class VideoHealthModel: ObservableObject

No adjacent doc comment

Members (6)

record

func record(status: String, inputFPSAvg: Double, inputFPSMin: Double, inputFPSMax: Double, processedFPSAvg: Double, processedFPSMin: Double, processedFPSMax: Double, droppedFPSAvg: Double, latencyAvg: Double, latencyMax: Double, latencyP95: Double, timeoutDelta: Double, payload: SocketServer.VideoHealthPayload? = nil)

No adjacent doc comment

appendOnMain

private func appendOnMain(status: String, inputFPSAvg: Double, inputFPSMin: Double, inputFPSMax: Double, processedFPSAvg: Double, processedFPSMin: Double, processedFPSMax: Double, droppedFPSAvg: Double, latencyAvg: Double, latencyMax: Double, latencyP95: Double, timeoutDelta: Double)

No adjacent doc comment

AudioHealthModel

classapp · liveAPP/OtherView.swift:102
final class AudioHealthModel: ObservableObject

No adjacent doc comment

Members (6)

record

func record(status: String, appInputFPSMin: Double, appInputFPSAvg: Double, appInputFPSMax: Double, micInputFPSMin: Double, micInputFPSAvg: Double, micInputFPSMax: Double, appGapMaxMs: Double, alignDroppedPerSec: Double, alignInsertedPerSec: Double, alignFirePerSec: Double, alignDiffMaxSamples: Double, skipInsertedPerSec: Double, overflowDroppedPerSec: Double, resampleNoDataPerSec: Double, mixerOutputFPS: Double, appRMS: Double, micRMS: Double, outChannels: Int, outCh0RMS: Double, outCh1RMS: Double, payload: SocketServer.AudioHealthPayload? = nil)

No adjacent doc comment

appendOnMain

private func appendOnMain(status: String, appInputFPSMin: Double, appInputFPSAvg: Double, appInputFPSMax: Double, micInputFPSMin: Double, micInputFPSAvg: Double, micInputFPSMax: Double, appGapMaxMs: Double, alignDroppedPerSec: Double, alignInsertedPerSec: Double, alignFirePerSec: Double, alignDiffMaxSamples: Double, skipInsertedPerSec: Double, overflowDroppedPerSec: Double, resampleNoDataPerSec: Double, mixerOutputFPS: Double, appRMS: Double, micRMS: Double, outChannels: Int, outCh0RMS: Double, outCh1RMS: Double)

No adjacent doc comment

SystemCPU

classapp · liveAPP/OtherView.swift:436
class SystemCPU

No adjacent doc comment

Members (5)

usage

func usage() -> (user: Double, system: Double, idle: Double)?

No adjacent doc comment

SystemDiskIO

classapp · liveAPP/OtherView.swift:489
final class SystemDiskIO

No adjacent doc comment

Members (6)

previousSampleTime

propertyapp · liveAPP/OtherView.swift:493
private var previousSampleTime: TimeInterval?

No adjacent doc comment

rates

func rates() -> (pageInKBps: Double, pageOutKBps: Double)

No adjacent doc comment

DeviceView

structapp · liveAPP/OtherView.swift:530
struct DeviceView: View

No adjacent doc comment

Members (23)

memAvailableText

propertyapp · liveAPP/OtherView.swift:570
private var memAvailableText: String

No adjacent doc comment

seconds

private func seconds(_ value: Double?) -> String

No adjacent doc comment

pipelineFreshness

funcapp · liveAPP/OtherView.swift:1102
private func pipelineFreshness(_ updatedAt: Date?) -> some View
liveAPP/OverlaySettingsView.swift(6)
liveAPP/PIPAdOverlayRenderer.swift(1)
liveAPP/PIPContent.swift(10)

ChatMessage

structapp · liveAPP/PIPContent.swift:15
struct ChatMessage: Identifiable, Equatable

No adjacent doc comment

Members (1)

static func == (lhs: ChatMessage, rhs: ChatMessage) -> Bool

static func == (lhs: ChatMessage, rhs: ChatMessage) -> Bool

No adjacent doc comment

PiPImageCache

actor PiPImageCache

No adjacent doc comment

Members (16)

inFlightTasks

propertyapp · liveAPP/PIPContent.swift:83
private var inFlightTasks: [String: Task<UIImage?, Never>]

No adjacent doc comment

pendingCallbacks

propertyapp · liveAPP/PIPContent.swift:84
private var pendingCallbacks: [String: [(UIImage?) -> Void]]

No adjacent doc comment

loadImage

func loadImage(urlString: String, completion: @escaping (UIImage?) -> Void) async

No adjacent doc comment

loadEmbedded

private func loadEmbedded( _ reference: ImageDataURIReference, completion: @escaping (UIImage?) -> Void ) async

completeEmbedded

private func completeEmbedded(key: String, image: UIImage?) async

No adjacent doc comment

imageCost

private static func imageCost(_ image: UIImage) -> Int

No adjacent doc comment

startDownload

private func startDownload(urlString: String, completions: [(UIImage?) -> Void])

No adjacent doc comment

performDownload

private func performDownload( urlString: String, completions: [(UIImage?) -> Void] ) async

No adjacent doc comment

complete

private func complete( urlString: String, completions: [(UIImage?) -> Void], image: UIImage? ) async

No adjacent doc comment

finishDownload

private func finishDownload(urlString: String)

No adjacent doc comment

MessageLayerTuple

classapp · liveAPP/PIPContent.swift:268
final class MessageLayerTuple:Equatable

No adjacent doc comment

Members (2)

static func == (lhs: MessageLayerTuple, rhs: MessageLayerTuple) -> Bool

static func == (lhs: MessageLayerTuple, rhs: MessageLayerTuple) -> Bool

No adjacent doc comment

init

init( avatar: CALayer?, name: CATextLayer?, message: CATextLayer?, gift: CALayer?, type:MessageType = .primary, insertionIndex:Int = 0 )

No adjacent doc comment

LayerPool

classapp · liveAPP/PIPContent.swift:397
final class LayerPool

No adjacent doc comment

Members (7)

recycleTextLayer

func recycleTextLayer(_ layer: CATextLayer)

No adjacent doc comment

PIPServiceMessages

classapp · liveAPP/PIPContent.swift:459
final class PIPServiceMessages

No adjacent doc comment

Members (62)

updateLogSettings

func updateLogSettings(verboseFrame: Bool? = nil, verboseLayout: Bool? = nil)

No adjacent doc comment

animatingGroups

propertyapp · liveAPP/PIPContent.swift:486
private var animatingGroups: [[MessageLayerTuple]]

No adjacent doc comment

lastFadeTriggerTime

propertyapp · liveAPP/PIPContent.swift:495
private var lastFadeTriggerTime: CFTimeInterval

No adjacent doc comment

lastMoveTriggerTime

propertyapp · liveAPP/PIPContent.swift:496
private var lastMoveTriggerTime: CFTimeInterval

No adjacent doc comment

groupLeader

func groupLeader(_ msg: MessageLayerTuple) -> MessageLayerTuple?

No adjacent doc comment

bottomMessage

propertyapp · liveAPP/PIPContent.swift:550
private var bottomMessage: MessageLayerTuple?

No adjacent doc comment

animatingMessages

propertyapp · liveAPP/PIPContent.swift:555
private var animatingMessages: [MessageLayerTuple]

No adjacent doc comment

setAdOverlayOffset

func setAdOverlayOffset(_ offset: CGFloat)

No adjacent doc comment

lastDirtyTime

propertyapp · liveAPP/PIPContent.swift:579
private var lastDirtyTime: CFTimeInterval

No adjacent doc comment

needsRelayoutAfterRemoval

propertyapp · liveAPP/PIPContent.swift:581
private var needsRelayoutAfterRemoval

No adjacent doc comment

fadeCandidate

propertyapp · liveAPP/PIPContent.swift:584
private var fadeCandidate: MessageLayerTuple?

No adjacent doc comment

relayoutTargetsOnly

private func relayoutTargetsOnly(updateTargetY: Bool = true,changeSY:Bool=true) -> [MessageLayerTuple]

No adjacent doc comment

breakMessageIntoLines

func breakMessageIntoLines(_ text: String, font: UIFont, maxWidth: CGFloat) -> ([String],[CTLine])

No adjacent doc comment

calculateGiftOffset

private func calculateGiftOffset(lines: [CTLine], messageSize: CGSize, giftSize: CGFloat) -> (CGFloat, CGFloat)

No adjacent doc comment

splitLongMessage

private func splitLongMessage( type:MessageType, user: String, message: String, imgURL: String?, avatarImage: UIImage? = nil, giftURL: String?, emojiURLs: [String] = [], emojiPositions: [Int] = [], font: UIFont, avatarSizeLocal: CGFloat, giftSizeLocal: CGFloat, vSpacing:CGFloat = 4.0, hSpacing:CGFloat = 4.0 ) -> [MessageSegmentData]

No adjacent doc comment

buildMessageTuple

func buildMessageTuple( type:MessageType = .primary, user: String = "", message: String = "", img: UIImage?, giftImg: UIImage?, showAvatar: Bool, showName: Bool, showMessage:Bool = true, showGift:Bool = false, font: UIFont, avatarSizeLocal: CGFloat, giftSizeLocal: CGFloat, verticalSpacing:CGFloat = 4, horizontalSpacing:CGFloat = 4, data: MessageSegmentData ) -> MessageLayerTuple

No adjacent doc comment

extractAllImageURLs

funcapp · liveAPP/PIPContent.swift:1189
static func extractAllImageURLs( from message: String, maxURLs: Int = 20, placeholder: String = "\u

addMessage

funcapp · liveAPP/PIPContent.swift:1264
func addMessage( user: String, message: String, imgURL: String? = nil, avatarImage: UIImage? = nil, giftURL: String? = nil, isMain: Bool = true, fontSizeOverride: CGFloat? = nil, animates: Bool = true )

No adjacent doc comment

snapshotMessage

funcapp · liveAPP/PIPContent.swift:1333
func snapshotMessage(user: String, message: String, isMain: Bool, fontSize: CGFloat, avatarImage: UIImage? = nil)

currentBottomTargetY

funcapp · liveAPP/PIPContent.swift:1387
func currentBottomTargetY() -> CGFloat

No adjacent doc comment

segmentHeight

funcapp · liveAPP/PIPContent.swift:1397
private func segmentHeight(_ data: MessageSegmentData) -> CGFloat

No adjacent doc comment

visibleInsertLimit

propertyapp · liveAPP/PIPContent.swift:1409
private var visibleInsertLimit: CGFloat

No adjacent doc comment

currentVisibleBottom

funcapp · liveAPP/PIPContent.swift:1413
private func currentVisibleBottom() -> CGFloat

No adjacent doc comment

contiguousPendingGroupEnd

funcapp · liveAPP/PIPContent.swift:1423
private func contiguousPendingGroupEnd(parentID: UUID) -> Int

No adjacent doc comment

fittingPrefixCount

funcapp · liveAPP/PIPContent.swift:1433
private func fittingPrefixCount(upTo groupEnd: Int, currentBottom: CGFloat) -> (count: Int, bottom: CGFloat)

No adjacent doc comment

populateVisibleMessagesIfNeeded

funcapp · liveAPP/PIPContent.swift:1451
func populateVisibleMessagesIfNeeded()

No adjacent doc comment

layoutTargetsAndStartAnimation

funcapp · liveAPP/PIPContent.swift:1596
func layoutTargetsAndStartAnimation()

No adjacent doc comment

isGroupMoving

funcapp · liveAPP/PIPContent.swift:1633
func isGroupMoving(_ parentID:UUID?) -> Bool

No adjacent doc comment

rebuildAnimatingGroups

funcapp · liveAPP/PIPContent.swift:1649
private func rebuildAnimatingGroups()

No adjacent doc comment

findFadeCandidate

funcapp · liveAPP/PIPContent.swift:1774
private func findFadeCandidate() -> MessageLayerTuple?

No adjacent doc comment

startFadeAnimation

funcapp · liveAPP/PIPContent.swift:1941
private func startFadeAnimation(for msg: MessageLayerTuple)

No adjacent doc comment

layout

funcapp · liveAPP/PIPContent.swift:2023
private func layout(msg: MessageLayerTuple, y: CGFloat,x:CGFloat? = nil)

No adjacent doc comment

easeOutCubic

funcapp · liveAPP/PIPContent.swift:2140
private func easeOutCubic(_ t: Double) -> Double

No adjacent doc comment

DebugImageViewWrapper

structapp · liveAPP/PIPContent.swift:2155
struct DebugImageViewWrapper: UIViewRepresentable

No adjacent doc comment

Members (2)

updateUIView

funcapp · liveAPP/PIPContent.swift:2173
func updateUIView(_ uiView: UIView, context: Context)

No adjacent doc comment

liveAPP/PIPDebugView.swift(1)
liveAPP/PIPDisplaySettings.swift(3)
liveAPP/PIPLayoutSettingsView.swift(3)

PIPLayoutSettingsView

struct PIPLayoutSettingsView: View

No adjacent doc comment

Members (4)
liveAPP/PIPMetalRenderData.swift(3)
liveAPP/PIPMetalRenderer.swift(2)

PIPMetalRenderer

final class PIPMetalRenderer

No adjacent doc comment

Members (10)

textTextureCache

private var textTextureCache: [String: (texture: MTLTexture, w: Int, h: Int)]

No adjacent doc comment

descriptor

private func descriptor(texture: MTLTexture, clear: Bool) -> MTLRenderPassDescriptor

No adjacent doc comment

textTexture

private func textTexture(_ string: String, font: UIFont, color: UIColor, scale: CGFloat) -> (texture: MTLTexture, w: Int, h: Int)?

No adjacent doc comment

drawText

private func drawText(encoder: MTLRenderCommandEncoder, text: String, font: UIFont, color: UIColor, x: CGFloat, y: CGFloat, pixelW: Int, pixelH: Int, alpha: CGFloat)

No adjacent doc comment

drawImage

private func drawImage(encoder: MTLRenderCommandEncoder, image: UIImage?, frame: CGRect, pixelW: Int, pixelH: Int, alpha: CGFloat, cornerRadius: CGFloat)

No adjacent doc comment

quadVerts

private func quadVerts(x: CGFloat, y: CGFloat, w: CGFloat, h: CGFloat, pw: CGFloat, ph: CGFloat, alpha: CGFloat) -> [Float]

No adjacent doc comment

drawQuad

private func drawQuad(encoder: MTLRenderCommandEncoder, verts: [Float], texture: MTLTexture)

No adjacent doc comment

liveAPP/PIPNoticePagination.swift(3)
liveAPP/PIPOverlayLayout.swift(3)

PIPOverlayLayout

enum PIPOverlayLayout
Members (8)

chatTopMargin

static func chatTopMargin(canvasHeight: CGFloat, compact: Bool) -> CGFloat

No adjacent doc comment

statusRowPlan

static func statusRowPlan(availableWidth: CGFloat, iconWidth: CGFloat, elapsedWidth: CGFloat, statusWidth: CGFloat, viewerWidth: CGFloat) -> StatusRowPlan
liveAPP/PIPPreviewFrameRenderer.swift(1)
liveAPP/PIPRenderPolicy.swift(2)

PIPRenderPolicy

enum PIPRenderPolicy
Members (3)

targetFPS

static func targetFPS(keepalive: Bool, overlay: Bool, animating: Bool, pendingMessages: Bool, recentlyActive: Bool, keepaliveInterval: Double = defaultKeepaliveSeconds) -> Double
liveAPP/PIPService.swift(7)

DummyPlaybackDelegate

final class DummyPlaybackDelegate: NSObject, AVPictureInPictureSampleBufferPlaybackDelegate

No adjacent doc comment

Members (5)

pictureInPictureControllerIsPlaybackPaused

func pictureInPictureControllerIsPlaybackPaused(_ pictureInPictureController: AVPictureInPictureController) -> Bool

No adjacent doc comment

pictureInPictureController

func pictureInPictureController(_ pictureInPictureController: AVPictureInPictureController, skipByInterval skipInterval: CMTime, completion completionHandler: @escaping () -> Void)

No adjacent doc comment

pictureInPictureController

func pictureInPictureController(_ pictureInPictureController: AVPictureInPictureController, didTransitionToRenderSize newRenderSize: CMVideoDimensions)

No adjacent doc comment

pictureInPictureController

func pictureInPictureController(_ pictureInPictureController: AVPictureInPictureController, setPlaying playing: Bool)

No adjacent doc comment

pictureInPictureControllerTimeRangeForPlayback

func pictureInPictureControllerTimeRangeForPlayback(_ pictureInPictureController: AVPictureInPictureController) -> CMTimeRange

No adjacent doc comment

PIPService

final class PIPService: NSObject, ObservableObject, @unchecked Sendable

No adjacent doc comment

Members (127)

lastPeriodicRedraw

propertyapp · liveAPP/PIPService.swift:48
private var lastPeriodicRedraw: CFTimeInterval

No adjacent doc comment

periodicRedrawInterval

propertyapp · liveAPP/PIPService.swift:49
private var periodicRedrawInterval: CFTimeInterval

No adjacent doc comment

pixelBufferPool

propertyapp · liveAPP/PIPService.swift:51
private var pixelBufferPool: CVPixelBufferPool?

No adjacent doc comment

cachedFormatDescription

propertyapp · liveAPP/PIPService.swift:53
private var cachedFormatDescription: CMVideoFormatDescription?

No adjacent doc comment

cachedElapsedString

propertyapp · liveAPP/PIPService.swift:57
private var cachedElapsedString: String?

No adjacent doc comment

lastOverlayStreamEnded

propertyapp · liveAPP/PIPService.swift:58
private var lastOverlayStreamEnded: Bool

No adjacent doc comment

lastOverlayStreamEndMes

propertyapp · liveAPP/PIPService.swift:59
private var lastOverlayStreamEndMes: String

No adjacent doc comment

lastOverlayViewerCount

propertyapp · liveAPP/PIPService.swift:60
private var lastOverlayViewerCount: Int?

No adjacent doc comment

lastOverlayIsReconnecting

propertyapp · liveAPP/PIPService.swift:61
private var lastOverlayIsReconnecting: Bool

No adjacent doc comment

adOverlayCleanText

propertyapp · liveAPP/PIPService.swift:66
private var adOverlayCleanText: String?

No adjacent doc comment

adOverlayPages

propertyapp · liveAPP/PIPService.swift:67
private var adOverlayPages: [(text: String, range: NSRange)]

No adjacent doc comment

adOverlayIconImage

propertyapp · liveAPP/PIPService.swift:70
private var adOverlayIconImage: UIImage?

No adjacent doc comment

adOverlayEmojiURLs

propertyapp · liveAPP/PIPService.swift:71
private var adOverlayEmojiURLs: [String]

No adjacent doc comment

adOverlayEmojiPositions

propertyapp · liveAPP/PIPService.swift:72
private var adOverlayEmojiPositions: [Int]

No adjacent doc comment

adOverlayEmojiPositionMap

propertyapp · liveAPP/PIPService.swift:73
private var adOverlayEmojiPositionMap: [Int: Int]

No adjacent doc comment

adOverlayEmojiImages

propertyapp · liveAPP/PIPService.swift:74
private var adOverlayEmojiImages: [UIImage?]

No adjacent doc comment

adOverlayStartTime

propertyapp · liveAPP/PIPService.swift:75
private var adOverlayStartTime: CFTimeInterval

No adjacent doc comment

adOverlayLogSkipCounter

propertyapp · liveAPP/PIPService.swift:77
private var adOverlayLogSkipCounter: Int

No adjacent doc comment

adOverlayPageDuration

propertyapp · liveAPP/PIPService.swift:78
private var adOverlayPageDuration: CFTimeInterval

No adjacent doc comment

setupPixelBufferPool

private func setupPixelBufferPool(size: CGSize)

No adjacent doc comment

messagesLayer

propertyapp · liveAPP/PIPService.swift:114
private var messagesLayer: PIPServiceMessages?

No adjacent doc comment

createSampleBuffer

private func createSampleBuffer(from pixelBuffer: CVPixelBuffer, overridePTS: CMTime? = nil ) -> CMSampleBuffer?

No adjacent doc comment

scheduledRender

propertyapp · liveAPP/PIPService.swift:193
private var scheduledRender: DispatchWorkItem?

No adjacent doc comment

scheduledRenderDeadline

propertyapp · liveAPP/PIPService.swift:194
private var scheduledRenderDeadline: CFTimeInterval?

No adjacent doc comment

maxRenderMilliseconds

propertyapp · liveAPP/PIPService.swift:199
private var maxRenderMilliseconds

No adjacent doc comment

maxScheduleDelayMilliseconds

propertyapp · liveAPP/PIPService.swift:200
private var maxScheduleDelayMilliseconds

No adjacent doc comment

statsInitialFrameCount

propertyapp · liveAPP/PIPService.swift:206
private var statsInitialFrameCount: Int64

No adjacent doc comment

lastDrawnKeepaliveTime

propertyapp · liveAPP/PIPService.swift:230
private var lastDrawnKeepaliveTime: String?

No adjacent doc comment

decayCooldown

propertyapp · liveAPP/PIPService.swift:233
private let decayCooldown: CFTimeInterval

No adjacent doc comment

cachedPixelBuffer

propertyapp · liveAPP/PIPService.swift:234
private var cachedPixelBuffer: CVPixelBuffer?

No adjacent doc comment

lastRenderedGeneration

propertyapp · liveAPP/PIPService.swift:236
private var lastRenderedGeneration

No adjacent doc comment

displayLayer

propertyapp · liveAPP/PIPService.swift:296
private var displayLayer: AVSampleBufferDisplayLayer?

No adjacent doc comment

pipController

propertyapp · liveAPP/PIPService.swift:297
private var pipController: AVPictureInPictureController?

No adjacent doc comment

addMessage

func addMessage( user: String = "測試", msg: String, imgURL: String? = nil, avatarImage: UIImage? = nil, giftURL: String? = nil, isMain: Bool = true )

No adjacent doc comment

addAdOverlay

func addAdOverlay(user: String, text: String, iconURL: String?, useTTS: Bool)

No adjacent doc comment

splitAdText

private static func splitAdText(_ text: String, font: UIFont, width: CGFloat, height: CGFloat) -> [String]

No adjacent doc comment

secondaryNoticePages

propertyapp · liveAPP/PIPService.swift:535
private var secondaryNoticePages: [String]

No adjacent doc comment

secondaryNoticeFullText

propertyapp · liveAPP/PIPService.swift:536
private var secondaryNoticeFullText

No adjacent doc comment

secondaryNoticePageStart

propertyapp · liveAPP/PIPService.swift:537
private var secondaryNoticePageStart: CFTimeInterval

No adjacent doc comment

secondaryNoticeDeadline

propertyapp · liveAPP/PIPService.swift:538
private var secondaryNoticeDeadline: CFTimeInterval

No adjacent doc comment

secondaryNoticePageDuration

propertyapp · liveAPP/PIPService.swift:539
private let secondaryNoticePageDuration: CFTimeInterval

No adjacent doc comment

secondaryNoticeAvatar

propertyapp · liveAPP/PIPService.swift:540
private var secondaryNoticeAvatar: UIImage?

No adjacent doc comment

secondaryNoticeAvatarURL

propertyapp · liveAPP/PIPService.swift:541
private var secondaryNoticeAvatarURL: String?

No adjacent doc comment

secondaryNoticeUsesAvatar

propertyapp · liveAPP/PIPService.swift:542
private var secondaryNoticeUsesAvatar

No adjacent doc comment

startSecondaryNotice

private func startSecondaryNotice(text: String, avatarImage: UIImage?, avatarURL: String?)

No adjacent doc comment

loadSecondaryNoticeAvatarIfNeeded

private func loadSecondaryNoticeAvatarIfNeeded()

repaginateSecondaryNotice

private func repaginateSecondaryNotice()

No adjacent doc comment

drawTimeOverlay

private func drawTimeOverlay(in cg: CGContext, size: CGSize)

No adjacent doc comment

drawAdOverlay

private func drawAdOverlay(in cg: CGContext, size: CGSize)

No adjacent doc comment

renderUIViewToPixelBuffer

private func renderUIViewToPixelBuffer(size: CGSize) -> CVPixelBuffer?

No adjacent doc comment

startPiP

func startPiP( size: CGSize = CGSize(width: 300, height: 200) )

No adjacent doc comment

startKeepalivePiP

func startKeepalivePiP(size: CGSize = CGSize(width: 300, height: 200))

No adjacent doc comment

attachToForegroundWindow

private func attachToForegroundWindow(completion: @escaping () -> Void)

No adjacent doc comment

reAttachDisplayLayerIfNeeded

funcapp · liveAPP/PIPService.swift:1035
func reAttachDisplayLayerIfNeeded()

No adjacent doc comment

scheduleNextRender

funcapp · liveAPP/PIPService.swift:1071
private func scheduleNextRender(after delay: TimeInterval? = nil)

renderIncremental

funcapp · liveAPP/PIPService.swift:1203
private func renderIncremental() -> Bool

No adjacent doc comment

ensureDisplayLayerAttached

funcapp · liveAPP/PIPService.swift:1355
func ensureDisplayLayerAttached()

No adjacent doc comment

PIPService

extensionapp · liveAPP/PIPService.swift:1379
extension PIPService: AVPictureInPictureControllerDelegate

No adjacent doc comment

Members (3)

pictureInPictureControllerDidStartPictureInPicture

funcapp · liveAPP/PIPService.swift:1380
internal func pictureInPictureControllerDidStartPictureInPicture( _ pictureInPictureController: AVPictureInPictureController )

No adjacent doc comment

pictureInPictureControllerDidStopPictureInPicture

funcapp · liveAPP/PIPService.swift:1386
internal func pictureInPictureControllerDidStopPictureInPicture( _ pictureInPictureController: AVPictureInPictureController )

No adjacent doc comment

pictureInPictureController

funcapp · liveAPP/PIPService.swift:1393
func pictureInPictureController(_ pictureInPictureController: AVPictureInPictureController, failedToStartPictureInPictureWithError error: Error)

No adjacent doc comment

PIPTestService

classapp · liveAPP/PIPService.swift:1400
final class PIPTestService: NSObject, ObservableObject
Members (15)

displayLayer

propertyapp · liveAPP/PIPService.swift:1404
private var displayLayer: AVSampleBufferDisplayLayer?

No adjacent doc comment

pipController

propertyapp · liveAPP/PIPService.swift:1405
private var pipController: AVPictureInPictureController?

No adjacent doc comment

renderTimer

propertyapp · liveAPP/PIPService.swift:1406
private var renderTimer: DispatchSourceTimer?

No adjacent doc comment

pipStartThreshold

propertyapp · liveAPP/PIPService.swift:1413
private let pipStartThreshold: Int64

No adjacent doc comment

startPiPTest

funcapp · liveAPP/PIPService.swift:1431
func startPiPTest(size: CGSize = CGSize(width: 300, height: 200))

No adjacent doc comment

PIPTestService

extensionapp · liveAPP/PIPService.swift:1619
extension PIPTestService: AVPictureInPictureControllerDelegate

No adjacent doc comment

Members (3)

pictureInPictureControllerDidStartPictureInPicture

funcapp · liveAPP/PIPService.swift:1620
internal func pictureInPictureControllerDidStartPictureInPicture( _ pictureInPictureController: AVPictureInPictureController )

No adjacent doc comment

pictureInPictureControllerDidStopPictureInPicture

funcapp · liveAPP/PIPService.swift:1627
internal func pictureInPictureControllerDidStopPictureInPicture( _ pictureInPictureController: AVPictureInPictureController )

No adjacent doc comment

pictureInPictureController

funcapp · liveAPP/PIPService.swift:1633
func pictureInPictureController(_ pictureInPictureController: AVPictureInPictureController, failedToStartPictureInPictureWithError error: Error)

No adjacent doc comment

liveAPP/PIPTimeOverlayRenderer.swift(1)

PIPTimeOverlayRenderer

enum PIPTimeOverlayRenderer
Members (4)

drawBadge

private static func drawBadge( in cg: CGContext, text: String, font: UIFont, origin: CGPoint, textColor: UIColor, bgColor: UIColor, icon: UIImage? = nil, iconTintColor: UIColor? = nil, padding: UIEdgeInsets = UIEdgeInsets(top: 2, left: 8, bottom: 2, right: 8) ) -> CGFloat

No adjacent doc comment

liveAPP/PIPView.swift(2)
liveAPP/Setting.swift(8)

GPUSettingsViewModel

classapp · liveAPP/Setting.swift:14
final class GPUSettingsViewModel: ObservableObject

No adjacent doc comment

Members (5)

applyRotate

funcapp · liveAPP/Setting.swift:79
func applyRotate(_ rotate: RotateDirection)

No adjacent doc comment

rebuildDefaultsIfMissing

funcapp · liveAPP/Setting.swift:143
func rebuildDefaultsIfMissing()

No adjacent doc comment

GPURotateView

structapp · liveAPP/Setting.swift:230
struct GPURotateView: View

No adjacent doc comment

Members (13)

usesScreenCaptureKit

propertyapp · liveAPP/Setting.swift:236
private var usesScreenCaptureKit: Bool

No adjacent doc comment

presetCard

propertyapp · liveAPP/Setting.swift:258
private var presetCard: some View

No adjacent doc comment

canvasCard

propertyapp · liveAPP/Setting.swift:327
private var canvasCard: some View

No adjacent doc comment

rotationCard

propertyapp · liveAPP/Setting.swift:349
private var rotationCard: some View

No adjacent doc comment

sizeRow

funcapp · liveAPP/Setting.swift:402
private func sizeRow( title: LocalizedStringKey, caption: LocalizedStringKey, width: Binding<Int>, height: Binding<Int>, onWidthChange: @escaping () -> Void, onHeightChange: @escaping () -> Void ) -> some View

sizeField

funcapp · liveAPP/Setting.swift:423
private func sizeField( _ title: LocalizedStringKey, value: Binding<Int>, onChange: @escaping () -> Void ) -> some View

No adjacent doc comment

persistConfiguration

funcapp · liveAPP/Setting.swift:434
private func persistConfiguration()

No adjacent doc comment

persistOutputWidth

funcapp · liveAPP/Setting.swift:439
private func persistOutputWidth()

No adjacent doc comment

persistOutputHeight

funcapp · liveAPP/Setting.swift:446
private func persistOutputHeight()

No adjacent doc comment

persistProcessingWidth

funcapp · liveAPP/Setting.swift:453
private func persistProcessingWidth()

No adjacent doc comment

persistProcessingHeight

funcapp · liveAPP/Setting.swift:460
private func persistProcessingHeight()

No adjacent doc comment

updateConfig

funcapp · liveAPP/Setting.swift:467
private func updateConfig(_ update: (GPUOutputConfig) -> Void)

No adjacent doc comment

AudioSettingsView

structapp · liveAPP/Setting.swift:481
struct AudioSettingsView:View

No adjacent doc comment

LogSettingView

structapp · liveAPP/Setting.swift:617
struct LogSettingView:View

No adjacent doc comment

Members (1)

publishDebugConfig

funcapp · liveAPP/Setting.swift:634
private func publishDebugConfig(legacyEvent: String)

AppMessagePort

classapp · liveAPP/Setting.swift:808
final class AppMessagePort

No adjacent doc comment

Members (10)

localPort

propertyapp · liveAPP/Setting.swift:811
private var localPort: CFMessagePort?

No adjacent doc comment

remotePort

propertyapp · liveAPP/Setting.swift:812
private var remotePort: CFMessagePort?

No adjacent doc comment

send

funcapp · liveAPP/Setting.swift:936
func send(toExtension dict: [String: Any])

No adjacent doc comment

LocalNetworkPermissionManager

classapp · liveAPP/Setting.swift:974
final class LocalNetworkPermissionManager: ObservableObject

No adjacent doc comment

Members (2)

requestPermission

funcapp · liveAPP/Setting.swift:979
func requestPermission(completion: @escaping (Bool) -> Void)

No adjacent doc comment

liveAPP/Settings/AdvancedSettingsView.swift(1)
liveAPP/Settings/AppIconDiagnostics.swift(4)
liveAPP/Settings/AppIconSettingsView.swift(1)

AppIconSettingsView

struct AppIconSettingsView: View
Members (4)
liveAPP/Settings/AppSettingsView.swift(1)
liveAPP/Settings/Backup/SettingsBackupFormat.swift(5)

SettingsBackupRegistry

enum SettingsBackupRegistry
Members (6)
liveAPP/Settings/Backup/SettingsBackupManager.swift(1)

SettingsBackupManager

final class SettingsBackupManager: ObservableObject
Members (12)
liveAPP/Settings/Backup/SettingsBackupStorage.swift(1)

SettingsBackupStorage

enum SettingsBackupStorage
Members (4)
liveAPP/Settings/Backup/SettingsBackupView.swift(2)

SettingsBackupPicker

private struct SettingsBackupPicker: UIViewControllerRepresentable
Members (4)

Coordinator

final class Coordinator: NSObject, UIDocumentPickerDelegate

No adjacent doc comment

Members (3)
liveAPP/Settings/ChatSettingsView.swift(1)
liveAPP/Settings/GPUOutputConfig.swift(2)

GPUOutputConfig

class GPUOutputConfig: Identifiable, ObservableObject, Codable
Members (11)

init

init( id: UUID = UUID(), name: String, width: Int, height: Int, owidth:Int = 0, oheight:Int = 0, originonly:Bool = false, Rotate: RotateDirection = .landscapeRight )

No adjacent doc comment

liveAPP/Settings/GeneralSettingsView.swift(1)
liveAPP/Settings/LegacyEncodingSettingsView.swift(1)

LegacyEncodingSettingsView

struct LegacyEncodingSettingsView: View
Members (5)
liveAPP/Settings/LegacyPIPSettingsView.swift(1)
liveAPP/Settings/LiveActivitySettingsView.swift(2)
liveAPP/Settings/LogSettingsView.swift(1)
liveAPP/Settings/MaintenanceSettingsView.swift(1)
liveAPP/SharedOverlayConfig.swift(6)

OverlayAnchor

enum OverlayAnchor: String, Codable, CaseIterable, Identifiable, Hashable

No adjacent doc comment

Members (1)

origin

func origin(container: CGSize, item: CGSize, marginX: CGFloat, marginY: CGFloat, offsetX: CGFloat, offsetY: CGFloat) -> CGPoint

No adjacent doc comment

liveAPP/Socket.swift(2)

SocketServer

classapp · liveAPP/Socket.swift:11
class SocketServer:ObservableObject, @unchecked Sendable
Members (98)

receiveBuffers

propertyapp · liveAPP/Socket.swift:22
private var receiveBuffers: [ObjectIdentifier: Data]

No adjacent doc comment

receiveOffsets

propertyapp · liveAPP/Socket.swift:24
private var receiveOffsets: [ObjectIdentifier: Int]

listener

propertyapp · liveAPP/Socket.swift:26
private var listener: NWListener?

No adjacent doc comment

publishListenerState

funcapp · liveAPP/Socket.swift:35
private func publishListenerState(_ status: String, port: UInt16? = nil)

listenerErrorMessage

funcapp · liveAPP/Socket.swift:43
private func listenerErrorMessage(_ error: Error, port: UInt16) -> String

configureListener

funcapp · liveAPP/Socket.swift:52
private func configureListener(_ target: NWListener, port: UInt16)

finishPortAttempt

funcapp · liveAPP/Socket.swift:169
private func finishPortAttempt(_ message: String)

externalLogSessions

propertyapp · liveAPP/Socket.swift:183
private var externalLogSessions

No adjacent doc comment

externalCountLock

propertyapp · liveAPP/Socket.swift:184
private let externalCountLock

No adjacent doc comment

externalCount

propertyapp · liveAPP/Socket.swift:185
private var externalCount

No adjacent doc comment

connections

propertyapp · liveAPP/Socket.swift:204
private var connections: [ObjectIdentifier: NWConnection]

No adjacent doc comment

lastReceiveTimes

propertyapp · liveAPP/Socket.swift:205
private var lastReceiveTimes: [ObjectIdentifier: Date]

No adjacent doc comment

keepaliveTimer

propertyapp · liveAPP/Socket.swift:206
private var keepaliveTimer: DispatchSourceTimer?

No adjacent doc comment

lastListenerAttempt

propertyapp · liveAPP/Socket.swift:243
private var lastListenerAttempt: TimeInterval?

recoveryNotificationToken

propertyapp · liveAPP/Socket.swift:257
private var recoveryNotificationToken: Int32?

recoveryState

propertyapp · liveAPP/Socket.swift:267
private var recoveryState: SocketRecoveryPolicy.ListenerState

requestRecovery

funcapp · liveAPP/Socket.swift:281
private func requestRecovery(reason: String, minimumDelay: TimeInterval = 0)

scheduleRestart

funcapp · liveAPP/Socket.swift:311
private func scheduleRestart(delay: TimeInterval = 1.5)

connectionLogContext

funcapp · liveAPP/Socket.swift:434
private func connectionLogContext(_ connection: NWConnection) -> String

handleNewConnection

funcapp · liveAPP/Socket.swift:444
private func handleNewConnection(_ connection: NWConnection)

startReceiveLoop

funcapp · liveAPP/Socket.swift:508
private func startReceiveLoop(for connection: NWConnection)

messageThrottleInterval

propertyapp · liveAPP/Socket.swift:595
private let messageThrottleInterval: TimeInterval

OverlayConfigPayload

structapp · liveAPP/Socket.swift:624
struct OverlayConfigPayload: Codable

No adjacent doc comment

renderChatMessage

funcapp · liveAPP/Socket.swift:888
func renderChatMessage( user: String, msg: String, img: String?, giftImg: String?, isMain:Bool = true )

updateAudienceInfo

funcapp · liveAPP/Socket.swift:930
private func updateAudienceInfo( userNum: Int?, userList: [String]? )

StreamStatusChanged

funcapp · liveAPP/Socket.swift:970
func StreamStatusChanged(isLive: Bool, message: String? = nil, activityEndReason: String? = nil)

normalizedPIPStatusMessage

funcapp · liveAPP/Socket.swift:988
private func normalizedPIPStatusMessage(isLive: Bool, message: String?) -> String

No adjacent doc comment

GetRTMPConfig

funcapp · liveAPP/Socket.swift:1002
func GetRTMPConfig() -> [String: Any]

No adjacent doc comment

GetLogConfig

funcapp · liveAPP/Socket.swift:1115
func GetLogConfig() -> [String: Any]

No adjacent doc comment

GetOverlayConfig

funcapp · liveAPP/Socket.swift:1155
func GetOverlayConfig() -> [String: Any]

No adjacent doc comment

pushOverlayConfig

funcapp · liveAPP/Socket.swift:1168
func pushOverlayConfig()

No adjacent doc comment

dictionary

funcapp · liveAPP/Socket.swift:1172
private func dictionary<T: Encodable>(from payload: T) -> [String: Any]?

No adjacent doc comment

handleReceivedData

funcapp · liveAPP/Socket.swift:1189
private func handleReceivedData(_ data: Data, from connection: NWConnection)

handleDecodedPayload

funcapp · liveAPP/Socket.swift:1205
private func handleDecodedPayload(data: Data, type: String, connection: NWConnection)

sendQueues

propertyapp · liveAPP/Socket.swift:1565
private var sendQueues: [ObjectIdentifier: [Data]]

No adjacent doc comment

sendingFlags

propertyapp · liveAPP/Socket.swift:1566
private var sendingFlags: [ObjectIdentifier: Bool]

No adjacent doc comment

encodedData

funcapp · liveAPP/Socket.swift:1570
private func encodedData<T: Encodable>(_ payload: T) -> Data?

enqueue

funcapp · liveAPP/Socket.swift:1600
private func enqueue(_ data: Data, to conn: NWConnection)

enqueueLocked

funcapp · liveAPP/Socket.swift:1607
private func enqueueLocked(_ data: Data, to conn: NWConnection)

sendNextPayload

funcapp · liveAPP/Socket.swift:1632
private func sendNextPayload(for conn: NWConnection)

broadcast

funcapp · liveAPP/Socket.swift:1664
func broadcast(type:String = "settings",key: String, value: Any,to connection: NWConnection? = nil)

No adjacent doc comment

broadcastExternalLogs

funcapp · liveAPP/Socket.swift:1689
func broadcastExternalLogs(_ entries: [[String: String]])

broadcastDiagnostic

funcapp · liveAPP/Socket.swift:1721
func broadcastDiagnostic(_ payload: [String: Any])

broadcast

funcapp · liveAPP/Socket.swift:1726
private func broadcast(_ dictionary: [String: Any], excluding origin: NWConnection?)

sendTo

funcapp · liveAPP/Socket.swift:1749
private func sendTo(_ connection: NWConnection, payload: some Encodable)

No adjacent doc comment

sendTo

funcapp · liveAPP/Socket.swift:1756
private func sendTo(_ connection: NWConnection, dictionary: [String: Any])

No adjacent doc comment

startKeepaliveTimer

funcapp · liveAPP/Socket.swift:1763
private func startKeepaliveTimer()

No adjacent doc comment

stopKeepaliveTimer

funcapp · liveAPP/Socket.swift:1774
private func stopKeepaliveTimer()

No adjacent doc comment

staleConnectionTimeout

propertyapp · liveAPP/Socket.swift:1779
private let staleConnectionTimeout: TimeInterval

No adjacent doc comment

broadcastPushState

funcapp · liveAPP/Socket.swift:1795
func broadcastPushState(key: String, value: Bool)

No adjacent doc comment

removeConnection

funcapp · liveAPP/Socket.swift:1807
private func removeConnection(_ connection: NWConnection)

No adjacent doc comment

prepareForBroadcastAndWaitReady

funcapp · liveAPP/Socket.swift:1881
func prepareForBroadcastAndWaitReady(timeout: TimeInterval = 3.0) async -> Bool

clearStaleBroadcastConnections

funcapp · liveAPP/Socket.swift:1909
private func clearStaleBroadcastConnections()

waitForReady

funcapp · liveAPP/Socket.swift:1944
private func waitForReady( deadline: DispatchTime, generation: UUID, continuation: CheckedContinuation<Bool, Never> )

fixlogSafeKey

funcapp · liveAPP/Socket.swift:2037
func fixlogSafeKey(_ str:String) -> String

No adjacent doc comment

liveAPP/SocketConnectionSettingsView.swift(2)

SocketConnectionSettingsView

struct SocketConnectionSettingsView: View

No adjacent doc comment

Members (3)
liveAPP/SocketPortSettings.swift(1)
liveAPP/SpeechFilterConfiguration.swift(5)

SpeechFilterConfiguration

struct SpeechFilterConfiguration: Codable, Equatable
Members (11)

init

init(blockKeywords: [String], replaceKeywords: [SpeechReplacement], removeURLs: Bool? = nil, removeEmoji: Bool? = nil, removePureNumbers: Bool? = nil, removeNonWordNoise: Bool? = nil, noisePolicy: SpeechNoisePolicy? = nil)

No adjacent doc comment

liveAPP/StreamActivityManager.swift(1)

StreamActivityManager

final class StreamActivityManager: ObservableObject

No adjacent doc comment

Members (18)
liveAPP/StreamDiagnosticsView.swift(5)

StreamDiagnosticsSections

struct StreamDiagnosticsSections: View
Members (23)

mediaTimingSection

private func mediaTimingSection(_ title: String, _ value: RTMPMediaTimingDiagnostics?, sampledAt: Date) -> some View
liveAPP/StreamManager.swift(1)
liveAPP/Support/AppPreferences.swift(2)
liveAPP/Support/HexColor.swift(2)
liveAPP/Support/PhotoVideoImport.swift(2)
liveAPP/Support/VideoWorkFiles.swift(1)

VideoWorkFiles

enum VideoWorkFiles
Members (4)
liveAPP/TTSService.swift(4)

TTSService

final class TTSService: NSObject, AVSpeechSynthesizerDelegate

No adjacent doc comment

Members (18)

audioSessionObservers

propertyapp · liveAPP/TTSService.swift:39
private var audioSessionObservers: [NSObjectProtocol]

No adjacent doc comment

updateState

func updateState(isON:Bool? = nil,min_Len:Int? = nil,MainOnly:Bool? = nil)

No adjacent doc comment

speakStreamMessage

func speakStreamMessage( user: String, message: String, isMain:Bool = true, force:Bool = false )

No adjacent doc comment

refreshAudioSessionForCurrentSetting

func refreshAudioSessionForCurrentSetting()

No adjacent doc comment

speak

private func speak(_ text: String, keepsCallAudioAlive: Bool = true)

No adjacent doc comment

speechSynthesizer

nonisolated func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, didFinish utterance: AVSpeechUtterance)

No adjacent doc comment

speechSynthesizer

nonisolated func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, didCancel utterance: AVSpeechUtterance)

No adjacent doc comment

handleAudioSessionInterruption

private func handleAudioSessionInterruption(_ notification: Notification)

No adjacent doc comment

handleMediaServicesReset

private func handleMediaServicesReset(_ notification: Notification)

No adjacent doc comment

TTSCallAudioKeeper

classapp · liveAPP/TTSService.swift:374
private final class TTSCallAudioKeeper

No adjacent doc comment

Members (7)

configurePlaybackSession

private func configurePlaybackSession() throws

No adjacent doc comment

liveAPP/TTSSettingsView.swift(5)

SpeechFilterManager

class SpeechFilterManager: ObservableObject

No adjacent doc comment

Members (12)

importConfiguration

func importConfiguration(_ incoming: SpeechFilterConfiguration, replace: Bool, useIncomingConflicts: Bool, directory: URL) throws -> URL

strippingNoiseTokens

static func strippingNoiseTokens(_ text: String) -> String

No adjacent doc comment

SpeechFilterDocumentPicker

private struct SpeechFilterDocumentPicker: UIViewControllerRepresentable
Members (11)

makeUIViewController

func makeUIViewController(context: Context) -> UIDocumentPickerViewController

No adjacent doc comment

updateUIViewController

func updateUIViewController(_ controller: UIDocumentPickerViewController, context: Context)

No adjacent doc comment

Coordinator

final class Coordinator: NSObject, UIDocumentPickerDelegate

No adjacent doc comment

Members (3)

documentPicker

func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls: [URL])

No adjacent doc comment

documentPickerWasCancelled

func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController)

No adjacent doc comment

applyImport

private func applyImport(_ incoming: SpeechFilterConfiguration, replace: Bool)

No adjacent doc comment

readConfiguration

nonisolated private static func readConfiguration(from url: URL) throws -> SpeechFilterConfiguration

TTSSettingsView

struct TTSSettingsView: View
Members (4)

groupedVoiceOptions

private var groupedVoiceOptions: [(key: String, value: [TTSVoiceOption])]

No adjacent doc comment

liveAPP/VideoBitrateAnalyzer.swift(2)

VideoBitrateAnalyzer

actor VideoBitrateAnalyzer

No adjacent doc comment

Members (3)

extractBitrateSamples

private static func extractBitrateSamples(asset: AVAsset, duration: TimeInterval) async -> [VideoAnalysisResult.BitrateSample]

No adjacent doc comment

liveAPP/VideoBitrateView.swift(1)

VideoBitrateView

struct VideoBitrateView: View

No adjacent doc comment

Members (14)

fileInfoSection

private func fileInfoSection(_ result: VideoAnalysisResult) -> some View

No adjacent doc comment

bitrateChartSection

private func bitrateChartSection(_ result: VideoAnalysisResult) -> some View

No adjacent doc comment

bitrateTimelineChart

private func bitrateTimelineChart(_ result: VideoAnalysisResult) -> some View

No adjacent doc comment

videoTracksSection

private func videoTracksSection(_ result: VideoAnalysisResult) -> some View

No adjacent doc comment

audioTracksSection

private func audioTracksSection(_ result: VideoAnalysisResult) -> some View

No adjacent doc comment

infoRow

private func infoRow(label: String, value: String, highlight: Bool = false) -> some View

No adjacent doc comment

liveAPP/liveAPPApp.swift(19)

LogBuffer

final class LogBuffer

No adjacent doc comment

Members (16)

flushWorkItem

propertyapp · liveAPP/liveAPPApp.swift:58
private var flushWorkItem: DispatchWorkItem?

No adjacent doc comment

AppLogPersister

classapp · liveAPP/liveAPPApp.swift:157
final class AppLogPersister: @unchecked Sendable
Members (51)

historyPage

func historyPage(start: Int? = nil, generation: Int? = nil) async throws -> LogFilePage

No adjacent doc comment

flushWorkItem

propertyapp · liveAPP/liveAPPApp.swift:249
private var flushWorkItem: DispatchWorkItem?

No adjacent doc comment

idleCloseItem

propertyapp · liveAPP/liveAPPApp.swift:263
private var idleCloseItem: DispatchWorkItem?

No adjacent doc comment

scheduleFlush

private func scheduleFlush(after delay: TimeInterval)

No adjacent doc comment

ioFailureFlushItem

propertyapp · liveAPP/liveAPPApp.swift:493
private var ioFailureFlushItem: DispatchWorkItem?

No adjacent doc comment

ioFailureFlushDelay

propertyapp · liveAPP/liveAPPApp.swift:494
private let ioFailureFlushDelay: TimeInterval

No adjacent doc comment

recordIOFailure

private func recordIOFailure(context: String, lastError: String)

No adjacent doc comment

openWriteHandle

private func openWriteHandle() -> FileHandle?

No adjacent doc comment

LogModel

classapp · liveAPP/liveAPPApp.swift:602
final class LogModel: ObservableObject

No adjacent doc comment

Members (10)

LogReceiver

classapp · liveAPP/liveAPPApp.swift:684
final class LogReceiver

No adjacent doc comment

Members (11)

flushWorkItem

propertyapp · liveAPP/liveAPPApp.swift:696
private var flushWorkItem: DispatchWorkItem?

No adjacent doc comment

RemoteLogBuffer

classapp · liveAPP/liveAPPApp.swift:871
final class RemoteLogBuffer

No adjacent doc comment

Members (6)

buffer

propertyapp · liveAPP/liveAPPApp.swift:875
private var buffer: [ExternalLogEntry<[String: String]>]

No adjacent doc comment

RemoteLogSender

classapp · liveAPP/liveAPPApp.swift:911
final class RemoteLogSender

No adjacent doc comment

Members (10)

sendBatch

private func sendBatch(_ logs: [[String: String]])

No adjacent doc comment

remotelog

func remotelog(title:String="liveApp",message:String)

No adjacent doc comment

sendlog

funcapp · liveAPP/liveAPPApp.swift:1064
func sendlog(title:String = "liveApp",message: String)

No adjacent doc comment

receiveSocketLog

funcapp · liveAPP/liveAPPApp.swift:1095
func receiveSocketLog(title: String = "UseESocket", message: String)

No adjacent doc comment

postSystemNotification

funcapp · liveAPP/liveAPPApp.swift:1144
func postSystemNotification(title: String, body: String, imageURL: String? = nil, inlineImages: [String] = [])

No adjacent doc comment

deliverNotification

funcapp · liveAPP/liveAPPApp.swift:1176
private func deliverNotification(content: UNMutableNotificationContent)

No adjacent doc comment

NotificationDelegate

classapp · liveAPP/liveAPPApp.swift:1443
class NotificationDelegate: NSObject, UNUserNotificationCenterDelegate

No adjacent doc comment

Members (1)

userNotificationCenter

funcapp · liveAPP/liveAPPApp.swift:1444
func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void)

No adjacent doc comment

UIDeviceOrientation

extensionapp · liveAPP/liveAPPApp.swift:1453
extension UIDeviceOrientation

No adjacent doc comment

Members (1)

matches

funcapp · liveAPP/liveAPPApp.swift:1454
func matches(_ interfaceOrientation: UIInterfaceOrientation) -> Bool

No adjacent doc comment

liveAPP/liveConfig.swift(2)

SharedResources

final class SharedResources

No adjacent doc comment

Members (5)
liveAPPTests/AVLagDiagnosticsTests.swift(1)
liveAPPTests/AppIconDiagnosticsTests.swift(1)
liveAPPTests/AudioMeterTests.swift(1)
liveAPPTests/AudioMixerRoutingTests.swift(1)
liveAPPTests/AudioTimelineObservationTests.swift(1)
liveAPPTests/AudioVolumeSliderTests.swift(1)
liveAPPTests/BuildInformationTests.swift(1)
liveAPPTests/CaptureCallbackDiagnosticsTests.swift(1)
liveAPPTests/CaptureErrorDiagnosticsTests.swift(1)
liveAPPTests/CaptureSessionTests.swift(2)

CaptureTestClock

private final class CaptureTestClock: @unchecked Sendable

No adjacent doc comment

Members (4)
liveAPPTests/CaptureStreamGeometryTests.swift(1)
liveAPPTests/CaptureStreamTelemetryTests.swift(2)
liveAPPTests/DiagnosticAgeTests.swift(1)
liveAPPTests/DiagnosticCounterRateTests.swift(1)
liveAPPTests/ExternalLogPolicyTests.swift(1)
liveAPPTests/H264EncodingProfileTests.swift(1)
liveAPPTests/HexColorTests.swift(1)
liveAPPTests/HomeConfigurationTests.swift(1)
liveAPPTests/IdleMemoryComparisonTests.swift(1)
liveAPPTests/ImageDataURITests.swift(1)
liveAPPTests/LiveActivitySettingsTests.swift(1)
liveAPPTests/LogArchiveStoreTests.swift(1)
liveAPPTests/LogDiagnosticExportTests.swift(1)
liveAPPTests/LogFileReaderTests.swift(1)
liveAPPTests/LogPresentationTests.swift(1)
liveAPPTests/LogRetentionTests.swift(1)
liveAPPTests/MetricReportAnalysisTests.swift(1)
liveAPPTests/PIPDisplaySettingsTests.swift(1)
liveAPPTests/PIPNoticePaginationTests.swift(1)
liveAPPTests/PIPOverlayLayoutTests.swift(1)
liveAPPTests/PIPRenderPolicyTests.swift(2)
liveAPPTests/ProcessingInFlightTrackerTests.swift(1)
liveAPPTests/RTMPPresetStoreTests.swift(1)
liveAPPTests/RecordingCompressionTests.swift(1)
liveAPPTests/RecordingDrainTests.swift(1)
liveAPPTests/RecordingGroupTests.swift(1)
liveAPPTests/RecordingLibraryTests.swift(1)
liveAPPTests/RecordingOrientationTests.swift(1)
liveAPPTests/RecordingSizeTests.swift(1)
liveAPPTests/RecordingStorageMigrationTests.swift(1)
liveAPPTests/RuntimeDebugConfigTests.swift(1)
liveAPPTests/ScreenStreamVideoRotatorTests.swift(1)
liveAPPTests/SegmentedRecordingTests.swift(4)
liveAPPTests/SettingsBackupTests.swift(1)
liveAPPTests/SocketRecoveryPolicyTests.swift(1)
liveAPPTests/SocketSendQueuePolicyTests.swift(1)
liveAPPTests/SocketValueTests.swift(1)
liveAPPTests/SpeechFilterConfigurationTests.swift(1)
liveAPPTests/StreamDiagnosticsTests.swift(1)
liveAPPTests/StreamMessageTests.swift(1)
liveAPPTests/VideoCompressionExportTests.swift(2)
liveAPPTests/VideoInputBufferSettingsTests.swift(1)
liveAPPTests/VideoProcessingDiagnosticsTests.swift(1)
liveAPPTests/VideoStreamPoliciesTests.swift(1)
liveAPPTests/liveAPPTests.swift(1)
liveAPPUITests/liveAPPUITests.swift(1)

liveAPPUITests

final class liveAPPUITests: XCTestCase

No adjacent doc comment

Members (4)
liveAPPUITests/liveAPPUITestsLaunchTests.swift(1)

liveAPPUITestsLaunchTests

final class liveAPPUITestsLaunchTests: XCTestCase

No adjacent doc comment

Members (3)
liveAPPWidget/LiveActivityWidgetBundle.swift(2)
mysocket.py(1)

create_connection

funcapp · mysocket.py:11
def create_connection()

No adjacent doc comment

sk_nolazy.py(2)

reader

funcapp · sk_nolazy.py:9
def reader()

No adjacent doc comment

send

funcapp · sk_nolazy.py:30
def send(m, rid)

No adjacent doc comment