OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const MediaConstraintsInterface* constraints) override; | 72 const MediaConstraintsInterface* constraints) override; |
73 | 73 |
74 rtc::scoped_refptr<VideoTrackInterface> | 74 rtc::scoped_refptr<VideoTrackInterface> |
75 CreateVideoTrack(const std::string& id, | 75 CreateVideoTrack(const std::string& id, |
76 VideoSourceInterface* video_source) override; | 76 VideoSourceInterface* video_source) override; |
77 | 77 |
78 rtc::scoped_refptr<AudioTrackInterface> | 78 rtc::scoped_refptr<AudioTrackInterface> |
79 CreateAudioTrack(const std::string& id, | 79 CreateAudioTrack(const std::string& id, |
80 AudioSourceInterface* audio_source) override; | 80 AudioSourceInterface* audio_source) override; |
81 | 81 |
82 bool StartAecDump(rtc::PlatformFile file) override; | 82 bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) override; |
83 bool StartRtcEventLog(rtc::PlatformFile file) override; | 83 bool StartRtcEventLog(rtc::PlatformFile file) override; |
84 void StopRtcEventLog() override; | 84 void StopRtcEventLog() override; |
85 | 85 |
86 virtual webrtc::MediaControllerInterface* CreateMediaController() const; | 86 virtual webrtc::MediaControllerInterface* CreateMediaController() const; |
87 virtual rtc::Thread* signaling_thread(); | 87 virtual rtc::Thread* signaling_thread(); |
88 virtual rtc::Thread* worker_thread(); | 88 virtual rtc::Thread* worker_thread(); |
89 const Options& options() const { return options_; } | 89 const Options& options() const { return options_; } |
90 | 90 |
91 protected: | 91 protected: |
92 PeerConnectionFactory(); | 92 PeerConnectionFactory(); |
(...skipping 25 matching lines...) Expand all Loading... |
118 // injected any. In that case, video engine will use the internal SW decoder. | 118 // injected any. In that case, video engine will use the internal SW decoder. |
119 rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory> | 119 rtc::scoped_ptr<cricket::WebRtcVideoDecoderFactory> |
120 video_decoder_factory_; | 120 video_decoder_factory_; |
121 | 121 |
122 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; | 122 rtc::scoped_refptr<RefCountedDtlsIdentityStore> dtls_identity_store_; |
123 }; | 123 }; |
124 | 124 |
125 } // namespace webrtc | 125 } // namespace webrtc |
126 | 126 |
127 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORY_H_ | 127 #endif // TALK_APP_WEBRTC_PEERCONNECTIONFACTORY_H_ |
OLD | NEW |