Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

not getting video

Open prathibhacdac opened this issue 2 years ago • 18 comments

video works in the same network but not in different network.

prathibhacdac avatar Feb 15 '23 08:02 prathibhacdac

stun server issue is resolved. but not getting audio and video.

prathibhacdac avatar Feb 28 '23 10:02 prathibhacdac

video works in the same network but not in different network.

Is this still the case?

InnovateAsterisk avatar Feb 28 '23 11:02 InnovateAsterisk

Now I'm getting video in different n/w. But before sometime, I didn't get it.

prathibhacdac avatar Feb 28 '23 11:02 prathibhacdac

Whats the latency (roundtrip) between your client and the server?

InnovateAsterisk avatar Feb 28 '23 12:02 InnovateAsterisk

How to find latency?

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Conrad de Wet @.> Sent: Tuesday, February 28, 2023 5:48:46 PM To: InnovateAsterisk/Browser-Phone @.> Cc: prathibhacdac @.>; Author @.> Subject: Re: [InnovateAsterisk/Browser-Phone] not getting video (Issue #439)

Whats the latency (roundtrip) between your client and the server?

— Reply to this email directly, view it on GitHubhttps://github.com/InnovateAsterisk/Browser-Phone/issues/439#issuecomment-1448086246, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGJHM3STVO3GQCIPBPU3P4TWZXUKNANCNFSM6AAAAAAU4RM7P4. You are receiving this because you authored the thread.Message ID: @.***! com>

[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/InnovateAsterisk/Browser-Phone/issues/439#issuecomment-1448086246", "url": "https://github.com/InnovateAsterisk/Browser-Phone/issues/439#issuecomment-1448086246", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

prathibhacdac avatar Feb 28 '23 13:02 prathibhacdac

Traceroute from mobile to server: No. of hops 12, time 32094ms

Traceroute from PC to server: traceroute 10.10.10.73 traceroute to 10.10.10.73 (10.10.10.73), 30 hops max, 60 byte packets 1 bp1.erss.in (10.10.10.73) 0.039 ms 0.007 ms 0.010 ms

prathibhacdac avatar Mar 01 '23 03:03 prathibhacdac

Today, I'm not getting the audio and video.

prathibhacdac avatar Mar 01 '23 05:03 prathibhacdac

Is it required to open port 5060 in the asterisk server?

prathibhacdac avatar Mar 01 '23 06:03 prathibhacdac

Is it required to open port 5060 in the asterisk server?

WebRTC does not use port 5060.

InnovateAsterisk avatar Mar 01 '23 06:03 InnovateAsterisk

How to find latency?

For the moment a simple ping would give you an indication of how long messages take.

InnovateAsterisk avatar Mar 01 '23 06:03 InnovateAsterisk

From mobile: Total execution time 12097ms

from PC Approximate round trip times in milli-seconds: Minimum = 6ms, Maximum = 7ms, Average = 6ms

prathibhacdac avatar Mar 01 '23 07:03 prathibhacdac

Total execution time 12097ms

It’s pretty much impossible to do any kind of voice communication with a latency of 12sconds.

Minimum = 6ms, Maximum = 7ms, Average = 6ms

This is better, but now almost seems too quick. Is this local lan ?

InnovateAsterisk avatar Mar 01 '23 07:03 InnovateAsterisk

Minimum = 6ms, Maximum = 7ms, Average = 6ms

This is better, but now almost seems too quick. Is this local lan ? Yes.

prathibhacdac avatar Mar 01 '23 07:03 prathibhacdac

You need to perform some tests to find out at what point the video is failing. To do this, you should eliminate some of the call legs. Create a dial-plan entry to perform a simple echo with video. https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+Application_StreamEcho Something like this should work. The calls should then be answer by asterisk and simply echoed back to you.

Configure something like the above, and test with your pc, and with the mobile. Note that you will not be calling between the devices. The cal flow will be from the client to the server and back only.

InnovateAsterisk avatar Mar 01 '23 07:03 InnovateAsterisk

I'm able to hear the audio back from PC. In mobile, I'm getting video but it is struck.

prathibhacdac avatar Mar 02 '23 04:03 prathibhacdac

If you connect the mobile phone to the same network as the pc using WiFi, what’s are the results?

InnovateAsterisk avatar Mar 02 '23 07:03 InnovateAsterisk

Only getting Trying... on both sides.

prathibhacdac avatar Mar 02 '23 08:03 prathibhacdac

STUN transaction has timed out (PJNATH_ESTUNTIMEDOUT). Is this an issue?

prathibhacdac avatar Mar 09 '23 05:03 prathibhacdac