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

Side by Side Diff: talk/media/webrtc/webrtcvideoengine2.h

Issue 1369263002: Unify Transport and newapi::Transport interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: self-review 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 | « no previous file | 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 2014 Google Inc. 3 * Copyright 2014 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 bool initialized_; 149 bool initialized_;
150 150
151 WebRtcVideoDecoderFactory* external_decoder_factory_; 151 WebRtcVideoDecoderFactory* external_decoder_factory_;
152 WebRtcVideoEncoderFactory* external_encoder_factory_; 152 WebRtcVideoEncoderFactory* external_encoder_factory_;
153 rtc::scoped_ptr<WebRtcVideoEncoderFactory> simulcast_encoder_factory_; 153 rtc::scoped_ptr<WebRtcVideoEncoderFactory> simulcast_encoder_factory_;
154 }; 154 };
155 155
156 class WebRtcVideoChannel2 : public rtc::MessageHandler, 156 class WebRtcVideoChannel2 : public rtc::MessageHandler,
157 public VideoMediaChannel, 157 public VideoMediaChannel,
158 public webrtc::newapi::Transport, 158 public webrtc::Transport,
159 public webrtc::LoadObserver { 159 public webrtc::LoadObserver {
160 public: 160 public:
161 WebRtcVideoChannel2(webrtc::Call* call, 161 WebRtcVideoChannel2(webrtc::Call* call,
162 const VideoOptions& options, 162 const VideoOptions& options,
163 const std::vector<VideoCodec>& recv_codecs, 163 const std::vector<VideoCodec>& recv_codecs,
164 WebRtcVideoEncoderFactory* external_encoder_factory, 164 WebRtcVideoEncoderFactory* external_encoder_factory,
165 WebRtcVideoDecoderFactory* external_decoder_factory); 165 WebRtcVideoDecoderFactory* external_decoder_factory);
166 ~WebRtcVideoChannel2() override; 166 ~WebRtcVideoChannel2() override;
167 167
168 // VideoMediaChannel implementation 168 // VideoMediaChannel implementation
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 WebRtcVideoDecoderFactory* const external_decoder_factory_; 516 WebRtcVideoDecoderFactory* const external_decoder_factory_;
517 std::vector<VideoCodecSettings> recv_codecs_; 517 std::vector<VideoCodecSettings> recv_codecs_;
518 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 518 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
519 webrtc::Call::Config::BitrateConfig bitrate_config_; 519 webrtc::Call::Config::BitrateConfig bitrate_config_;
520 VideoOptions options_; 520 VideoOptions options_;
521 }; 521 };
522 522
523 } // namespace cricket 523 } // namespace cricket
524 524
525 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ 525 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_
OLDNEW
« no previous file with comments | « no previous file | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698