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

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

Issue 1588693002: Revert of Storing raw audio sink for default audio track. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/fakewebrtccall.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 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 // Send a DTMF |event|. The DTMF out-of-band signal will be used. 1030 // Send a DTMF |event|. The DTMF out-of-band signal will be used.
1031 // The |ssrc| should be either 0 or a valid send stream ssrc. 1031 // The |ssrc| should be either 0 or a valid send stream ssrc.
1032 // The valid value for the |event| are 0 to 15 which corresponding to 1032 // The valid value for the |event| are 0 to 15 which corresponding to
1033 // DTMF event 0-9, *, #, A-D. 1033 // DTMF event 0-9, *, #, A-D.
1034 virtual bool InsertDtmf(uint32_t ssrc, int event, int duration) = 0; 1034 virtual bool InsertDtmf(uint32_t ssrc, int event, int duration) = 0;
1035 // Gets quality stats for the channel. 1035 // Gets quality stats for the channel.
1036 virtual bool GetStats(VoiceMediaInfo* info) = 0; 1036 virtual bool GetStats(VoiceMediaInfo* info) = 0;
1037 1037
1038 virtual void SetRawAudioSink( 1038 virtual void SetRawAudioSink(
1039 uint32_t ssrc, 1039 uint32_t ssrc,
1040 const rtc::scoped_refptr<webrtc::AudioSinkInterface>& sink) = 0; 1040 rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) = 0;
1041 }; 1041 };
1042 1042
1043 struct VideoSendParameters : RtpSendParameters<VideoCodec, VideoOptions> { 1043 struct VideoSendParameters : RtpSendParameters<VideoCodec, VideoOptions> {
1044 }; 1044 };
1045 1045
1046 struct VideoRecvParameters : RtpParameters<VideoCodec> { 1046 struct VideoRecvParameters : RtpParameters<VideoCodec> {
1047 }; 1047 };
1048 1048
1049 class VideoMediaChannel : public MediaChannel { 1049 class VideoMediaChannel : public MediaChannel {
1050 public: 1050 public:
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 // Signal when the media channel is ready to send the stream. Arguments are: 1218 // Signal when the media channel is ready to send the stream. Arguments are:
1219 // writable(bool) 1219 // writable(bool)
1220 sigslot::signal1<bool> SignalReadyToSend; 1220 sigslot::signal1<bool> SignalReadyToSend;
1221 // Signal for notifying that the remote side has closed the DataChannel. 1221 // Signal for notifying that the remote side has closed the DataChannel.
1222 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1222 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1223 }; 1223 };
1224 1224
1225 } // namespace cricket 1225 } // namespace cricket
1226 1226
1227 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_ 1227 #endif // TALK_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « talk/media/base/fakemediaengine.h ('k') | talk/media/webrtc/fakewebrtccall.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698