Reputation: 19
I'm trying to disable WebRTC functionality in GeckoFx.
I've heard about media.peerconnection.enabled. but i'm unable to find how to set it up programmatically using C#.net.
I was able to disable it by going to about:config page manually.
Upvotes: 1
Views: 912
Reputation: 454
See GeckoPreferences.Default or GeckoPreferences.User:
GeckoPreferences.Default["media.peerconnection.enabled"] = false;
Upvotes: 1