google-code-export / rtmplite

Automatically exported from code.google.com/p/rtmplite
3 stars 1 forks source link

video freeze on siprtmp #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I'm Ivan Ruiz!

I'm  trying to integrate a webphone on our platform ( http://app.medibaby.net, 
spanish only :( ).  I customized videPhone included on the project, I just add 
a javascript interface to interact with gateway and copied some code to bring 
the camera, micros and netstreams up. I am using freeswicht as a SIP server and 
the siprtmp gateway. 

The problem is that the video freeze the image, sometimes the video comes back 
to play but it use to stay freezed. It happens when some frames are too 
diferent, i don't know how to explain hope you catch the idea.The sound is not 
affect.

Some information about the test

Virtual Machine running Ubuntu server 11.10 with Freeswitch and siprtmp gateway 
inside
Local Network
Speex16 and h264 codecs
Flash 11.5

I've tryied some diferents browsers with diferents computers but I always have 
this problem. It also happen with videoPhone included on the rtmplite project.

I attach a log from command python siprtmp.py -d 

Thanks for your time !
 

Original issue reported on code.google.com by ivan.rui...@gmail.com on 23 Nov 2012 at 12:20

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Ivan,

Sorry about the long delay. Are you still facing the issue.

1) Is the freeze happening on the video played flash player or in SIP?

2) What SIP phone are you using?

There are generally two causes for video freeze on the video played by
Flash Player. (1) a packet was dropped or missed on RTP/UDP and the
siprtmp gateway was never able to recover from the loss. This causes a
freeze on Flash Player's video display. (2) bandwidth is so saturated
on the RTMP/TCP link that Flash Player gives up trying to recover,
disables video, and enables only audio.

To make sure (2) is not the case, try reducing the profile level on
your SIP phone to a lower bandwidth value. If (1) is the problem, then
the SIP phone is not sending intra-frames anymore. It will depend on
what SIP phone you are using to understand the mechanism to report
infra-frame request. Most SIP phones implement the RTCP message to
request fast-update-request, but in siprtmp we didn't implement this.
We only implemented the INFO request for Fast-Intra-Request. May be it
is time to implement the Full-Intra-Request
http://tools.ietf.org/html/rfc2032#page-9 (or its updated RFC).

Let us know the specific problem you are facing.

Regards!

Original comment by theinten...@gmail.com on 11 Jan 2013 at 7:43