Getting error while using Broadcast Upload Extension

I am trying to implement a Broadcast Upload extension and I'm facing url error issue. Trying Broadcast upload through various examples and finally, when i am trying to provide broadcast url i am getting the following error.


let broadcastURL = URL(string:"rtmp://ingest-***/stream/streamkey")


-> [ERROR] Failed to determine whether URL /broadcast (n) is managed by a file provider


What is the problem here? is there any format for this url?