| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 bool Init(); | 184 bool Init(); |
| 185 | 185 |
| 186 // VideoMediaChannel implementation | 186 // VideoMediaChannel implementation |
| 187 void DetachVoiceChannel() override; | 187 void DetachVoiceChannel() override; |
| 188 bool SetSendParameters(const VideoSendParameters& params) override; | 188 bool SetSendParameters(const VideoSendParameters& params) override; |
| 189 bool SetRecvParameters(const VideoRecvParameters& params) override; | 189 bool SetRecvParameters(const VideoRecvParameters& params) override; |
| 190 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) override; | 190 bool SetRecvCodecs(const std::vector<VideoCodec>& codecs) override; |
| 191 bool SetSendCodecs(const std::vector<VideoCodec>& codecs) override; | 191 bool SetSendCodecs(const std::vector<VideoCodec>& codecs) override; |
| 192 bool GetSendCodec(VideoCodec* send_codec) override; | 192 bool GetSendCodec(VideoCodec* send_codec) override; |
| 193 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; | 193 bool SetSendStreamFormat(uint32 ssrc, const VideoFormat& format) override; |
| 194 bool SetRender(bool render) override; | |
| 195 bool SetSend(bool send) override; | 194 bool SetSend(bool send) override; |
| 196 bool SetVideoSend(uint32 ssrc, bool mute, | 195 bool SetVideoSend(uint32 ssrc, bool mute, |
| 197 const VideoOptions* options) override; | 196 const VideoOptions* options) override; |
| 198 bool AddSendStream(const StreamParams& sp) override; | 197 bool AddSendStream(const StreamParams& sp) override; |
| 199 bool RemoveSendStream(uint32 ssrc) override; | 198 bool RemoveSendStream(uint32 ssrc) override; |
| 200 bool AddRecvStream(const StreamParams& sp) override; | 199 bool AddRecvStream(const StreamParams& sp) override; |
| 201 bool AddRecvStream(const StreamParams& sp, bool default_stream); | 200 bool AddRecvStream(const StreamParams& sp, bool default_stream); |
| 202 bool RemoveRecvStream(uint32 ssrc) override; | 201 bool RemoveRecvStream(uint32 ssrc) override; |
| 203 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; | 202 bool SetRenderer(uint32 ssrc, VideoRenderer* renderer) override; |
| 204 bool GetStats(VideoMediaInfo* info) override; | 203 bool GetStats(VideoMediaInfo* info) override; |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 WebRtcVideoDecoderFactory* const external_decoder_factory_; | 539 WebRtcVideoDecoderFactory* const external_decoder_factory_; |
| 541 std::vector<VideoCodecSettings> recv_codecs_; | 540 std::vector<VideoCodecSettings> recv_codecs_; |
| 542 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 541 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
| 543 webrtc::Call::Config::BitrateConfig bitrate_config_; | 542 webrtc::Call::Config::BitrateConfig bitrate_config_; |
| 544 VideoOptions options_; | 543 VideoOptions options_; |
| 545 }; | 544 }; |
| 546 | 545 |
| 547 } // namespace cricket | 546 } // namespace cricket |
| 548 | 547 |
| 549 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ | 548 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_H_ |
| OLD | NEW |