Closed alsiPanda closed 3 years ago
@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.
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?
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, notifications@github.com 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 https://github.com/shivanshtalwar0/flutter_janus_client/issues/5#issuecomment-698087782, 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. So I went to the janus.jcfg and added the same TURN server . But remote renderer is blank and there is no error. Can you post your janus.jcfg file ?
You can find janus.jcfg on my official docker image, in directory /opt/janus/etc/janus.jcfg after running container
Hi @shivanshtalwar0 I am trying to disable the video in flutter by using api {"request":"configure","video":false,"audio":true} but this is not working I tried with createoffer also Please anyone help on this
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 ?