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

Side by Side Diff: talk/session/media/channel.h

Issue 1398823003: Remove MediaChannel::SetRemoteRenderer(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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/media/webrtc/webrtcvoiceengine.cc ('k') | talk/session/media/channel.cc » ('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 2004 Google Inc. 3 * Copyright 2004 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 class VoiceChannel : public BaseChannel { 328 class VoiceChannel : public BaseChannel {
329 public: 329 public:
330 VoiceChannel(rtc::Thread* thread, 330 VoiceChannel(rtc::Thread* thread,
331 MediaEngineInterface* media_engine, 331 MediaEngineInterface* media_engine,
332 VoiceMediaChannel* channel, 332 VoiceMediaChannel* channel,
333 TransportController* transport_controller, 333 TransportController* transport_controller,
334 const std::string& content_name, 334 const std::string& content_name,
335 bool rtcp); 335 bool rtcp);
336 ~VoiceChannel(); 336 ~VoiceChannel();
337 bool Init(); 337 bool Init();
338 bool SetRemoteRenderer(uint32_t ssrc, AudioRenderer* renderer);
339 338
340 // Configure sending media on the stream with SSRC |ssrc| 339 // Configure sending media on the stream with SSRC |ssrc|
341 // If there is only one sending stream SSRC 0 can be used. 340 // If there is only one sending stream SSRC 0 can be used.
342 bool SetAudioSend(uint32_t ssrc, 341 bool SetAudioSend(uint32_t ssrc,
343 bool enable, 342 bool enable,
344 const AudioOptions* options, 343 const AudioOptions* options,
345 AudioRenderer* renderer); 344 AudioRenderer* renderer);
346 345
347 // downcasts a MediaChannel 346 // downcasts a MediaChannel
348 virtual VoiceMediaChannel* media_channel() const { 347 virtual VoiceMediaChannel* media_channel() const {
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 // SetSendParameters. 636 // SetSendParameters.
638 DataSendParameters last_send_params_; 637 DataSendParameters last_send_params_;
639 // Last DataRecvParameters sent down to the media_channel() via 638 // Last DataRecvParameters sent down to the media_channel() via
640 // SetRecvParameters. 639 // SetRecvParameters.
641 DataRecvParameters last_recv_params_; 640 DataRecvParameters last_recv_params_;
642 }; 641 };
643 642
644 } // namespace cricket 643 } // namespace cricket
645 644
646 #endif // TALK_SESSION_MEDIA_CHANNEL_H_ 645 #endif // TALK_SESSION_MEDIA_CHANNEL_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/webrtcvoiceengine.cc ('k') | talk/session/media/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698