summaryrefslogtreecommitdiffstats
path: root/content/browser/media/webrtc_internals.cc
Commit message (Collapse)AuthorAgeFilesLines
* Change WebRTCInternals::GetInstance() to use a leaky LazyInstance.marshall2014-09-191-1/+5
| | | | | | | | | | | WebRTCInternals uses NotificationRegistrar which must be deleted on the UI thread. In cases where the UI thread is not the same as the main thread (like in Chromium Embedded Framework) the destruction of WebRTCInternals via AtExitManager at shutdown will cause a CalledOnValidThread() check failure. There's no particular reason why the object needs to be deleted at shutdown so just leak it instead. BUG=none TEST=none Review URL: https://codereview.chromium.org/575283004 Cr-Commit-Position: refs/heads/master@{#295751}
* Impose PowerSaveBlock while remoting content via Cast or WebRTC.miu@chromium.org2014-08-081-0/+23
| | | | | | | | | BUG=400552 Review URL: https://codereview.chromium.org/448953002 Cr-Commit-Position: refs/heads/master@{#288380} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288380 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a time conversion bug on webrtc-internals.jiayl@chromium.org2014-07-311-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/428133005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286678 0039d316-1c4b-4281-b951-d872f2087c98
* Converts RTCOfferOptions to constriants in the glue code for createOffer.jiayl@chromium.org2014-07-251-2/+2
| | | | | | | | | | TBR=pfeldman@chromium.org for content/shell/renderer/test_runner BUG=https://code.google.com/p/webrtc/issues/detail?id=3282 Review URL: https://codereview.chromium.org/396193005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285659 0039d316-1c4b-4281-b951-d872f2087c98
* Fix webrtc-internals to show the correct timestamp when the PeerConnection ↵jiayl@chromium.org2014-07-011-2/+5
| | | | | | | | | | event happens. BUG=327896 Review URL: https://codereview.chromium.org/340413005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280911 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary #includes in webrtc_internals.cc.sungmann.cho@navercorp.com2014-06-171-2/+0
| | | | | | | | | | | | After the landing https://codereview.chromium.org/216783002, webrtc_internals.cc doesn't need the command line switch related headers anymore. So we can remove these. BUG=350428 Review URL: https://codereview.chromium.org/334233002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277702 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the aec dump crash when users disable aec dump without closing the "Save ↵xians@chromium.org2014-06-031-0/+4
| | | | | | | | | | | | | | File" overlay. BUG=378713 TEST=manual test: 1Launch chrome and navigate to chrome://webrtc-internals/. 2.Expand "Create Dump" option >> Check the checkbox option of "enable Diagnostic audio recordings". 3.With "Save File" overlay opened, again uncheck the same checkbox. Review URL: https://codereview.chromium.org/310463002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274523 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webrtc_internals log spamenne@chromium.org2014-05-301-1/+1
| | | | | | | | | | | | | | I see "Could not get the download directory" in a lot of test output. This is not relevant to any of these tests, so this log should just become a vlog that can be turned on via command line by developers who care about it. R=vrk@chromium.org BUG=none Review URL: https://codereview.chromium.org/308673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273701 0039d316-1c4b-4281-b951-d872f2087c98
* Use the download directory as the default location for AEC dump files.grunell@chromium.org2014-05-091-8/+13
| | | | | | | | | | | This fixes a problem on Mac where the default location (root) isn't writable. BUG=358559 R=ajm@chromium.org, tommi@chromium.org Review URL: https://codereview.chromium.org/274453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269294 0039d316-1c4b-4281-b951-d872f2087c98
* Hide WebContentsView from Chrome. This also removes WebContentsViewPort.jam@chromium.org2014-05-031-2/+2
| | | | | | | | | | | TestWebContentsView goes away since it's not needed anymore BUG=304341 R=avi@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/262823006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268072 0039d316-1c4b-4281-b951-d872f2087c98
* Remove AEC dump command line flag and the test for it.grunell@chromium.org2014-04-061-7/+0
| | | | | | | | | | | | AEC dump can since some time be enabled in chrome://webrtc-internals, so the command line flag should be removed. The test for enabling through the UI remains in content/browser/media/webrtc_browsertest.cc. This is a part of the general flag cleanup effort. Will be landed after the M35 cut. BUG=350428 Review URL: https://codereview.chromium.org/216783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262054 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that WebRTC AEC recording checkbox is not set if cancelling file dialog.grunell@chromium.org2014-03-281-0/+6
| | | | | | | | | | NOTRY=true BUG=342685 Review URL: https://codereview.chromium.org/213703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260168 0039d316-1c4b-4281-b951-d872f2087c98
* Make WebRTCInternals no longer listen for events that it doesn't care about.avi@chromium.org2014-02-271-9/+0
| | | | | | | | | BUG=none TEST=none Review URL: https://codereview.chromium.org/176883004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253696 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use file picker for AEC dump on Android.grunell@chromium.org2014-02-151-12/+22
| | | | | | | | | | | | TBR'ing Jochen for render_process_host_impl.cc; only two dchecks added. TBR=jochen@chromium.org BUG=343847 Review URL: https://codereview.chromium.org/166543002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251574 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the RTP recording related code from webrtc-internals.jiayl@chromium.org2014-01-091-26/+1
| | | | | | | | | | | The code is dead and we have no plan to implement RTP recording in the near term. So removing to avoid confusion. BUG= Review URL: https://codereview.chromium.org/129533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243876 0039d316-1c4b-4281-b951-d872f2087c98
* Sends getUserMedia request info to webrtc-internals.jiayl@chromium.org2014-01-021-3/+65
| | | | | | | | | | | WebRTCInternals caches the info to send to internal pages opened in the future. The UI for representing the info on the internal page will be added later. BUG=304023 Review URL: https://codereview.chromium.org/61733017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242820 0039d316-1c4b-4281-b951-d872f2087c98
* AEC dump setting in webrtc internals.grunell@google.com2013-12-171-2/+72
| | | | | | | | | | | | | | | | | AEC dump = WebRTC echo canceller debug recordings. This CL - Adds a UI (checkbox) in chrome://webrtc-internals for enabling/disabling AEC dump. - Hooking up the UI with the underlying functionality to enable/disable. The UI part is originally done by jiayl@. BUG=323928 R=fischman@chromium.org, jochen@chromium.org, joi@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/112683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241266 0039d316-1c4b-4281-b951-d872f2087c98
* Switch ObserverList::size() to ObserverList::might_have_observers() Pt.1caitkp@chromium.org2013-08-261-7/+7
| | | | | | | | | | | | This is in preparation for making ObserverList::size() protected (see bug for details). BUG=278526 TEST=no change TBR=darin@chromium.org Review URL: https://chromiumcodereview.appspot.com/23190045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219580 0039d316-1c4b-4281-b951-d872f2087c98
* Make content use base namespace for Values.brettw@chromium.org2013-06-141-18/+16
| | | | | | | | | | | This is in preparation for removing the "using". BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/17025003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206442 0039d316-1c4b-4281-b951-d872f2087c98
* Add the UI for recording RTP packets from webrtc-internalsjiayl@chromium.org2013-05-021-11/+34
| | | | | | | | BUG=222769 Review URL: https://chromiumcodereview.appspot.com/13844024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197807 0039d316-1c4b-4281-b951-d872f2087c98
* content: convert child process notifications to observer usagephajdan.jr@chromium.org2013-02-281-15/+13
| | | | | | | | BUG=170921 Review URL: https://codereview.chromium.org/12212089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185337 0039d316-1c4b-4281-b951-d872f2087c98
* Adds getting PeerConnection stats for webrtc-internals.jiayl@chromium.org2013-02-061-0/+18
| | | | | | | | | | | | It also fixes an issue of out-of-order update for PeerConnection async API callbacks by calling PeerConnectionTracker::Track* methods before the default handling. In addition, we should call PeerConnectionTracker::Track* methods first for SetLocalDescription and SetRemoteDescription because the SessionDescriptionInterface object may get destroyed after native_peer_connection_->SetLocalDescription is called. BUG=168232, 172986 Review URL: https://chromiumcodereview.appspot.com/12084030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181019 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the PeerConnection from webrtc-internals page when the owning ↵jiayl@chromium.org2013-01-301-1/+54
| | | | | | | | | | | renderer is closed BUG=168232 Review URL: https://chromiumcodereview.appspot.com/12108002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179735 0039d316-1c4b-4281-b951-d872f2087c98
* Add a WebUIControllerFactory in content and move chrome://webrtc-internals ↵jam@chromium.org2013-01-291-0/+153
| | | | | | | | | to content. BUG=169170 Review URL: https://codereview.chromium.org/12089034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179425 0039d316-1c4b-4281-b951-d872f2087c98
* Connecting webrtc-internals WebUI frontend with the backendjiayl@chromium.org2013-01-231-84/+0
| | | | | | | | | BUG=168232 Review URL: https://chromiumcodereview.appspot.com/11876007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178272 0039d316-1c4b-4281-b951-d872f2087c98
* Data collection part of webrtc-internals implementationjiayl@chromium.org2013-01-101-0/+84
This change implements the data collection part of webrtc-internals. RTCPeerConnectionHandler is an existing class living in the main renderer thread and knows about the status of a peer connection. With this CL, it reports every peer connection creation to PeerConnectionTracker. PeerConnectionTracker is also running in the renderer process. It assigns an integer ID to each peer connectionstore and sends the basic peer connection info to PeerConnectionTrackerHost along with the ID. PeerConnectionTrackerHost is running in the browser process in the IO thread. It simply passes anything it receives from PeerConnectionTracker to WebRTCInternals. WebRTCInternals is a singlton running in the browser process. It sends the data received from PeerConnectionTrackerHost to every observer, i.e. webrtc-internals page. WebRTCInternalsUIObserver will be implemented in another change list. BUG=168232 Review URL: https://chromiumcodereview.appspot.com/11753020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176012 0039d316-1c4b-4281-b951-d872f2087c98