Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoCast does not work with Replaykit 2 properly #43

Open
mooncatventures-group opened this issue Dec 8, 2019 · 0 comments
Open

VideoCast does not work with Replaykit 2 properly #43

mooncatventures-group opened this issue Dec 8, 2019 · 0 comments

Comments

@mooncatventures-group
Copy link

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")
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant