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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
169 bool SetSendParameters(const VideoSendParameters& params) override; | 169 bool SetSendParameters(const VideoSendParameters& params) override; |
170 bool SetRecvParameters(const VideoRecvParameters& params) override; | 170 bool SetRecvParameters(const VideoRecvParameters& params) override; |
171 bool GetSendCodec(VideoCodec* send_codec) override; | 171 bool GetSendCodec(VideoCodec* send_codec) override; |
172 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; | 172 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; |
173 bool SetRender(bool render) override; | |
174 bool SetSend(bool send) override; | 173 bool SetSend(bool send) override; |
175 bool SetVideoSend(uint32 ssrc, bool mute, | 174 bool SetVideoSend(uint32 ssrc, bool mute, |
176 const VideoOptions* options) override; | 175 const VideoOptions* options) override; |
177 bool AddSendStream(const StreamParams& sp) override; | 176 bool AddSendStream(const StreamParams& sp) override; |
178 bool RemoveSendStream(uint32 ssrc) override; | 177 bool RemoveSendStream(uint32 ssrc) override; |
179 bool AddRecvStream(const StreamParams& sp) override; | 178 bool AddRecvStream(const StreamParams& sp) override; |
180 bool AddRecvStream(const StreamParams& sp, bool default_stream); | 179 bool AddRecvStream(const StreamParams& sp, bool default_stream); |
181 bool RemoveRecvStream(uint32 ssrc) override; | 180 bool RemoveRecvStream(uint32 ssrc) override; |
182 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; | 181 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; |
183 bool GetStats(VideoMediaInfo* info) override; | 182 bool GetStats(VideoMediaInfo* info) override; |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 WebRtcVideoDecoderFactory* const external_decoder_factory_; | 516 WebRtcVideoDecoderFactory* const external_decoder_factory_; |
518 std::vector<VideoCodecSettings> recv_codecs_; | 517 std::vector<VideoCodecSettings> recv_codecs_; |
519 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 518 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
520 webrtc::Call::Config::BitrateConfig bitrate_config_; | 519 webrtc::Call::Config::BitrateConfig bitrate_config_; |
521 VideoOptions options_; | 520 VideoOptions options_; |
522 }; | 521 }; |
523 | 522 |
524 } // namespace cricket | 523 } // namespace cricket |
525 | 524 |
526 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ | 525 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |