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

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

Issue 1374253002: Added functions on libjingle API to start and stop the recording of an RtcEventLog. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added functions to start and stop logging. 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 2011 Google Inc. 3 * Copyright 2011 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 rtc::scoped_refptr<VideoTrackInterface> 73 rtc::scoped_refptr<VideoTrackInterface>
74 CreateVideoTrack(const std::string& id, 74 CreateVideoTrack(const std::string& id,
75 VideoSourceInterface* video_source) override; 75 VideoSourceInterface* video_source) override;
76 76
77 rtc::scoped_refptr<AudioTrackInterface> 77 rtc::scoped_refptr<AudioTrackInterface>
78 CreateAudioTrack(const std::string& id, 78 CreateAudioTrack(const std::string& id,
79 AudioSourceInterface* audio_source) override; 79 AudioSourceInterface* audio_source) override;
80 80
81 bool StartAecDump(rtc::PlatformFile file) override; 81 bool StartAecDump(rtc::PlatformFile file) override;
82 bool StartRtcEventLog(rtc::PlatformFile file) override;
Henrik Grunell WebRTC 2015/10/02 10:23:42 Although not ideal, this is afaik the most reasona
terelius 2015/10/02 12:16:26 So is there a reason for having the ChannelManager
Henrik Grunell WebRTC 2015/10/02 12:23:40 I don't know. I'm not the right person to answer t
terelius 2015/10/02 12:46:34 Acknowledged.
83 void StopRtcEventLog() override;
terelius 2015/10/02 10:07:14 I'm not very familiar with the PeerConnection and
ivoc 2015/10/05 14:16:32 I think one of the problems is that there can be m
pthatcher1 2015/10/06 20:49:09 But why is this logging tied to the voice engine?
ivoc 2015/10/07 14:27:27 The current place of the logging object is a tempo
82 84
83 virtual cricket::ChannelManager* channel_manager(); 85 virtual cricket::ChannelManager* channel_manager();
84 virtual rtc::Thread* signaling_thread(); 86 virtual rtc::Thread* signaling_thread();
85 virtual rtc::Thread* worker_thread(); 87 virtual rtc::Thread* worker_thread();
86 const Options& options() const { return options_; } 88 const Options& options() const { return options_; }
87 89
88 protected: 90 protected:
89 PeerConnectionFactory(); 91 PeerConnectionFactory();
90 PeerConnectionFactory( 92 PeerConnectionFactory(
91 rtc::Thread* worker_thread, 93 rtc::Thread* worker_thread,
(...skipping 23 matching lines...) Expand all
115 // injected any. In that case, video engine will use the internal SW decoder. 117 // injected any. In that case, video engine will use the internal SW decoder.
116 rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory> 118 rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory>
117 video_decoder_factory_; 119 video_decoder_factory_;
118 120
119 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; 121 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_;
120 }; 122 };
121 123
122 } // namespace webrtc 124 } // namespace webrtc
123 125
124 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORY_H_ 126 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | talk/app/webrtc/peerconnectionfactory.cc » ('j') | talk/app/webrtc/peerconnectionfactory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698