Hello,
I’m used Wowza cloud streaming service for an audio live broadcasting/streaming case and I was used paid wowza cloud streaming service, but sometimes inBetween live broadcasting time change Wowza status and stop broadcasting and given below error in this wowza method/functions.
func onWOWZError(_ status: WOWZStatus!) {
print(“SDK Wowza State :->”,WOWZStatus?.self)
// If an error is reported by the GoCoder SDK, display an alert dialog containing the error details
DispatchQueue.main.async { () -> Voidin
self.showAlert(“Live Streaming Error”, status: status)
self.updateUIControls()
}
}
Alert Box :
func showAlert(_ title:String, error:NSError) {
let alertController = UIAlertController(title: title, message: error.localizedDescription, preferredStyle: .alert)
print(“Error : ->”,error.localizedDescription)
let action = UIAlertAction(title: “OK”, style: .default, handler: nil)
alertController.addAction(action)
self.present(alertController, animated: true, completion: nil)
}
Display Error :
2019-03-05 11:37:23.938775+0530 Blaster[2328:481593] WowzaGoCoderSDK: Broadcast Message: Stream Error
2019-03-05 11:37:23.938869+0530 Blaster[2328:483255] Session state changed from CLOSING to CLOSED
2019-03-05 11:37:23.939115+0530 Blaster[2328:481593] WowzaGoCoderSDK: WOWZH264Encoder - stopBroadcastingInternal
Status : -> Status is idle , error is “An error occurred when trying to connect to host: c2ebc0.entrypoint.cloud.wowza.com” (code = 15)
How can I solve this issue quick?