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

Side by Side Diff: talk/media/base/mediachannel.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/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.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 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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 virtual bool SetRecvParameters(const AudioRecvParameters& params) = 0; 1048 virtual bool SetRecvParameters(const AudioRecvParameters& params) = 0;
1049 // Starts or stops playout of received audio. 1049 // Starts or stops playout of received audio.
1050 virtual bool SetPlayout(bool playout) = 0; 1050 virtual bool SetPlayout(bool playout) = 0;
1051 // Starts or stops sending (and potentially capture) of local audio. 1051 // Starts or stops sending (and potentially capture) of local audio.
1052 virtual bool SetSend(SendFlags flag) = 0; 1052 virtual bool SetSend(SendFlags flag) = 0;
1053 // Configure stream for sending. 1053 // Configure stream for sending.
1054 virtual bool SetAudioSend(uint32_t ssrc, 1054 virtual bool SetAudioSend(uint32_t ssrc,
1055 bool enable, 1055 bool enable,
1056 const AudioOptions* options, 1056 const AudioOptions* options,
1057 AudioRenderer* renderer) = 0; 1057 AudioRenderer* renderer) = 0;
1058 // Sets the renderer object to be used for the specified remote audio stream.
1059 virtual bool SetRemoteRenderer(uint32_t ssrc, AudioRenderer* renderer) = 0;
1060 // Gets current energy levels for all incoming streams. 1058 // Gets current energy levels for all incoming streams.
1061 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0; 1059 virtual bool GetActiveStreams(AudioInfo::StreamList* actives) = 0;
1062 // Get the current energy level of the stream sent to the speaker. 1060 // Get the current energy level of the stream sent to the speaker.
1063 virtual int GetOutputLevel() = 0; 1061 virtual int GetOutputLevel() = 0;
1064 // Get the time in milliseconds since last recorded keystroke, or negative. 1062 // Get the time in milliseconds since last recorded keystroke, or negative.
1065 virtual int GetTimeSinceLastTyping() = 0; 1063 virtual int GetTimeSinceLastTyping() = 0;
1066 // Temporarily exposed field for tuning typing detect options. 1064 // Temporarily exposed field for tuning typing detect options.
1067 virtual void SetTypingDetectionParameters(int time_window, 1065 virtual void SetTypingDetectionParameters(int time_window,
1068 int cost_per_typing, int reporting_threshold, int penalty_decay, 1066 int cost_per_typing, int reporting_threshold, int penalty_decay,
1069 int type_event_delay) = 0; 1067 int type_event_delay) = 0;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 // Signal when the media channel is ready to send the stream. Arguments are: 1260 // Signal when the media channel is ready to send the stream. Arguments are:
1263 // writable(bool) 1261 // writable(bool)
1264 sigslot::signal1<bool> SignalReadyToSend; 1262 sigslot::signal1<bool> SignalReadyToSend;
1265 // Signal for notifying that the remote side has closed the DataChannel. 1263 // Signal for notifying that the remote side has closed the DataChannel.
1266 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1264 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1267 }; 1265 };
1268 1266
1269 } // namespace cricket 1267 } // namespace cricket
1270 1268
1271 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1269 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698