blob: 7948cda8b7f3e481c0b80e5548f04ffdbaf9db8d [file] [log] [blame] [view]
Philipp Hanckecc40d822020-10-21 14:09:241There are a couple bug trackers relevant to WebRTC:
2
3 * [crbug.com](https://crbug.com) -- for Chrome.
4
5 * [bugzilla.mozilla.org](https://bugzilla.mozilla.org/) -- for Firefox.
6
7 * [bugs.webkit.org](https://bugs.webkit.org/) -- for Safari.
8
9 * [developer.microsoft.com](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/) -- for Microsoft Edge.
10
11 * [bugs.opera.com/wizard](https://bugs.opera.com/wizard/) -- for Opera.
12
13 * [bugs.webrtc.org](http://bugs.webrtc.org) -- for WebRTC native code.
14
15Anyone with a [Google account][1] can file bugs in the Chrome and WebRTC trackers and they're continuously triaged by Chrome and WebRTC engineers.
16
17
18### How to File a Good Bug Report
19
20#### Instructions
21
22* Identify which bug tracker to use:
23
24 * If you're hitting a problem in Chrome, file the bug using the
Philipp Hancke15f0fab2023-07-20 08:44:1925 [the Chromium issue wizard](https://crbug.com/new)
Philipp Hanckecc40d822020-10-21 14:09:2426 Choose "Web Developer" and "API", then fill out the form. For the component choose
27 * Blink>GetUserMedia for camera/microphone issues
Philipp Hancke15f0fab2023-07-20 08:44:1928 * Blink>GetDisplayMedia for screen capture issues
Philipp Hanckecc40d822020-10-21 14:09:2429 * Blink>MediaRecording for issues with the MediaRecorder API
30 * Blink>WebRTC for issues with the RTCPeerConnection API
31 This ensures the right people will look at your bug.
32
33 * If you're a developer working with the native code, file the bug at
34 [this link][4].
35
36* Include as much as possible from the data points listed below.
37
38#### Example Data Points
39
40 * Version of the browser/app
41
42 * For Chrome: copy/paste from **chrome://version**
43
44 * For WebRTC native code: if applicable, include the branch (e.g. trunk)
45 and WebRTC revision (e.g. r8207) your application uses
46
47 * Operating system (Windows, Mac, Linux, Android, iOS, etc.) and version
48 (e.g. Windows 7, OS X 10.9, Ubuntu 14, etc.)
49
50 * Hardware platform/device model (e.g. PC, Mac, Samsung 4S, Nexus 7, iPhone
51 5S, iPad Air 2 etc)
52
53 * Camera and microphone model and version (if applicable)
54
Philipp Hancke15f0fab2023-07-20 08:44:1955 * Try reproducing with the minimal samples at
56 https://webrtc.github.io/samples/src/content/getusermedia/audio/
57 and
58 https://webrtc.github.io/samples/src/content/getusermedia/gum/
Philipp Hanckecc40d822020-10-21 14:09:2459
60 * Web site URL
61
62 * Reproduction steps: detailed information on how to reproduce the bug. If
63 applicable, please either attach or link to a minimal test page in
64 HTML+JavaScript.
65
66 * For **crashes**
67
68 * If you experience a crash while using Chrome, please include a crash ID
69 by following [these instructions][2].
70
71 * If you experience a crash while using WebRTC native code, please include
72 the full stacktrace.
73
74 * For **functional** issues or **ICE** issues, in either Chrome or a native
75 application, please gather a [native log][5].
76
77 * For **connectivity** issues on Chrome, ensure **chrome://webrtc-internals**
78 is open in another tab before starting the call and while the call is in progress,
79
Philipp Hancke15f0fab2023-07-20 08:44:1980 * expand the **Create a WebRTC-Internals dump** section,
Philipp Hanckecc40d822020-10-21 14:09:2481
Philipp Hancke15f0fab2023-07-20 08:44:1982 * click the **Download the webrtc-internals dump** button.
Philipp Hanckecc40d822020-10-21 14:09:2483 You will be prompted to save the dump to your local machine. Please
Philipp Hancke15f0fab2023-07-20 08:44:1984 attach that dump to the bug report. You can inspect the dump and
85 remove any information you consider personally identifiable such as
86 IP addresses.
Philipp Hanckecc40d822020-10-21 14:09:2487
88 * For **audio quality** issues on Chrome, while the call is in progress,
89
90 * please open **chrome://webrtc-internals** in another tab,
91
Philipp Hancke15f0fab2023-07-20 08:44:1992 * expand the **Create a WebRTC-Internals dump** section,
Philipp Hanckecc40d822020-10-21 14:09:2493
94 * fill in the **Enable diagnostic audio recordings** checkbox. You will be
95 prompted to save the recording to your local machine. After ending the
96 call, attach the recording to the bug.
97
98 * For **echo** issues, please try to capture an audio recording from the
99 side that is _generating_ the echo, not the side that _hears_ the echo.
100 For example, if UserA and UserB are in a call, and UserA hears herself
101 speak, please obtain an audio recording from UserB.
102
103 * For **regressions**, i.e. things that worked in one version and stopped working in
104 a later versioņ, provide both versions. If you know steps to reproduce you might
105 want to try [a bisect](https://www.chromium.org/developers/bisect-builds-py) to
106 identify the commit that changed the behaviour.
107
Philipp Hancke4258df32020-10-30 09:53:03108 * For **video problems**, e.g. artifacts or decoder failures, a rtpdump file
109 with the unencrypted RTP traffic. This can by replayed using the video_replay
110 tool from the rtc_tools directory.
111
Philipp Hanckec40073b2020-11-25 11:55:28112 * For problem with the webcam, a dump or screenshot of the "Video Capture" tab
113 in chrome://media-internals.
114
Philipp Hanckecc40d822020-10-21 14:09:24115### Filing a Security Bug
116
117The WebRTC team takes security very seriously. If you find a vulnerability in
118WebRTC, please file a [Chromium security bug][ChromeSecurity], even if the bug
119only affects native WebRTC code and not Chromium.
120
121A history of fixed Chromium security bugs is best found via [security notes in
122Stable Channel updates on the Google Chrome releases blog][ChromeSecurityBlog].
123
124You can also find fixed, publicly visible [Type=Bug-Security][ChromeBugList]
125bugs in the issue tracker (note: security bugs normally become publicly
126visible 14 weeks after they are fixed). If there is a bug in WebRTC code
127that Chromium isn’t using (such as the Java/ObjC wrappers for Android/iOS)
128we will announce fixes separately on [discuss-webrtc][DiscussWebRTC].
129
130[Tracking released security bug disclosures][WebRtcBugList].
131
132Note that we will generally NOT merge security fixes backwards to any branches,
133so if you’re using older branches it’s your responsibility to make sure the
134relevant security fixes get merged.
135
136
137### Receiving notifications about security bugs in Chrome
138
139To get automatic notifications about activity/comments in security bugs in
140Chrome you need to be either explicitly cc:d on specific bugs (by someone who
141has access to the bug) or be part of a special mailing list for all security bug
142notifications. To get on that list you have to apply to the Chrome Security
143team, see more about this on the [Chrome Security page][ChromeSecurity] under
144"How can I get access to Chromium vulnerabilities?" at the bottom of the page.
145
146Please note that Chrome's security-notify list will receive notifications about
147all security bugs in Chrome and not just the WebRTC ones. Normally it shouldn't
148be a problem to figure out whether an issue affects WebRTC since it will most
149likely be tagged with one of the WebRTC-related components (one of Blink>WebRTC,
150Blink>GetUserMedia, Blink>MediaStream, Blink>MediaRecording) or their sub-
151components.
152
153Also note that access granted by the list will only apply to bugs of Type=Bug-
154Security. Not all bugs with crashes, memory leaks and other potential
155vulnerabilities are marked as Bug-Security though. You can read more about what
156categories of bugs are deemed security bugs in the [Severity Guidelines for
157Security Issues][SeverityGuidelines] and also on the [Security FAQ][SecurityFaq]
158page.
159
160
161[1]: https://accounts.google.com/
162[2]: http://www.chromium.org/for-testers/bug-reporting-guidelines/reporting-crash-bug
163[3]: https://code.google.com/p/chromium/issues/entry?template=Audio/Video%20Issue
164[4]: https://bugs.chromium.org/p/webrtc/issues/entry
165[5]: native-code/logging.md
166[ChromeSecurity]: https://www.chromium.org/Home/chromium-security/reporting-security-bugs
167[DiscussWebRTC]: https://groups.google.com/group/discuss-webrtc
168[ChromeSecurityBlog]: https://chromereleases.googleblog.com/search/label/Stable%20updates
169[ChromeBugList]: https://bugs.chromium.org/p/chromium/issues/list?can=1&q=Type%3DBug-Security+component%3ABlink%3EWebRTC+-status%3ADuplicate%2CWontfix&sort=-closed&colspec=ID+Pri+M+Component+Status+Owner+Summary+OS+Closed&x=m&y=releaseblock&cells=ids
170[WebRtcBugList]: https://bugs.chromium.org/p/webrtc/issues/list?q=Type%3DBug-Security&can=1
171[ChromeSecurity]: https://www.chromium.org/Home/chromium-security
Fanny Linderborg0d2dc1f2021-07-14 14:02:11172[SeverityGuidelines]: https://chromium.googlesource.com/chromium/src/+/main/docs/security/severity-guidelines.md
173[SecurityFaq]: https://chromium.googlesource.com/chromium/src/+/main/docs/security/faq.md