|
Rerun C++ SDK
|
Log sink which hosts a Rerun gRPC server. More...
#include <rerun/log_sink.hpp>
Public Member Functions | |
| GrpcServerSink (std::string_view bind_ip_, uint16_t port_=9876, std::string_view server_memory_limit_="1GiB", PlaybackBehavior playback_behavior_=PlaybackBehavior::OldestFirst, std::vector< std::string_view > cors_allow_origins_={}) | |
| operator LogSink () const | |
Public Attributes | |
| std::string_view | bind_ip = "0.0.0.0" |
| uint16_t | port = 9876 |
| std::string_view | server_memory_limit = "1GiB" |
| PlaybackBehavior | playback_behavior = PlaybackBehavior::OldestFirst |
| std::vector< std::string_view > | cors_allow_origins |
Log sink which hosts a Rerun gRPC server.
This is a gRPC server: SDKs and Viewers connect to it. Use GrpcSink to connect as a client to an existing server.
RecordingStream::set_sinks copies this configuration into a native sink. Destroying this descriptor has no effect on the server. Replacing the sinks or destroying the recording shuts the server down.