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

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

Issue 1655793003: Make cricket::VideoCapturer implement VideoSourceInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding VideoSourceInterface and letting cricket::VideoCapturer implement it Created 4 years, 10 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 rtc::scoped_ptr<AudioSinkInterface> sink) override; 258 rtc::scoped_ptr<AudioSinkInterface> sink) override;
259 259
260 // Implements VideoMediaProviderInterface. 260 // Implements VideoMediaProviderInterface.
261 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; 261 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override;
262 void SetVideoPlayout(uint32_t ssrc, 262 void SetVideoPlayout(uint32_t ssrc,
263 bool enable, 263 bool enable,
264 cricket::VideoRenderer* renderer) override; 264 cricket::VideoRenderer* renderer) override;
265 void SetVideoSend(uint32_t ssrc, 265 void SetVideoSend(uint32_t ssrc,
266 bool enable, 266 bool enable,
267 const cricket::VideoOptions* options) override; 267 const cricket::VideoOptions* options) override;
268 rtc::VideoSinkInterface<cricket::VideoFrame>* GetSink(uint32_t ssrc) override;
268 269
269 // Implements DtmfProviderInterface. 270 // Implements DtmfProviderInterface.
270 virtual bool CanInsertDtmf(const std::string& track_id); 271 virtual bool CanInsertDtmf(const std::string& track_id);
271 virtual bool InsertDtmf(const std::string& track_id, 272 virtual bool InsertDtmf(const std::string& track_id,
272 int code, int duration); 273 int code, int duration);
273 virtual sigslot::signal0<>* GetOnDestroyedSignal(); 274 virtual sigslot::signal0<>* GetOnDestroyedSignal();
274 275
275 // Implements DataChannelProviderInterface. 276 // Implements DataChannelProviderInterface.
276 bool SendData(const cricket::SendDataParams& params, 277 bool SendData(const cricket::SendDataParams& params,
277 const rtc::Buffer& payload, 278 const rtc::Buffer& payload,
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 PeerConnectionInterface::BundlePolicy bundle_policy_; 517 PeerConnectionInterface::BundlePolicy bundle_policy_;
517 518
518 // Declares the RTCP mux policy for the WebRTCSession. 519 // Declares the RTCP mux policy for the WebRTCSession.
519 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 520 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
520 521
521 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 522 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
522 }; 523 };
523 } // namespace webrtc 524 } // namespace webrtc
524 525
525 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ 526 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698