WebRTC ICE not working
I'm developing a site which uses WebRTC(Video Calls).
When running site with Firefox "pc.onicecandidate" never launches.
On Chrome this works.
I am using Firefox Aurora and Firefox Nighly with testing.
Part of my code:
pc = new mozRTCPeerConnection({ "iceServers": [{ "url": "stun:23.21.150.121" }], optional: [{ 'DataChannels': true }] });
pc.createoffer = offer;
pc.onaddstream = onaddstream;
navigator.mozGetUserMedia({ video: true, audio: true }, function (stream){
myvideo.mozSrcObject = stream;
myvideo.play();
pc.addStream(stream);
});
pc.onicecandidate = onice;
function onice (ice){
alert('Got ICE: ' + ice.candidate.candidate);
}
Modified by cor-el
Additional System Details
Installed Plug-ins
- Shockwave Flash 11.6 r602
- The plugin allows you to have a better experience with Microsoft SharePoint
- Google Update
- NVIDIA 3D Vision plugin for Mozilla browsers
- NVIDIA 3D Vision Streaming plugin for Mozilla browsers
- 5.1.10411.0
Application
- Firefox 20.0
- User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/20100101 Firefox/20.0
- Support URL: http://support.mozilla.org/1/firefox/19.0/WINNT/fi/
Extensions
- Adblock Plus 2.2.3
- Troubleshooter 1.0a
Javascript
- incrementalGCEnabled: True
Graphics
- adapterDescription: NVIDIA GeForce GTX 550 Ti
- adapterDescription2:
- adapterDeviceID: 0x1244
- adapterDeviceID2:
- adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
- adapterDrivers2:
- adapterRAM: 1023
- adapterRAM2:
- adapterVendorID: 0x10de
- adapterVendorID2:
- direct2DEnabled: True
- directWriteEnabled: True
- directWriteVersion: 6.2.9200.16384
- driverDate: 2-9-2013
- driverDate2:
- driverVersion: 9.18.13.1407
- driverVersion2:
- info: {u'AzureContentBackend': u'direct2d', u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo'}
- isGPU2Active: False
- numAcceleratedWindows: 1
- numTotalWindows: 1
- webglRenderer: Google Inc. -- ANGLE (NVIDIA GeForce GTX 550 Ti)
- windowLayerManagerType: Direct3D 10
Modified Preferences
- browser.cache.disk.capacity: 358400
- browser.cache.disk.smart_size.first_run: False
- browser.cache.disk.smart_size.use_old_max: False
- browser.cache.disk.smart_size_cached_value: 358400
- browser.places.smartBookmarksVersion: 4
- browser.startup.homepage_override.buildID: 20130215130331
- browser.startup.homepage_override.mstone: 20.0
- browser.tabs.warnOnClose: False
- dom.mozApps.used: True
- dom.w3c_touch_events.expose: False
- extensions.lastAppVersion: 20.0
- gfx.direct3d.checkDX10: True
- gfx.direct3d.prefer_10_1: True
- network.cookie.prefsMigrated: True
- places.database.lastMaintenance: 1361810965
- places.history.expiration.transient_current_max_pages: 104858
- plugin.disable_full_page_plugin_for_types: application/pdf
- privacy.sanitize.migrateFx3Prefs: True
- social.activeProviders: {"https://www.facebook.com":1}
- social.enabled: True
Misc
- User JS: No
- Accessibility: No
