|
OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ | |
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ | |
7 | |
8 // TODO(ronghuawu) ExternalRenderer should be replaced by | |
9 // cricket::VideoRenderer from libjingle | |
10 class ExternalRenderer { | |
scherkus (not reviewing)
2011/06/29 00:39:28
filename should match class name, so either:
1)
Ronghua
2011/06/29 20:36:39
Done.
| |
11 public: | |
12 virtual int FrameSizeChange(unsigned int width, | |
13 unsigned int height, | |
14 unsigned int number_of_streams) = 0; | |
15 virtual int DeliverFrame(unsigned char* buffer, int buffer_size) = 0; | |
16 | |
17 protected: | |
18 virtual ~ExternalRenderer() {} | |
19 }; | |
20 | |
21 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ | |
22 | |
scherkus (not reviewing)
2011/06/29 00:39:28
nit: blank line
Ronghua
2011/06/29 20:36:39
Done.
| |
OLD | NEW |