Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//
// MARK: - RPBroadcastControllerDelegate Protocol
//
extension RecorderViewController: RPBroadcastControllerDelegate
{
/**
Parece que ha habido un error durante la emisión...
*/
func broadcastController(_ broadcastController: RPBroadcastController, didFinishWithError error: Error?) -> Void
{
if let error = error
{
print("Error durante la retransmisión.")
print(error.localizedDescription)
}
}
/**
Se ha actualizado la URL de la emisión
*/
func broadcastController(_ broadcastController: RPBroadcastController, didUpdateBroadcast broadcastURL: URL) -> Void
{
print("Nueva URL, retransmisión ahora disponible en \(broadcastURL.absoluteString)")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.