<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Emmanuel,<br>
<br>
I was working in a problem related issue. I think that the common
problem is that I use a different thread for receiving channel data and
decoding it, and another<br>
different one for encoding and sending. To avoid the locks I have to
call directly to the channel->tech->write which could be causing
serious problems.<br>
<br>
I think that the solution would be also move the sending part into the
receiving thread and call ast_write as usual. The problem is that I
don't see a clean way of<br>
signalling from the encoding thread to the ast_wait function in the
receiving thread to wake up and send the data so you don't have to wait
for incoming data to send.<br>
<br>
A non-clean way could be to create an internal socket and add it to
the wait function so I can write some dummy data in the enconding
thread to make the decoder thread wake up.<br>
<br>
BR<br>
Sergio<br>
<br>
<br>
Emmanuel BUU escribió:
<blockquote cite="mid:8a1d70facea0056f0e2a01288d1934d5@ives" type="cite">
<pre wrap="">According to my tests, tt seems that app_transcoder gets into a deadlock after a few second of operation.
I am trying to identify the issue. It could be related to this issue.
On Mon, 9 Jun 2008 09:58:34 +0200, "Nico Gundacker" <a class="moz-txt-link-rfc2396E" href="mailto:nico.gundacker@dynetic.de"><nico.gundacker@dynetic.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi guys,
as you see at the topic asterisk send out the following warning message:
[Jun 9 10:47:21] WARNING[25155]: channel.c:916 ast_queue_frame:
Exceptionally long queue length queuing to
Local/1001@menue-vidoestreamen-adbc,2
Sometimes these warning are shown at the screen until the call is hung up
and sometimes even after call is hung up. Then I need to kill asterisk
process. Is there any solution for this problem?
I used a 3 g phone and the following dial-plan:
..
exten => 101,1,Answer
exten =>
101,2,transcode(,1001@menue-vidoestreamen,h263@qcif/fps=12/kb=52/qmin=4/qmax
=12/gs=50)
...
exten => 1001,1,Answer
exten => 1001,2,rtsp(rtsp://xx.xx.xx.xx/xxxx/xxxx_direkt/28766.3gp)
exten => 1001,3,Goto(0,2)
Thank you for your help
BR Nico
</pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
--Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>--
asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-video">http://lists.digium.com/mailman/listinfo/asterisk-video</a>
</pre>
</blockquote>
<br>
</body>
</html>