-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i create producer? #25
Comments
Hello.
do {
videoProducer = try sendTransport?.createProducer(for: videoTrack!, encodings: nil, codecOptions: nil, codec: nil, appData: nil)
audioProducer = try sendTransport?.createProducer(for: audioTrack!, encodings: nil, codecOptions: nil, codec: nil, appData: nil)
} catch {
print("Failed to create producer with error \(error)")
} |
Hello. Thanks for your advice. But, i don't know why it works well. To analyze this issue, I can share more detail information. The answer of your comment is, |
I received the same error as you when i'm creating the producer But no idea how to solve this~ |
Hello. I just have a problem about creating Producer.
I'm making video chat application using MQTT and Mediasoup.
When I call the "SendTransport.createProducer()" function, it returns nil always. I don't know why.
Could you give me some advices?
Here are my sample code
The text was updated successfully, but these errors were encountered: