Skip to content

VideoCast does not work with Replaykit 2 properly #43

@mooncatventures-group

Description

@mooncatventures-group

It does not work with IOS system wide broadcast

Always gets a crash here
in VCPreview

CVMetalTextureCacheCreate(kCFAllocatorDefault, nil, device, nil, &cache)

    let defaultLibrary: MTLLibrary!
    guard let libraryFile = Bundle(for: type(of: self)).path(forResource: "default", ofType: "metallib") else {
            fatalError(">> ERROR: Couldnt find a default shader library path")
    }
    do {
        try defaultLibrary = device.makeLibrary(filepath: libraryFile)
    } catch {
        fatalError(">> ERROR: Couldnt create a default shader library")
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions