Giter Site home page Giter Site logo

ikran's People

Contributors

ekr avatar ethanhugg avatar jesup avatar suhashere avatar yiw2 avatar yiwang79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ikran's Issues

No video if camera is added after Registration - Expected Behavior

This issue refers to below test-case logic

  1. Load the addon and HTML page
  2. Register with the SIP Proxy
  3. Connect the camera
  4. Place Call

Audio works but there is no video.

This is expected behavior since camera selection is not based per-call. It's done once for the lifetime of the application.
More support will be added once W3C DAP work solidifies on managing devices.

Couldn't run the test aplication

Hi.
I follewed the instructions from README. I get the mozilla as [1] and build and webrtc too. Set the environment variables. Build the application with no errors. But when i try to run the test application it gives me something like:
"Enter SIP Server IP Address [10.99.10.75]: 192.168.1.245
Enter Remote Peer IP Address [10.99.10.75]: 192.168.1.20
Enter SIP Server username (phone DN for CUCM) [1000]: 1006
Enter Password (not required for CUCM) [Enter]: ****
Enter device name (only required for CUCM) [emannionsip01]:

Select Mode, (R) normal register, (P) P2P Mode [R]: P
key = 6401f902
there was no preexisting q..
create message q with id=0
key = 6501f902
there was no preexisting q..
create message q with id=8001
key = 6601f902
there was no preexisting q..
create message q with id=10002
key = 6701f902
there was no preexisting q..
create message q with id=18003"

and nothing happens. Same for register mode. I use Ubuntu 11.10. Asteriks as SIP server. What could be the problem?
Best regards.

Crash with camera config changed event

Ran into this while demoing the add-on here at Mozilla on Friday
(fortunately during the setup, rather than the actual demo):

SIPCC-SIP_CC_PROV: capset_get_idleset: updating idleset
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd01fe710 (LWP 7923)]
0x00007fffe2c0b9a0 in linked_ptr_internal::depart (this=0x7fffd01fd888)
at third_party/chromium_base/base/linked_ptr.h:68
68 while (p->next_ != this) p = p->next_;
(gdb) bt
#0 0x00007fffe2c0b9a0 in linked_ptr_internal::depart (this=0x7fffd01fd888)

 at third_party/chromium_base/base/linked_ptr.h:68

#1 0x00007fffe2c0b9cf in linked_ptrCSF::CC_Device::depart (

 this=0x7fffd01fd880) at third_party/chromium_base/base/linked_ptr.h:147

#2 0x00007fffe2c0f9f0 in linked_ptrCSF::CC_Device::~linked_ptr() ()

from /home/derf/src/mozilla/git/cisco/ikran/ikran/libsessioncontrol.so

#3 0x00007fffe2c0eb61 in

CSF::CallControlManagerImpl::notifyDeviceEventObservers
(this=0x7fffd8d880c0,
deviceEvent=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED,
devicePtr=...,
info=...) at src/callcontrol/CallControlManagerImpl.cpp:389
#4 0x00007fffe2c0e86f in CSF::CallControlManagerImpl::onDeviceEvent (

 this=0x7fffd8d880c0,
 deviceEvent=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED,

devicePtr=...,
info=...) at src/callcontrol/CallControlManagerImpl.cpp:367
#5 0x00007fffe2c1959d in CSF::CC_SIPCCService::notifyDeviceEventObservers (

 this=0x7fffd9b4b890,
 eventType=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED, devicePtr=...,
 info=...) at src/softphonewrapper/CC_SIPCCService.cpp:910

#6 0x00007fffe2c18201 in CSF::CC_SIPCCService::onDeviceEvent (

 type=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED, handle=0,
 info=0x7fffd32a5f90) at src/softphonewrapper/CC_SIPCCService.cpp:794

#7 0x00007fffe2c15d26 in CCAPI_DeviceListener_onDeviceEvent (

 type=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED, hDevice=0,
 dev_info=0x7fffd32a5f90) at

src/softphonewrapper/CC_SIPCCService.cpp:424
#8 0x00007fffe2c25867 in ccsnap_gen_deviceEvent (

 event=CCAPI_DEVICE_EV_CAMERA_ADMIN_CONFIG_CHANGED, handle=0)
 at src/sipcc/core/ccapp/ccapi_snapshot.c:449

#9 0x00007fffe2c63013 in cc_media_update_native_video_txcap (enable=1

'\001')
at src/sipcc/core/gsm/media_cap_tbl.c:166
#10 0x00007fffe2c28d96 in processProviderEvent (line_id=0, event=17, data=1)

 at src/sipcc/core/ccapp/ccprovider.c:401

#11 0x00007fffe2c28f33 in ccp_handler (msg=0x7fffd039f2d4, type=13)

 at src/sipcc/core/ccapp/ccprovider.c:1779

#12 0x00007fffe2cb3479 in CCApp_task (arg=)

 at src/sipcc/core/ccapp/ccapp_task.c:203

#13 0x00007ffff7bc8a36 in start_thread (arg=0x7fffd01fe710)

 at pthread_create.c:297

#14 0x00007ffff44ff94d in clone ()

 at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

(gdb) p p
$1 = (const void *) 0x0

This is on a 64-bit Linux build from 8c669eb with the patches I sent
earlier applied (I haven't touched that particular build since before
OVC because once I got it working I didn't want to break it).

Crash after few minutes (around 2) of video call

Description:
On running test application for more than 2 minutes the below crash was one. Call setup was done between Win32 Addon and OSx TestApp.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0001e49c
[Switching to process 75302]
0xffff08d7 in __memcpy ()
(gdb) bt
#0 0xffff08d7 in __memcpy ()
#1 0x004f067e in webrtc::VCMSessionInfo::InsertBuffer (this=0x21d5264, ptrStartOfLayer=0x22cd400 "?q", packetIndex=28, packet=@0xb0516ea0) at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/session_info.cc:157
#2 0x004f0b18 in webrtc::VCMSessionInfo::InsertPacket (this=0x21d5264, packet=@0xb0516ea0, ptrStartOfLayer=0x22cd400 "?q") at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/session_info.cc:779
#3 0x004d9980 in webrtc::VCMFrameBuffer::InsertPacket (this=0x21d5200, packet=@0xb0516ea0, timeInMs=1317084246023) at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/frame_buffer.cc:158
#4 0x004e1088 in webrtc::VCMJitterBuffer::InsertPacket (this=0x21a8488, buffer=0x21d5204, packet=@0xb0516ea0) at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/jitter_buffer.cc:1688
#5 0x004ed6f6 in webrtc::VCMReceiver::InsertPacket (this=0x21a8478, packet=@0xb0516ea0, frameWidth=0, frameHeight=0) at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/receiver.cc:166
#6 0x004f53ec in webrtc::VideoCodingModuleImpl::IncomingPacket (this=0x21a8200, incomingPayload=0xb05175c9 "Ǚ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?z"..., payloadLength=1435, rtpInfo=@0xb051735c) at /Users/XTM/HTML5/webrtc/trunk/src/modules/video_coding/main/source/video_coding_impl.cc:1233
#7 0x003ba4c5 in webrtc::ViEReceiver::OnReceivedPayloadData (this=0x1684c3c0, payloadData=0xb05175c9 "Ǚ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?
??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?z"..., payloadSize=1435, rtpHeader=0xb051735c) at /Users/XTM/HTML5/webrtc/trunk/src/video_engine/main/source/vie_receiver.cc:283
#8 0x002ee6d4 in webrtc::RTPReceiver::CallbackOfReceivedPayloadData (this=0x217c99c, payloadData=0xb05175c9 "Ǚ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?z"..., payloadSize=1435, rtpHeader=0xb051735c) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_receiver.cc:863
#9 0x0030aea6 in webrtc::RTPReceiverVideo::ReceiveVp8Codec (this=0x217c9d4, rtpHeader=0xb051735c, payloadData=0xb05175c8 "\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?
??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?"..., payloadDataLength=1436) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_receiver_video.cc:651
#10 0x0030b772 in webrtc::RTPReceiverVideo::ParseVideoCodecSpecificSwitch (this=0x217c9d4, rtpHeader=0xb051735c, payloadData=0xb05175c8 "\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?"..., payloadDataLength=1436, videoType=webrtc::kRtpVp8Video) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_receiver_video.cc:442
#11 0x0030be69 in webrtc::RTPReceiverVideo::ParseVideoCodecSpecific (this=0x217c9d4, rtpHeader=0xb051735c, payloadData=0xb05175c8 "\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?~E-?\031œK\r?B?"..., payloadDataLength=1436, videoType=webrtc::kRtpVp8Video, isRED=false, incomingRtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., incomingRtpPacketSize=1448) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_receiver_video.cc:294
#12 0x002f0a74 in webrtc::RTPReceiver::IncomingRTPPacket (this=0x217c99c, rtpHeader=0xb051735c, incomingRtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?
??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., incomingRtpPacketLength=1448) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_receiver.cc:825
#13 0x002dd90c in webrtc::ModuleRtpRtcpImpl::IncomingPacket (this=0x217c600, incomingPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., incomingPacketLength=1448) at /Users/XTM/HTML5/webrtc/trunk/src/modules/rtp_rtcp/source/rtp_rtcp_impl.cc:679
#14 0x003bab1c in webrtc::ViEReceiver::InsertRTPPacket (this=0x1684c3c0, rtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?
??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., rtpPacketLength=1448) at /Users/XTM/HTML5/webrtc/trunk/src/video_engine/main/source/vie_receiver.cc:357
#15 0x003bac10 in webrtc::ViEReceiver::IncomingRTPPacket (this=0x1684c3c0, incomingRtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q???z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., incomingRtpPacketLength=1448, fromIP=0xb05174fc "10.35.132.134", fromPort=1024) at /Users/XTM/HTML5/webrtc/trunk/src/video_engine/main/source/vie_receiver.cc:219
#16 0x0036e5ee in webrtc::UdpTransportImpl::IncomingRTPFunction (this=0x216ac00, rtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?
??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., rtpPacketLength=1448, fromSocket=0xb0517dbc) at /Users/XTM/HTML5/webrtc/trunk/src/modules/udp_transport/source/udp_transport_impl.cc:2274
#17 0x0036e650 in webrtc::UdpTransportImpl::IncomingRTPCallback (obj=0x216ac00, rtpPacket=0xb05175bc "?x<?\022???\003\033\022G\aǙ\035{\002V??"??\035\0365b????6\0038M??X\034\ra\005?,+?ĭ"/K?i?6\004??6\030ME??G???C\032?O??\022\024\0051oR\035?R??\t????\005?j\016?Q?*??z??3M??R?\rx??n?L?h\b\016\0034??t??\n??\037.?tUȳ?\030??} ?\035߬?\n?q?r܃c5??-?????r?&\032'>u׳m???;\r@#\r???(??K?"..., rtpPacketLength=1448, from=0xb0517dbc) at /Users/XTM/HTML5/webrtc/trunk/src/modules/udp_transport/source/udp_transport_impl.cc:2200
#18 0x00373b00 in webrtc::UdpSocketPosix::HasIncoming (this=0xe4d050) at /Users/XTM/HTML5/webrtc/trunk/src/modules/udp_transport/source/udp_socket_posix.cc:206
#19 0x003748de in webrtc::UdpSocketManagerPosixImpl::Process (this=0xe27640) at /Users/XTM/HTML5/webrtc/trunk/src/modules/udp_transport/source/udp_socket_manager_posix.cc:298
#20 0x0037492f in webrtc::UdpSocketManagerPosixImpl::Run (obj=0xe27640) at /Users/XTM/HTML5/webrtc/trunk/src/modules/udp_transport/source/udp_socket_manager_posix.cc:309
#21 0x0036a17c in webrtc::ThreadPosix::Run (this=0xe277a0) at /Users/XTM/HTML5/webrtc/trunk/src/system_wrappers/source/thread_posix.cc:310
#22 0x0036a26b in StartThread (lpParameter=0xe277a0) at /Users/XTM/HTML5/webrtc/trunk/src/system_wrappers/source/thread_posix.cc:33
#23 0x92f8d85d in _pthread_start ()
#24 0x92f8d6e2 in thread_start ()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.