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

Side by Side Diff: talk/media/base/mediachannel.h

Issue 1334793003: Remove VideoMediaChannel::SetRender(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove fake SetRender Created 5 years, 3 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 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 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 SetRecvRtpHeaderExtensions(params.extensions)); 1183 SetRecvRtpHeaderExtensions(params.extensions));
1184 } 1184 }
1185 // Sets the codecs/payload types to be used for incoming media. 1185 // Sets the codecs/payload types to be used for incoming media.
1186 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) = 0; 1186 virtual bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) = 0;
1187 // Sets the codecs/payload types to be used for outgoing media. 1187 // Sets the codecs/payload types to be used for outgoing media.
1188 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs) = 0; 1188 virtual bool SetSendCodecs(const std::vector<VideoCodec>& codecs) = 0;
1189 // Gets the currently set codecs/payload types to be used for outgoing media. 1189 // Gets the currently set codecs/payload types to be used for outgoing media.
1190 virtual bool GetSendCodec(VideoCodec* send_codec) = 0; 1190 virtual bool GetSendCodec(VideoCodec* send_codec) = 0;
1191 // Sets the format of a specified outgoing stream. 1191 // Sets the format of a specified outgoing stream.
1192 virtual bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) = 0; 1192 virtual bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) = 0;
1193 // Starts or stops playout of received video.
1194 virtual bool SetRender(bool render) = 0;
1195 // Starts or stops transmission (and potentially capture) of local video. 1193 // Starts or stops transmission (and potentially capture) of local video.
1196 virtual bool SetSend(bool send) = 0; 1194 virtual bool SetSend(bool send) = 0;
1197 // Configure stream for sending. 1195 // Configure stream for sending.
1198 virtual bool SetVideoSend(uint32 ssrc, bool mute, 1196 virtual bool SetVideoSend(uint32 ssrc, bool mute,
1199 const VideoOptions* options) = 0; 1197 const VideoOptions* options) = 0;
1200 // Sets the renderer object to be used for the specified stream. 1198 // Sets the renderer object to be used for the specified stream.
1201 // If SSRC is 0, the renderer is used for the 'default' stream. 1199 // If SSRC is 0, the renderer is used for the 'default' stream.
1202 virtual bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) = 0; 1200 virtual bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) = 0;
1203 // If |ssrc| is 0, replace the default capturer (engine capturer) with 1201 // If |ssrc| is 0, replace the default capturer (engine capturer) with
1204 // |capturer|. If |ssrc| is non zero create a new stream with |ssrc| as SSRC. 1202 // |capturer|. If |ssrc| is non zero create a new stream with |ssrc| as SSRC.
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 // Signal when the media channel is ready to send the stream. Arguments are: 1356 // Signal when the media channel is ready to send the stream. Arguments are:
1359 // writable(bool) 1357 // writable(bool)
1360 sigslot::signal1<bool> SignalReadyToSend; 1358 sigslot::signal1<bool> SignalReadyToSend;
1361 // Signal for notifying that the remote side has closed the DataChannel. 1359 // Signal for notifying that the remote side has closed the DataChannel.
1362 sigslot::signal1<uint32> SignalStreamClosedRemotely; 1360 sigslot::signal1<uint32> SignalStreamClosedRemotely;
1363 }; 1361 };
1364 1362
1365 } // namespace cricket 1363 } // namespace cricket
1366 1364
1367 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1365 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698