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

Side by Side Diff: talk/app/webrtc/peerconnectionfactoryproxy.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: Addressed more comments from the sun. 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
« no previous file with comments | « talk/app/webrtc/peerconnectionfactory.cc ('k') | talk/app/webrtc/peerconnectioninterface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>, 55 PROXY_METHOD1(rtc::scoped_refptr<AudioSourceInterface>,
56 CreateAudioSource, const MediaConstraintsInterface*) 56 CreateAudioSource, const MediaConstraintsInterface*)
57 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>, 57 PROXY_METHOD2(rtc::scoped_refptr<VideoSourceInterface>,
58 CreateVideoSource, cricket::VideoCapturer*, 58 CreateVideoSource, cricket::VideoCapturer*,
59 const MediaConstraintsInterface*) 59 const MediaConstraintsInterface*)
60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>, 60 PROXY_METHOD2(rtc::scoped_refptr<VideoTrackInterface>,
61 CreateVideoTrack, const std::string&, VideoSourceInterface*) 61 CreateVideoTrack, const std::string&, VideoSourceInterface*)
62 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>, 62 PROXY_METHOD2(rtc::scoped_refptr<AudioTrackInterface>,
63 CreateAudioTrack, const std::string&, AudioSourceInterface*) 63 CreateAudioTrack, const std::string&, AudioSourceInterface*)
64 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile) 64 PROXY_METHOD1(bool, StartAecDump, rtc::PlatformFile)
65 PROXY_METHOD1(bool, StartRtcEventLog, rtc::PlatformFile)
66 PROXY_METHOD0(void, StopRtcEventLog)
65 67
66 private: 68 private:
67 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot( 69 rtc::scoped_refptr<PeerConnectionInterface> CreatePeerConnection_ot(
68 const PeerConnectionInterface::RTCConfiguration& a1, 70 const PeerConnectionInterface::RTCConfiguration& a1,
69 const MediaConstraintsInterface* a2, 71 const MediaConstraintsInterface* a2,
70 PortAllocatorFactoryInterface* a3, 72 PortAllocatorFactoryInterface* a3,
71 DtlsIdentityStoreInterface* a4, 73 DtlsIdentityStoreInterface* a4,
72 PeerConnectionObserver* a5) { 74 PeerConnectionObserver* a5) {
73 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4); 75 rtc::scoped_ptr<DtlsIdentityStoreInterface> ptr_a4(a4);
74 return c_->CreatePeerConnection(a1, a2, a3, ptr_a4.Pass(), a5); 76 return c_->CreatePeerConnection(a1, a2, a3, ptr_a4.Pass(), a5);
75 } 77 }
76 END_PROXY() 78 END_PROXY()
77 79
78 } // namespace webrtc 80 } // namespace webrtc
79 81
80 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_ 82 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORYPROXY_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnectionfactory.cc ('k') | talk/app/webrtc/peerconnectioninterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698