|
@@ -100,10 +100,10 @@ private:
|
|
|
StreamStatus status_ = StreamStatus::CLOSED;
|
|
|
|
|
|
|
|
|
- double target_fps_; // Desired output FPS (0 or negative means no control)
|
|
|
+ double target_fps_ = 25; // Desired output FPS (0 or negative means no control)
|
|
|
std::chrono::microseconds target_duration_{0}; // Duration per frame
|
|
|
std::chrono::time_point<std::chrono::high_resolution_clock> last_push_time_; // Time when the last frame was pushed
|
|
|
-
|
|
|
+
|
|
|
};
|
|
|
|
|
|
}
|