google-code-export / red5phone

Automatically exported from code.google.com/p/red5phone
1 stars 0 forks source link

audio stops after 2 seconds #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi, i've successfully installed red5phone on my linux box and it seems to
work. the only problem is when i make a call the sound stops working after
about 2 seconds. has anyone else had this problem? what could be causing
this to happen?

Original issue reported on code.google.com by vipki...@gmail.com on 5 Dec 2009 at 7:16

GoogleCodeExporter commented 9 years ago
I have the same problem... everything looks ok, except the sound stops after 
about 2 
seconds...

Original comment by dorin.v...@gmail.com on 15 Jan 2010 at 8:32

GoogleCodeExporter commented 9 years ago
here are lines from the sip.log of red5 server, from the moment I have push 
Dial 
button:

2010-01-16 00:35:41,705 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Call 1212
2010-01-16 00:35:41,705 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Call found user 89378104-1725-1060-5451-33B5A8DB1483 making call to 1212
2010-01-16 00:35:41,705 [NioProcessor-1] DEBUG 
org.red5.server.webapp.sip.SIPUser - 
Calling 1212
2010-01-16 00:35:41,782 [Thread-1406] DEBUG org.red5.server.webapp.sip.SIPUser 
- 
onUaCallConnected
2010-01-16 00:35:41,784 [Thread-1406] DEBUG o.r.s.webapp.sip.RTPStreamSender - 
RTPStreamSender - start() -> using blocks of 160 bytes.
2010-01-16 00:35:41,786 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Client connected 72 service RTMPMinaConnection from 127.0.0.1 : 32820 
to 
localhost (in: 3336 out 3073 )
2010-01-16 00:35:41,786 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Client joined app 72
2010-01-16 00:35:41,789 [Thread-1406] DEBUG org.red5.server.webapp.sip.SIPUser 
- 
onUaCallAccepted
2010-01-16 00:35:41,793 [Thread-1501] DEBUG o.r.s.webapp.sip.RTPStreamReceiver 
- 
RtpStreamReceiver - run -> internalBuffer.length = 172, codedBuffer.length = 
160, 
decodingBuffer.length = 160.
2010-01-16 00:35:41,797 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream subscribe start: 3e28757d-9ecd-4fd5-8c03-a16ec9e749dc
2010-01-16 00:35:41,801 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream play: speaker_1263594941705
2010-01-16 00:35:41,806 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream publish start: microphone_1263594941705
2010-01-16 00:35:41,808 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream broadcast start: microphone_1263594941705
2010-01-16 00:35:41,822 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream subscribe start: 45462f43-aff8-420a-a1fd-d7e23da9afcb
2010-01-16 00:35:41,824 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream play: microphone_1263594941705
2010-01-16 00:35:41,837 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream publish start: speaker_1263594941705
2010-01-16 00:35:41,838 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream broadcast start: speaker_1263594941705
2010-01-16 00:35:41,848 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP streamStatus
2010-01-16 00:35:41,849 [NioProcessor-1] DEBUG 
org.red5.server.webapp.sip.SIPUser - 
streamStatus start
2010-01-16 00:35:47,956 [Thread-1406] DEBUG o.r.s.webapp.sip.RTPStreamSender - 
RTPStreamSender - halt -> Terminated
2010-01-16 00:35:48,127 [Thread-1501] DEBUG o.r.s.webapp.sip.RTPStreamReceiver 
- 
RtpStreamReceiver - run -> Terminated.
2010-01-16 00:35:48,127 [Thread-1501] DEBUG o.r.s.webapp.sip.RTPStreamReceiver 
- 
RtpStreamReceiver - run -> Frames = 300.
2010-01-16 00:35:48,159 [Thread-1406] DEBUG org.red5.server.webapp.sip.SIPUser 
- 
onUaCallClosed
2010-01-16 00:35:48,159 [Thread-1406] DEBUG org.red5.server.webapp.sip.SIPUser 
- 
closeStreams
2010-01-16 00:35:48,277 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream stop: microphone_1263594941705
2010-01-16 00:35:48,279 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Hangup
2010-01-16 00:35:48,280 [NioProcessor-1] DEBUG 
org.red5.server.webapp.sip.SIPUser - 
hangup
2010-01-16 00:35:48,280 [NioProcessor-1] DEBUG 
org.red5.server.webapp.sip.SIPUser - 
closeStreams
2010-01-16 00:35:48,291 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream subscribe close: 3e28757d-9ecd-4fd5-8c03-a16ec9e749dc
2010-01-16 00:35:48,292 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Stream broadcast close: microphone_1263594941705
2010-01-16 00:35:48,292 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP Client leaving app 72
2010-01-16 00:35:48,307 [NioProcessor-1] INFO  
o.r.server.webapp.sip.Application - 
Red5SIP streamStatus
2010-01-16 00:35:48,307 [NioProcessor-1] DEBUG 
org.red5.server.webapp.sip.SIPUser - 
streamStatus stop

Original comment by dorin.v...@gmail.com on 15 Jan 2010 at 10:37

GoogleCodeExporter commented 9 years ago
here it goes in red5.log

2010-01-16 20:18:09,192 [NioProcessor-1] INFO  
o.red5.server.net.rtmp.RTMPHandler - 
Connecting to: [WebScope@32162f16 Depth = 1, Path = '/default', Name = 'sip']
2010-01-16 20:18:09,236 [NioProcessor-1] INFO  
o.red5.server.net.rtmp.RTMPHandler - 
Remembering client buffer on stream: 0
2010-01-16 20:18:09,245 [NioProcessor-1] INFO  
o.r.s.stream.ClientBroadcastStream - 
Stream start
2010-01-16 20:18:09,250 [NioProcessor-1] INFO  
o.r.s.stream.ClientBroadcastStream - 
Stream start
2010-01-16 20:18:15,597 [NioProcessor-1] ERROR 
o.r.server.service.ServiceInvoker - 
Error executing call: Service: null Method: publish Num Params: 1 0: null
2010-01-16 20:18:15,599 [NioProcessor-1] ERROR 
o.r.server.service.ServiceInvoker - 
Service invocation error
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
[na:1.6.0]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:43) 
[na:1.6.0]
        at java.lang.reflect.Method.invoke(Method.java:616) [na:1.6.0]
        at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:200) 
[red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:186) 
[red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:395) 
[red5.jar:na]
        at 
org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:13
8) 
[red5.jar:na]
        at 
org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.jav
a:191
) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived
(Defa
ultIoFilterChain.java:713) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
fault
IoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChai
n.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(Def
aultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at 
org.red5.server.net.filter.TrafficShapingFilter.messageReceived(TrafficShapingFi
lter.
java:204) [red5.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
fault
IoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChai
n.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(Def
aultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush
(Prot
ocolCodecFilter.java:375) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFi
lter.
java:229) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
fault
IoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilte
rChai
n.java:46) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceive
d(Def
aultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter
.java
:119) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(De
fault
IoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(Defaul
tIoFi
lterChain.java:426) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoPr
ocess
or.java:638) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingI
oProc
essor.java:598) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingI
oProc
essor.java:587) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPolli
ngIoP
rocessor.java:61) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPo
lling
IoProcessor.java:969) [mina-core-2.0.0-RC1.jar:na]
        at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) 
[mina-core-2.0.0-RC1.jar:na]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
[na:1.6.0]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
[na:1.6.0]
        at java.lang.Thread.run(Thread.java:636) [na:1.6.0]
Caused by: java.lang.NullPointerException: null
        at org.red5.server.stream.StreamService.publish(StreamService.java:343) 
[red5.jar:na]
        ... 34 common frames omitted
2010-01-16 20:18:15,606 [NioProcessor-1] INFO  
o.r.s.stream.ClientBroadcastStream - 
Close

Original comment by dorin.v...@gmail.com on 16 Jan 2010 at 6:20

GoogleCodeExporter commented 9 years ago
I have the same problem... everything looks ok, except the sound stops after 
about 2 
seconds...

Original comment by hak...@gmail.com on 19 Jan 2010 at 5:23

GoogleCodeExporter commented 9 years ago
same problem here no audio in about 2-3 sec from the called party :(

Original comment by alexandr...@gmail.com on 18 Feb 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Use red5phone r39 with Red5-0.9.RC1. It is the latest compatible releases.

Original comment by mollamus...@gmail.com on 26 Mar 2010 at 8:50

GoogleCodeExporter commented 9 years ago
I using Asterisk over CentOs,I've installed Red5 on Windows:XP,Vista and I have 
de
same problem after 2 seconds.

Original comment by onegrei...@yahoo.com on 15 Apr 2010 at 4:01

GoogleCodeExporter commented 9 years ago
Same exact problem here on Linux using red5phone trunk (r39), and the Red5 
server
trunk. Any ideas what I can do to get this working?

Original comment by camronle...@gmail.com on 15 Apr 2010 at 10:11

GoogleCodeExporter commented 9 years ago
So, just to update, it's not a matter of having the latest versions like the 
help
here kind of sounded. The issue is that you need 0.9.RC1, and r39 specifically. 
Those two specific versions together seem to work.

Original comment by camronle...@gmail.com on 15 Apr 2010 at 11:00

GoogleCodeExporter commented 9 years ago
I hava the same problem.

Original comment by majinfei...@gmail.com on 21 Apr 2010 at 2:17

GoogleCodeExporter commented 9 years ago
This problem still exists.

What change was made in either red5 or red5phone that broke it?

Original comment by grantems...@gmail.com on 3 Jun 2010 at 9:44

GoogleCodeExporter commented 9 years ago
 0.9.RC1 and R39 don't work.  

ex ONE : x-lite call => red5phone
 that ring , eafter 2 second  sound clos on red5phone but sound passe  on x-lite
 error => (Unable to validate client - hear the first second only
 issue 96 and this issue is same problem

ex 2 second red5phone call => red5phone all red5phone closed  

 is not and medium probleme but a big probleme :)

but red5 phone is funny...

Original comment by lagonsv...@gmail.com on 14 Jun 2010 at 3:49

GoogleCodeExporter commented 9 years ago
I had the same problem, then downloaded red5 0.8.0 
(http://code.google.com/p/red5/) and R39 - it's all good now.

Original comment by jmsica...@gmail.com on 14 Jun 2010 at 5:20

GoogleCodeExporter commented 9 years ago
Hello everybody i made the setup of a Red5 0.9.1 server with the latest 
RedPhone version.(sip_r29)

I get the same error mencioned by many persons with only 2 seconds of audio 
from the called party :( After that no audio, but the call still connected.

Tomorrow i will follow the suggestion of Mollamusaoglu  posted on March 26 and 
use Red5-0.9.RC1 with sip_r39.

I will post again tomorow with the results. Good Night.

Original comment by dario010...@gmail.com on 30 Jun 2010 at 3:18

GoogleCodeExporter commented 9 years ago
Please let us know. We are all crossing fingers for your success ;)
Thanks in advance!

Original comment by stoya...@gmail.com on 1 Jul 2010 at 8:07

GoogleCodeExporter commented 9 years ago
It works fine!!! I installed  Red5-0.9.RC1 with latest Red5phone version 
"sip_r39" and i registered the flashphone as an 200 sip extension into an 
asterisk server version 1.6 with sip support under TCP/UDP protocol and i 
called another sip extension (201) and also a fixed land.

Original comment by dario010...@gmail.com on 1 Jul 2010 at 8:56

GoogleCodeExporter commented 9 years ago
What about issue #83? Are you experiencing it with 0.9.RC1?

http://code.google.com/p/red5phone/issues/detail?id=83

Original comment by stoya...@gmail.com on 2 Jul 2010 at 12:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
http://code.google.com/p/red5phone/issues/detail?id=83

Original comment by rens...@gmail.com on 22 Apr 2012 at 10:16