Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: talk/app/webrtc/peerconnectioninterface.h

Issue 1413483003: Added option to specify a maximum file size when recording an AEC dump. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initial version Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 CreateAudioTrack(const std::string& label, 614 CreateAudioTrack(const std::string& label,
615 AudioSourceInterface* source) = 0; 615 AudioSourceInterface* source) = 0;
616 616
617 // Starts AEC dump using existing file. Takes ownership of |file| and passes 617 // Starts AEC dump using existing file. Takes ownership of |file| and passes
618 // it on to VoiceEngine (via other objects) immediately, which will take 618 // it on to VoiceEngine (via other objects) immediately, which will take
619 // the ownerhip. If the operation fails, the file will be closed. 619 // the ownerhip. If the operation fails, the file will be closed.
620 // TODO(grunell): Remove when Chromium has started to use AEC in each source. 620 // TODO(grunell): Remove when Chromium has started to use AEC in each source.
621 // http://crbug.com/264611. 621 // http://crbug.com/264611.
622 virtual bool StartAecDump(rtc::PlatformFile file) = 0; 622 virtual bool StartAecDump(rtc::PlatformFile file) = 0;
623 623
624 // Same as above, but a maximum file size in bytes can be specified.
625 virtual bool StartAecDump(rtc::PlatformFile file, int max_size_bytes) = 0;
626
624 // Starts RtcEventLog using existing file. Takes ownership of |file| and 627 // Starts RtcEventLog using existing file. Takes ownership of |file| and
625 // passes it on to VoiceEngine, which will take the ownership. If the 628 // passes it on to VoiceEngine, which will take the ownership. If the
626 // operation fails the file will be closed. The logging will stop 629 // operation fails the file will be closed. The logging will stop
627 // automatically after 10 minutes have passed, or when the StopRtcEventLog 630 // automatically after 10 minutes have passed, or when the StopRtcEventLog
628 // function is called. 631 // function is called.
629 // This function as well as the StopRtcEventLog don't really belong on this 632 // This function as well as the StopRtcEventLog don't really belong on this
630 // interface, this is a temporary solution until we move the logging object 633 // interface, this is a temporary solution until we move the logging object
631 // from inside voice engine to webrtc::Call, which will happen when the VoE 634 // from inside voice engine to webrtc::Call, which will happen when the VoE
632 // restructuring effort is further along. 635 // restructuring effort is further along.
633 // TODO(ivoc): Move this into being: 636 // TODO(ivoc): Move this into being:
(...skipping 21 matching lines...) Expand all
655 CreatePeerConnectionFactory( 658 CreatePeerConnectionFactory(
656 rtc::Thread* worker_thread, 659 rtc::Thread* worker_thread,
657 rtc::Thread* signaling_thread, 660 rtc::Thread* signaling_thread,
658 AudioDeviceModule* default_adm, 661 AudioDeviceModule* default_adm,
659 cricket::WebRtcVideoEncoderFactory* encoder_factory, 662 cricket::WebRtcVideoEncoderFactory* encoder_factory,
660 cricket::WebRtcVideoDecoderFactory* decoder_factory); 663 cricket::WebRtcVideoDecoderFactory* decoder_factory);
661 664
662 } // namespace webrtc 665 } // namespace webrtc
663 666
664 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_ 667 #endif // TALK_APP_WEBRTC_PEERCONNECTIONINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698