-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Video stream interlocutor remains in black screen #47
Comments
What type of connection are you using mobile or WiFi |
I use a 4G mobile connection for my mobile and my pc wifi |
There are a couple things you can try
|
Ok, I will try your advice and come back to you |
I did several tests with always the same problem.
|
Since you only mentioned the video stream the audio works fine ? |
Sorry, video & audio doesn't work |
Ok good to know also ensure you’re using the standard example not the basic (which should be the deprecated v1) another thing to verify is https://github.com/triniwiz/nativescript-webrtc/blob/master/demo/app/standard/standard-vm.ts this is firing to add the incoming candidates |
I am using your file well and I have the iceCandidate displayed on the console. I also use the standard and not the basic. |
Yes I’m seeing it logged but can you add some extra logging to verify the add method is being called ? |
addIceCandidate is called |
|
Can you bind to the |
Ok, I will try your advice and come back to you |
I cannot link the This function blocks communication without making an error =>
|
Oh interesting I’ll need some time to look into it also that callback needs to be renamed you can check out here |
@abhayastudios Yes indeed, you seem to understand why it doesn't work, can you tell me more? |
@j20mc actually for me it is working with branch |
Thank you for the explanations. Based on my research, I too came across a TURN server solution. Little question about a 4G mobile network at my place it does not work and you? |
To see if the problem can be solved via a TURN server, I add my server url instead of the STUN google servers. I could see that there is an error in file
Otherwise it will never run. However I can't call the TURN server using this function : |
@j20mc first off: nice catch :) Once I fix that line in the alpha22 branch then I can actually see that it starts adding the IceServers from Twilio that I add on Android (on iOS it is already working seems). However, like for you, it is still not working from me if I am on different networks. Apparently there is something else going on. Will need to investigate some more... |
Fix passing IceServers on Android described in #47
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Is there any code involved?
Hi there, I currently have a video stream problem that remains black during a call. The sockets communicate well but there is no video stream. I had problems with my application and I just tested on your demo and I have the same problem.
Here is the console log of your demo =>
APPLICATION :
SERVER :
As you can see, there is no error but the video stream between the two smartphones remains in black. I specify that each smartphone has its own video stream but it does not have that of the interlocutor.
The text was updated successfully, but these errors were encountered: