OLD | NEW |
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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; | 181 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; |
182 bool GetStats(VideoMediaInfo* info) override; | 182 bool GetStats(VideoMediaInfo* info) override; |
183 bool SetCapturer(uint32 ssrc, VideoCapturer* capturer) override; | 183 bool SetCapturer(uint32 ssrc, VideoCapturer* capturer) override; |
184 bool SendIntraFrame() override; | 184 bool SendIntraFrame() override; |
185 bool RequestIntraFrame() override; | 185 bool RequestIntraFrame() override; |
186 | 186 |
187 void OnPacketReceived(rtc::Buffer* packet, | 187 void OnPacketReceived(rtc::Buffer* packet, |
188 const rtc::PacketTime& packet_time) override; | 188 const rtc::PacketTime& packet_time) override; |
189 void OnRtcpReceived(rtc::Buffer* packet, | 189 void OnRtcpReceived(rtc::Buffer* packet, |
190 const rtc::PacketTime& packet_time) override; | 190 const rtc::PacketTime& packet_time) override; |
| 191 void OnPacketSent(const rtc::SentPacket& packet_sent) override; |
191 void OnReadyToSend(bool ready) override; | 192 void OnReadyToSend(bool ready) override; |
192 void SetInterface(NetworkInterface* iface) override; | 193 void SetInterface(NetworkInterface* iface) override; |
193 void UpdateAspectRatio(int ratio_w, int ratio_h) override; | 194 void UpdateAspectRatio(int ratio_w, int ratio_h) override; |
194 | 195 |
195 void OnMessage(rtc::Message* msg) override; | 196 void OnMessage(rtc::Message* msg) override; |
196 | 197 |
197 void OnLoadUpdate(Load load) override; | 198 void OnLoadUpdate(Load load) override; |
198 | 199 |
199 // Implemented for VideoMediaChannelTest. | 200 // Implemented for VideoMediaChannelTest. |
200 bool sending() const { return sending_; } | 201 bool sending() const { return sending_; } |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 WebRtcVideoDecoderFactory* const external_decoder_factory_; | 517 WebRtcVideoDecoderFactory* const external_decoder_factory_; |
517 std::vector<VideoCodecSettings> recv_codecs_; | 518 std::vector<VideoCodecSettings> recv_codecs_; |
518 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 519 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
519 webrtc::Call::Config::BitrateConfig bitrate_config_; | 520 webrtc::Call::Config::BitrateConfig bitrate_config_; |
520 VideoOptions options_; | 521 VideoOptions options_; |
521 }; | 522 }; |
522 | 523 |
523 } // namespace cricket | 524 } // namespace cricket |
524 | 525 |
525 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ | 526 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |