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_EXTERNAL_RENDERER_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_EXTERNAL_RENDERER_H_ |
| 7 |
| 8 // TODO(ronghuawu) ExternalRenderer should be replaced by |
| 9 // cricket::VideoRenderer from libjingle |
| 10 class ExternalRenderer { |
| 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_EXTERNAL_RENDERER_H_ |
OLD | NEW |