Chromium Code Reviews| Index: content/renderer/media/webrtc_external_renderer.h |
| =================================================================== |
| --- content/renderer/media/webrtc_external_renderer.h (revision 0) |
| +++ content/renderer/media/webrtc_external_renderer.h (revision 0) |
| @@ -0,0 +1,22 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ |
| +#define CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ |
| + |
| +// TODO(ronghuawu) ExternalRenderer should be replaced by |
| +// cricket::VideoRenderer from libjingle |
| +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.
|
| + public: |
| + virtual int FrameSizeChange(unsigned int width, |
| + unsigned int height, |
| + unsigned int number_of_streams) = 0; |
| + virtual int DeliverFrame(unsigned char* buffer, int buffer_size) = 0; |
| + |
| + protected: |
| + virtual ~ExternalRenderer() {} |
| +}; |
| + |
| +#endif // CONTENT_RENDERER_MEDIA_WEBRTC_EXTERNAL_RENDERER_H_ |
| + |
|
scherkus (not reviewing)
2011/06/29 00:39:28
nit: blank line
Ronghua
2011/06/29 20:36:39
Done.
|
| Property changes on: content/renderer/media/webrtc_external_renderer.h |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |