-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
peerConnectionAddStreamFailed, peerConnection is null #5
Comments
@alsiPanda can you please share your code or any modifications that you did to current code? Also have you tried it on some other android device? Seems like flutter webrtc issue |
There are a few code modification I did. As for trying it, I have used it on two very different android devices. Both show the same problem. Any specific place where I should look at? |
Okay! Yes auth credentials are optional if authentication is not set up in
configuration or while running janus, also is your janus server running
fine with stun server added in configuration file? Please try server that i
have been using in example and let me know if works then we can be sure
that something isn't right on your janus deployment
…On Thu, 24 Sep, 2020, 8:52 am alsiPanda, ***@***.***> wrote:
There are a few code modification I did.
1- automate the name, so I don't have to type everytime. The functions are
all the same.
2- the Navigator.pop() in the example code was causing some problem so I
fixed that. To be precise in the dialog. It was popping the wrong context.
3- the server address in janus initialisation I have changed. I am using
your janusdeploy docker image, hosted on Google cloud. So I have removed
the following auth as well. I presume that shouldn't affect peerConnection.
As for trying it, I have used it on two very different android devices.
Both show the same problem.
Any specific place where I should look at?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGLGDV7Q7C4VJSVO7PBLBO3SHK3P7ANCNFSM4RXVSOFA>
.
|
My Server seems to be running fine, the api responds when registering, hanging up, joining room. As for stun servers, I am using Google stun servers. Both in the flutter code and internally in the Janus config file. I will try using the onemandev server used in the example and let you know. |
@shivanshtalwar0 , good news is the peer connection error is gone. Bad news is the remoteRenderer is still blank. The peer connection null error was solved by using the TURN server originally in the code, which I had accidentally replaced by a google stun server. The error was gone after. |
You can find janus.jcfg on my official docker image, in directory /opt/janus/etc/janus.jcfg after running container |
Hi @shivanshtalwar0 |
When you say video what are you referring to? If you talking about video being captured from your device you need to provide your own mediacontraints in initializeMediaDevice method doing that will not capture it so will not be sent |
Hi @shivanshtalwar0 , I am getting the following error when running the videocall and videoRoom example on android device. However on making the call, the call doesn't reach the other device. This is the error I am getting :
videocall:
videoroom:
I think it might be related to the fact that jsep is null as seen from here:
print('publisheronmsg : $msg, jsep : $jsep');
Can you please help out with this ?
The text was updated successfully, but these errors were encountered: