func broadcastSession()

in ScreenCapture/SampleHandler.swift [125:132]


    func broadcastSession(_ session: IVSBroadcastSession, didEmitError error: Error) {
        let nsError = error as NSError
        if nsError.userInfo[IVSBroadcastErrorIsFatalKey] as? Bool == true {
            finishBroadcastWithError(error)
        } else {
            print("IVSBroadcastSession did emit error - \(error)")
        }
    }