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

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

Issue 1551813002: Storing raw audio sink for default audio track. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing solenberg@'s comments. Created 4 years, 11 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id); 243 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
244 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id); 244 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
245 245
246 // AudioMediaProviderInterface implementation. 246 // AudioMediaProviderInterface implementation.
247 void SetAudioPlayout(uint32_t ssrc, bool enable) override; 247 void SetAudioPlayout(uint32_t ssrc, bool enable) override;
248 void SetAudioSend(uint32_t ssrc, 248 void SetAudioSend(uint32_t ssrc,
249 bool enable, 249 bool enable,
250 const cricket::AudioOptions& options, 250 const cricket::AudioOptions& options,
251 cricket::AudioRenderer* renderer) override; 251 cricket::AudioRenderer* renderer) override;
252 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override; 252 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override;
253 void SetRawAudioSink(uint32_t ssrc, 253 void SetRawAudioSink(
254 rtc::scoped_ptr<AudioSinkInterface> sink) override; 254 uint32_t ssrc,
255 const rtc::scoped_refptr<AudioSinkInterface>& sink) override;
255 256
256 // Implements VideoMediaProviderInterface. 257 // Implements VideoMediaProviderInterface.
257 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override; 258 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override;
258 void SetVideoPlayout(uint32_t ssrc, 259 void SetVideoPlayout(uint32_t ssrc,
259 bool enable, 260 bool enable,
260 cricket::VideoRenderer* renderer) override; 261 cricket::VideoRenderer* renderer) override;
261 void SetVideoSend(uint32_t ssrc, 262 void SetVideoSend(uint32_t ssrc,
262 bool enable, 263 bool enable,
263 const cricket::VideoOptions* options) override; 264 const cricket::VideoOptions* options) override;
264 265
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 PeerConnectionInterface::BundlePolicy bundle_policy_; 511 PeerConnectionInterface::BundlePolicy bundle_policy_;
511 512
512 // Declares the RTCP mux policy for the WebRTCSession. 513 // Declares the RTCP mux policy for the WebRTCSession.
513 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 514 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
514 515
515 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 516 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
516 }; 517 };
517 } // namespace webrtc 518 } // namespace webrtc
518 519
519 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ 520 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698