You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several possible reasons. As @Mahmoud-Yousef said, we need more logs to investigate this. At least print out the error thrown by createProducer(...).
What it can be:
SendTransportDelegate not implemented correctly. Make sure you've set transport delegate and implemented onProduce method. This method must talk to your media server via signaling mechanism, your server creates producer on server-side and provides you an id for created producer. onProduce method must call it's callback closure with id provided by your media server.
SendTransport is in incorrect state (yet not connected or already disconnected)
Working with sendTransport from arbitrary thread (all calls to mediasoupclient should be done from the same dedicated thread/queue)
let producer = try? sendTransport.createProducer(for: audioTrack, encodings: nil, codecOptions: nil, appData: nil)
this is returning nil. please help me to resolve this
The text was updated successfully, but these errors were encountered: