google-code-export / red5phone

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

No voice Issue: Debugging the project : publishStreamId being null #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am facing issue of the No voice in the red5phone in r47 
I had debugged same i found that , NullPointerException being thrown while 
pushing audio to the flash player with the help of the log files 

Further i debugged i found that "publishStreamId" which is used by the 
pushAudio method is NULL

Detailed Info(at code level) 

I inserted the log stmt in two files RTMPUser , RTPStreamReceiver, as I am 
getting exception in two classes methods RTMPUser#pushAudio() and 
RTPStreamReceiver#forwardAudioToFlashPlayer() respectively as in log files 
I got the cause of exception that , RTMPUser#publishStreamId instance variable 
being null, while publishing the audio to flash player using Red5 server api 
method  RTMPClient#publishStreamData()

I installed red5- 0.9.1 and red5phone r47
(i used r53 and r54 but same issue)

Anyone knows why it is being null?

Original issue reported on code.google.com by perry.a...@gmail.com on 26 Sep 2011 at 10:04

GoogleCodeExporter commented 9 years ago
Sucess !!!!!
No voice Issue solved ...

Just have to make changes in <re5_home>\conf\red5.properties
and make changes as give the port n. as 0.0.0.0  not actual address

contents of red5.prtoperties (snippets)

http.host=0.0.0.0
http.port=5080
https.port=8443

# RTMP
rtmp.host=0.0.0.0
rtmp.port=1935
rtmp.io_threads=16
rtmp.connect_threads=4
rtmp.send_buffer_size=271360
rtmp.receive_buffer_size=65536
rtmp.ping_interval=1000
rtmp.max_inactivity=60000
rtmp.tcp_nodelay=true

I used red5phone r47 and 0.9.1 red5 server

Original comment by perry.a...@gmail.com on 29 Sep 2011 at 12:09

GoogleCodeExporter commented 9 years ago
@Perry

What is your functional version? you can explain better, please

Original comment by czur...@gmail.com on 3 Oct 2011 at 12:05

GoogleCodeExporter commented 9 years ago
@czur
I used r47 (check out link)
Basic functionality  
+ 
as taken from link (The log msgs)
Simplified asao codec with working encoder and decoder. Bandwidth should now be
8k in both directions

What functionality exactly you asking ?? 

Original comment by perry.a...@gmail.com on 3 Oct 2011 at 6:29

GoogleCodeExporter commented 9 years ago
I installed sip_r54.zip, sip_r53.zip, sip_r47.zip, and sip_r42.zip.   I was 
able to connect AND dial out via SIP.  The other phone would ring and i am 
unable to answer the phone on the flex file under 
http://myip:5080/sip/flex/index.html.  However, I am unable to hear the voice.  
I get a loud "kreek...kreek" noice on other receiver and i cannot hear voice on 
the flex receiver from the other phone either.  I suspect this is a codec 
issue.  

By the way, i am trying to find the red5phone log file in 
/usr/local/red5/wrapper/log but no files there?

Original comment by Chathura...@gmail.com on 18 Oct 2011 at 5:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I got sip_r54.zip to work with firefox :) but still fails with google chrome.

Original comment by Chathura...@gmail.com on 18 Oct 2011 at 6:18