mofadlalla / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
1 stars 0 forks source link

Video delay #524

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is a significant video delay of about 1-2 seconds. 

What steps will reproduce the problem?
1. Call another SIP phone like Ekiga. The video codec selected for Ekiga is 
h.263-1998. 
I could not test it with another sipdroid phone but I suspect the same behavior.
2.
3.

What is the expected output? What do you see instead?
Huge video delay. 
By the way, even with the new version I cannot receive the video on Sipdroid. I 
am talking about the video received on Ekiga. It occurs for both video 
qualities.

What version of the product are you using? On what device/operating system?
Sipdoid 1.5.2 beta, T-Mobile myTouch 3G (HTC USA), Android firmware 1.6 

Which SIP server are you using? What happens with PBXes?
It happens with or without PBXes. 

Which type of network are you using?
LAN at home.

Please provide any additional information below.

Original issue reported on code.google.com by ddrago...@gmail.com on 23 Jun 2010 at 2:51

GoogleCodeExporter commented 9 years ago
I am using it on EVO on wireless LAN and seeing the same delay. I put debugs 
Into VideoCamera.java inside the loop that sends Data from the camera and it 
appears that the following lines could be if (avgrate != 0) 
Tread.sleep((int)(avglen/avgrate*1000)); could be causing the delays, 
especially when there are a lot of motion. 

Original comment by alex9...@gmail.com on 23 Jun 2010 at 4:18

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/android/issues/detail?id=3101

Original comment by pmerl...@googlemail.com on 24 Jun 2010 at 10:10

GoogleCodeExporter commented 9 years ago
not sure if 3101 in android code is the issue. 3101 is obsolete in the HEAD 
branch. The reason you can't see the remote video is because most of the Video 
Devices will not do RTSP in real-time call. PBXes.org does something 
non-standard to get this to work. I don't have account on PBXes.org to test, 
but it does not work for me also in SIP/RTP environment. Apparently DROID wants 
to see RTSP for MediaPlayer to work.

Original comment by alex9...@gmail.com on 25 Jun 2010 at 2:40

GoogleCodeExporter commented 9 years ago
I tried between 2 extensions of a pbxes.org account, but I cannot make a call 
between an Android phone and an Ekiga machine within my LAN. I can make a call 
between a pbxes account (phone) and a non pbxes one (Ekiga) -the one I 
mentioned with the one way video...

Original comment by ddrago...@gmail.com on 25 Jun 2010 at 9:37

GoogleCodeExporter commented 9 years ago
I think the delay comes from the MediaRecorder object used for streaming. It 
has nothing to do with the Sipdroid code. Maybe for the newest phones/firmware 
versions it is much smaller.

Original comment by ddrago...@gmail.com on 26 Jun 2010 at 12:39