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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 WebRtcVoiceEngine* voice_engine, | 180 WebRtcVoiceEngine* voice_engine, |
181 WebRtcVoiceMediaChannel* voice_channel, | 181 WebRtcVoiceMediaChannel* voice_channel, |
182 const VideoOptions& options, | 182 const VideoOptions& options, |
183 WebRtcVideoEncoderFactory* external_encoder_factory, | 183 WebRtcVideoEncoderFactory* external_encoder_factory, |
184 WebRtcVideoDecoderFactory* external_decoder_factory); | 184 WebRtcVideoDecoderFactory* external_decoder_factory); |
185 ~WebRtcVideoChannel2(); | 185 ~WebRtcVideoChannel2(); |
186 bool Init(); | 186 bool Init(); |
187 | 187 |
188 // VideoMediaChannel implementation | 188 // VideoMediaChannel implementation |
189 void DetachVoiceChannel() override; | 189 void DetachVoiceChannel() override; |
| 190 bool SetSendParameters(const VideoSendParameters& params) override; |
| 191 bool SetRecvParameters(const VideoRecvParameters& params) override; |
190 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) override; | 192 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) override; |
191 bool SetSendCodecs(const std::vector<VideoCodec>& codecs) override; | 193 bool SetSendCodecs(const std::vector<VideoCodec>& codecs) override; |
192 bool GetSendCodec(VideoCodec* send_codec) override; | 194 bool GetSendCodec(VideoCodec* send_codec) override; |
193 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; | 195 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; |
194 bool SetRender(bool render) override; | 196 bool SetRender(bool render) override; |
195 bool SetSend(bool send) override; | 197 bool SetSend(bool send) override; |
196 | 198 |
197 bool AddSendStream(const StreamParams& sp) override; | 199 bool AddSendStream(const StreamParams& sp) override; |
198 bool RemoveSendStream(uint32 ssrc) override; | 200 bool RemoveSendStream(uint32 ssrc) override; |
199 bool AddRecvStream(const StreamParams& sp) override; | 201 bool AddRecvStream(const StreamParams& sp) override; |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 WebRtcVideoDecoderFactory* const external_decoder_factory_; | 529 WebRtcVideoDecoderFactory* const external_decoder_factory_; |
528 std::vector<VideoCodecSettings> recv_codecs_; | 530 std::vector<VideoCodecSettings> recv_codecs_; |
529 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 531 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
530 webrtc::Call::Config::BitrateConfig bitrate_config_; | 532 webrtc::Call::Config::BitrateConfig bitrate_config_; |
531 VideoOptions options_; | 533 VideoOptions options_; |
532 }; | 534 }; |
533 | 535 |
534 } // namespace cricket | 536 } // namespace cricket |
535 | 537 |
536 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ | 538 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |