1234567891011121314151617181920212223242526272829303132 |
- #ifndef COMMON_VIDEO_FRAME_COUNTS_H_
- #define COMMON_VIDEO_FRAME_COUNTS_H_
- namespace webrtc {
- struct FrameCounts {
- FrameCounts() : key_frames(0), delta_frames(0) {}
- int key_frames;
- int delta_frames;
- };
- class FrameCountObserver {
- public:
- virtual ~FrameCountObserver() {}
- virtual void FrameCountUpdated(const FrameCounts& frame_counts,
- uint32_t ssrc) = 0;
- };
- }
- #endif
|