-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support image and progress over websockets, minor fixes #241
Conversation
@@ -126,6 +133,7 @@ class ApplicationParameters : public AbstractParameters | |||
std::string _streamId; | |||
std::string _tmpFolder; | |||
bool _synchronousMode{false}; | |||
size_t _imageStreamFPS{60}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are become ambitious now :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just an upper limit. We will never render that fast anyways :)
_httpServer->broadcastText(message); | ||
} | ||
|
||
if (_engine->getRenderer().haveNewImage()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmm, shouldn't this method be called hasNewImage() instead of haveNewImage()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, true. I'll have to recheck also if this works with Optix.
@@ -179,6 +194,24 @@ class RocketsPlugin : public ExtensionPlugin | |||
::brayns::v1::Scene _remoteScene; | |||
::brayns::v1::ForceRendering _remoteForceRendering; | |||
::brayns::v1::CircuitConfigurationBuilder _remoteCircuitConfigBuilder; | |||
|
|||
class Timer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I ask what's the purpose of this timer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To limit the image stream to the configurable image stream FPS. 60 FPS by default
No description provided.