Closed javen closed 13 years ago
Here are logs from Developer Tool on IE8: LOG: Phono Logger Initialized LOG: 15:59:06.364 DEBUG - [STROPHE] CORS with IE LOG: 15:59:06.364 DEBUG - [INVOKE] Phono.connect() LOG: 15:59:06.365 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 15:59:06.365 DEBUG - [STROPHE] request id 8.0 posting LOG: 15:59:06.366 DEBUG - WIRE
LOG: 16:00:30.076 DEBUG - [STROPHE] Request 9 timed out, over 66 seconds since last activity LOG: 16:00:30.076 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 16:00:30.076 DEBUG - [STROPHE] request id 11.2 posting LOG: 16:00:30.077 DEBUG - WIRE
LOG: 16:00:37.088 DEBUG - [STROPHE] request id 10.2 state changed to 4 LOG: 16:00:37.088 DEBUG - [STROPHE] removing request LOG: 16:00:37.088 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:00:37.088 DEBUG - [STROPHE] request id 10 should now be removed LOG: 16:00:37.088 DEBUG - [STROPHE] request id 10.2 got 200 LOG: 16:00:37.088 DEBUG - [STROPHE] _connect_cb was called LOG: 16:00:37.088 DEBUG - WIRE
LOG: 16:00:39.216 DEBUG - [STROPHE] request id 14.1 state changed to 4 LOG: 16:00:39.217 DEBUG - [STROPHE] removing request LOG: 16:00:39.217 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:00:39.217 DEBUG - [STROPHE] request id 14 should now be removed LOG: 16:00:39.217 DEBUG - [STROPHE] request id 14.1 got 200 LOG: 16:00:39.217 DEBUG - WIRE
LOG: 16:00:42.954 INFO - [EVENT] ready[undefined] LOG: 16:00:42.954 DEBUG - [INVOKE] Phono.onready([object Object],undefined) LOG: 16:00:42.956 DEBUG - [INVOKE] JavaAudio.audioInDevices() LOG: devices are :Let my system choose,Primary Sound Capture Driver,Microphone (High Definition Aud LOG: [Phono2] Phono loaded LOG: 16:00:42.961 DEBUG - [INVOKE] JavaAudio.permission() LOG: [Phono2] [Call2] Calling phono@sip2sip.info LOG: 16:01:19.760 DEBUG - [INVOKE] Phone.dial(phono@sip2sip.info,[object Object]) LOG: 16:01:19.760 DEBUG - [INVOKE] Phone.headset() LOG: 16:01:19.760 DEBUG - [INVOKE] JavaAudio.transport() LOG: 16:01:19.806 DEBUG - [INVOKE] Phone.ringTone() LOG: 16:01:19.806 DEBUG - [INVOKE] JavaAudio.play(ringtones/Diggztone_Marimba.mp3) LOG: 16:01:20.068 DEBUG - [INVOKE] Phone.ringbackTone() LOG: 16:01:20.068 DEBUG - [INVOKE] JavaAudio.play(ringtones/ringback-us.mp3) LOG: 16:01:20.114 DEBUG - [INVOKE] Phone.audioInput() LOG: 16:01:20.114 DEBUG - [INVOKE] JavaAudio.audioIn(System Default) LOG: 16:01:20.115 DEBUG - [INVOKE] Phone.beforeDial([object Object]) LOG: 16:01:20.115 DEBUG - [INVOKE] Call.start() LOG: 16:01:20.116 DEBUG - [INVOKE] JavaAudio.codecs() LOG: 16:01:20.143 DEBUG - [INVOKE] Phone.wideband() LOG: 16:01:20.144 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 16:01:20.144 DEBUG - [STROPHE] _processRequest: first request has readyState of 2 LOG: 16:01:20.252 DEBUG - [STROPHE] request id 19.0 posting LOG: 16:01:20.252 DEBUG - WIRE
LOG: 16:01:20.970 DEBUG - [STROPHE] request id 19.1 state changed to 4 LOG: 16:01:20.970 DEBUG - [STROPHE] removing request LOG: 16:01:20.970 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:01:20.971 DEBUG - [STROPHE] request id 19 should now be removed LOG: 16:01:20.971 DEBUG - [STROPHE] request id 19.1 got 200 LOG: 16:01:20.971 DEBUG - WIRE
LOG: 16:01:23.642 DEBUG - [STROPHE] request id 20.1 state changed to 4 LOG: 16:01:23.642 DEBUG - [STROPHE] removing request LOG: 16:01:23.643 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:01:23.643 DEBUG - [STROPHE] request id 20 should now be removed LOG: 16:01:23.643 DEBUG - [STROPHE] request id 20.1 got 200 LOG: 16:01:23.643 DEBUG - WIRE
LOG: 16:01:33.100 DEBUG - [INVOKE] Call.startAudio() LOG: 16:01:33.110 INFO - [EVENT] answer[undefined] LOG: 16:01:33.110 DEBUG - [INVOKE] Call.onanswer([object Object],undefined) LOG: [Phono2] [Call2] Call answered using g722/8000 LOG: 16:01:33.111 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 16:01:33.112 DEBUG - [STROPHE] _processRequest: first request has readyState of 2 LOG: 16:01:33.210 DEBUG - [STROPHE] request id 23.0 posting LOG: 16:01:33.211 DEBUG - WIRE
LOG: 16:01:34.130 DEBUG - [INVOKE] Call.energy() LOG: 16:01:34.132 DEBUG - [INVOKE] Call.energy() LOG: 16:01:34.644 DEBUG - [INVOKE] Call.energy() LOG: 16:01:34.647 DEBUG - [INVOKE] Call.energy() LOG: 16:01:35.144 DEBUG - [INVOKE] Call.energy() LOG: 16:01:35.147 DEBUG - [INVOKE] Call.energy() LOG: 16:01:35.659 DEBUG - [INVOKE] Call.energy() LOG: 16:01:35.663 DEBUG - [INVOKE] Call.energy() LOG: 16:01:36.159 DEBUG - [INVOKE] Call.energy() LOG: 16:01:36.162 DEBUG - [INVOKE] Call.energy() LOG: 16:01:36.673 DEBUG - [INVOKE] Call.energy() LOG: 16:01:36.676 DEBUG - [INVOKE] Call.energy() LOG: 16:01:37.183 DEBUG - [INVOKE] Call.energy() LOG: 16:01:37.185 DEBUG - [INVOKE] Call.energy() LOG: 16:01:37.703 DEBUG - [INVOKE] Call.energy() LOG: 16:01:37.705 DEBUG - [INVOKE] Call.energy() LOG: 16:01:38.218 DEBUG - [INVOKE] Call.energy() LOG: 16:01:38.221 DEBUG - [INVOKE] Call.energy() LOG: 16:01:38.310 DEBUG - [STROPHE] request id 15.1 state changed to 4 LOG: 16:01:38.310 DEBUG - [STROPHE] removing request LOG: 16:01:38.310 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:01:38.310 DEBUG - [STROPHE] request id 15 should now be removed LOG: 16:01:38.310 DEBUG - [STROPHE] request id 15.1 got 200 LOG: 16:01:38.311 DEBUG - WIRE
LOG: 16:01:38.315 DEBUG - [STROPHE] no requests during idle cycle, sending blank request LOG: 16:01:38.315 DEBUG - [STROPHE] request id 24.0 posting LOG: 16:01:38.316 DEBUG - WIRE
LOG: 16:01:38.732 DEBUG - [INVOKE] Call.energy() LOG: 16:01:38.771 DEBUG - [INVOKE] Call.energy() LOG: 16:01:39.325 DEBUG - [INVOKE] Call.energy() LOG: 16:01:39.362 DEBUG - [INVOKE] Call.energy() LOG: 16:01:39.902 DEBUG - [INVOKE] Call.energy() LOG: 16:01:39.906 DEBUG - [INVOKE] Call.energy() LOG: 16:01:40.417 DEBUG - [INVOKE] Call.energy() LOG: 16:01:40.419 DEBUG - [INVOKE] Call.energy() LOG: 16:01:40.929 DEBUG - [INVOKE] Call.energy() LOG: 16:01:40.931 DEBUG - [INVOKE] Call.energy() LOG: 16:01:41.447 DEBUG - [INVOKE] Call.energy() LOG: 16:01:41.449 DEBUG - [INVOKE] Call.energy() LOG: 16:01:41.961 DEBUG - [INVOKE] Call.energy() LOG: 16:01:41.964 DEBUG - [INVOKE] Call.energy() LOG: 16:01:42.476 DEBUG - [INVOKE] Call.energy() LOG: 16:01:42.521 DEBUG - [INVOKE] Call.energy() LOG: 16:01:43.084 DEBUG - [INVOKE] Call.energy() LOG: 16:01:43.087 DEBUG - [INVOKE] Call.energy() LOG: 16:01:43.599 DEBUG - [INVOKE] Call.energy() LOG: 16:01:43.601 DEBUG - [INVOKE] Call.energy() LOG: 16:01:44.114 DEBUG - [INVOKE] Call.energy() LOG: 16:01:44.116 DEBUG - [INVOKE] Call.energy() LOG: 16:01:44.629 DEBUG - [INVOKE] Call.energy() LOG: 16:01:44.632 DEBUG - [INVOKE] Call.energy() LOG: 16:01:45.129 DEBUG - [INVOKE] Call.energy() LOG: 16:01:45.135 DEBUG - [INVOKE] Call.energy() LOG: 16:01:45.643 DEBUG - [INVOKE] Call.energy() LOG: 16:01:45.646 DEBUG - [INVOKE] Call.energy() LOG: 16:01:46.142 DEBUG - [INVOKE] Call.energy() LOG: 16:01:46.145 DEBUG - [INVOKE] Call.energy() LOG: 16:01:46.657 DEBUG - [INVOKE] Call.energy() LOG: 16:01:46.659 DEBUG - [INVOKE] Call.energy() LOG: 16:01:46.843 DEBUG - [STROPHE] request id 23.1 state changed to 4 LOG: 16:01:46.844 DEBUG - [STROPHE] removing request LOG: 16:01:46.844 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:01:46.844 DEBUG - [STROPHE] request id 23 should now be removed LOG: 16:01:46.844 DEBUG - [STROPHE] request id 23.1 got 200 LOG: 16:01:46.844 DEBUG - WIRE
LOG: 16:02:20.445 DEBUG - [INVOKE] Call.answer() LOG: 16:02:20.445 DEBUG - [INVOKE] JavaAudio.codecs() LOG: 16:02:20.455 DEBUG - [INVOKE] Phone.wideband() LOG: 16:02:20.455 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 16:02:20.456 DEBUG - [STROPHE] _processRequest: first request has readyState of 2 LOG: Call answered LOG: 16:02:20.562 DEBUG - [STROPHE] request id 28.0 posting LOG: 16:02:20.563 DEBUG - WIRE
LOG: 16:02:21.323 DEBUG - [STROPHE] request id 28.1 state changed to 4 LOG: 16:02:21.323 DEBUG - [STROPHE] removing request LOG: 16:02:21.323 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:02:21.323 DEBUG - [STROPHE] request id 28 should now be removed LOG: 16:02:21.324 DEBUG - [STROPHE] request id 28.1 got 200 LOG: 16:02:21.324 DEBUG - WIRE
LOG: 16:02:38.216 DEBUG - [STROPHE] request id 24.1 state changed to 4 LOG: 16:02:38.216 DEBUG - [STROPHE] removing request LOG: 16:02:38.216 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:02:38.217 DEBUG - [STROPHE] request id 24 should now be removed LOG: 16:02:38.217 DEBUG - [STROPHE] request id 24.1 got 200 LOG: 16:02:38.217 DEBUG - WIRE
LOG: 16:02:38.310 DEBUG - [STROPHE] no requests during idle cycle, sending blank request LOG: 16:02:38.310 DEBUG - [STROPHE] request id 30.0 posting LOG: 16:02:38.311 DEBUG - WIRE
LOG: 16:03:10.931 DEBUG - [INVOKE] Call.hangup() LOG: 16:03:10.932 DEBUG - [STROPHE] _throttledRequestHandler called with 1 requests LOG: 16:03:10.932 DEBUG - [STROPHE] _processRequest: first request has readyState of 2 LOG: 16:03:11.085 DEBUG - [STROPHE] request id 31.0 posting LOG: 16:03:11.085 DEBUG - WIRE
LOG: 16:03:11.894 DEBUG - [STROPHE] request id 31.1 state changed to 4 LOG: 16:03:11.894 DEBUG - [STROPHE] removing request LOG: 16:03:11.894 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests LOG: 16:03:11.894 DEBUG - [STROPHE] request id 31 should now be removed LOG: 16:03:11.894 DEBUG - [STROPHE] request id 31.1 got 200 LOG: 16:03:11.894 DEBUG - WIRE
Here are logs from FireBug on Firefox3.6: 14:33:08.137 DEBUG - [STROPHE] request id 18.1 state changed to 2 14:33:08.141 DEBUG - [STROPHE] request id 18.1 state changed to 3 14:33:08.142 DEBUG - [STROPHE] request id 18.1 state changed to 4 14:33:08.143 DEBUG - [STROPHE] removing request 14:33:08.144 DEBUG - [STROPHE] _throttledRequestHandler called with 0 requests 14:33:08.145 DEBUG - [STROPHE] request id 18 should now be removed 14:33:08.146 DEBUG - [STROPHE] request id 18.1 got 200 14:33:08.147 DEBUG - WIRE
codec info in phono java side DEBUG: 1321439915012 Applet 6 LiveConnect Worker Thread->in play() uri = http://localhost:8081/phonosdk-0.3/samples/kitchen-sink/www/ringtones/Diggztone_AngryBirds.mp3 DEBUG: 1321439915065 Applet 6 LiveConnect Worker Thread->in play() uri = http://localhost:8081/phonosdk-0.3/samples/kitchen-sink/www/ringtones/Diggztone_AngryBirds.mp3 DEBUG: 1321439915127 Applet 6 LiveConnect Worker Thread->Set audio input device preference to System Default DEBUG: 1321439915181 Applet 6 LiveConnect Worker Thread->getting audio is 16000.0 = 16000.0 ? Yes DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->PhonoAudio.init(): com.phono.codecs.speex.SpeexCodec@88c615 DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->EsupPhonoAudio.setAudioProperty(): _doEc=true DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->PhonoAudio.setAudioProperty(): name=doEC, value=true DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->PhonoAudio.init(): _deep=10 DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 0 Primary Sound Driver DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 1 Speakers (High Definition Audio Device) DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 2 Speakers (High Definition Audio Device) DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 3 Primary Sound Capture Driver DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 4 Microphone (High Definition Aud DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 5 Java Sound Audio Engine DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 6 Port Speakers (High Definition Audio DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 7 Port Speakers (High Definition Audio DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->Looking at Mixer 8 Port Microphone (High Definition Aud DEBUG: 1321439915182 Applet 6 LiveConnect Worker Thread->EsupPhonoAudio.muteMic(): mute=false DEBUG: 1321439915183 Applet 6 LiveConnect Worker Thread->EsupPhonoAudio.setAudioProperty(): _doEc=true DEBUG: 1321439915183 Applet 6 LiveConnect Worker Thread->PhonoAudio.setAudioProperty(): name=doEC, value=true DEBUG: 1321439920401 Applet 6 LiveConnect Worker Thread->in Share.start() DEBUG: 1321439920402 Applet 6 LiveConnect Worker Thread->Start Rec called DEBUG: 1321439920403 Applet 6 LiveConnect Worker Thread->PhonoAudio.startRec(): rec started DEBUG: 1321439920404 Applet 6 LiveConnect Worker Thread->PhonoAudio.startRec(): recThread started DEBUG: 1321439920404 Applet 6 LiveConnect Worker Thread->starting : original local uri was rtp://172.21.99.112:52325:199.230.57.114:20038 DEBUG: 1321439920404 Applet 6 LiveConnect Worker Thread->starting : using local 0.0.0.0/0.0.0.0:52325 remote /199.230.57.114:20038 with pt=103 codec SPEEX
Interestingly complex this one - phono uses a different codec when answering from the one it uses when calling. unfortunately the java was cache'ing the codec so 722 was used when speex was needed. checking in a fix now.
Retest phonosdk-0.3 with Hudson build #120. The Defect can not be reproduced again. So, close the issue.
phonosdk-0.3 build #117 on Hudson
Test Scenario: call from Blink to Phono(Java)
Test Platform: IE7/FF3.6 on XP, IE8/FF3.6 on Win7
Steps: 1) Add a New Phono using Java for audio; 2) Call from Phono to Blink; 3) Checkpoint1: The conversation is good; 4) Call from Blink to Phono; 5) Answer the call, and say words from each side
Expected result: Conversation can be established, and will be heared from each other.
Actually result: There is a noise heared from Phono side, and can not heared anything from each other.
Note: FF7 and Salaris5 on Mac OSX 10.6 are ok