Skip to content

Commit 13b1f62

Browse files
committed
change metadata from best-effort to reliable
(cherry picked from commit da32d57)
1 parent 33b2ad1 commit 13b1f62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

third-party/realdds/src/dds-device-impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void dds_device::impl::set_state( state_t new_state )
106106
else
107107
{
108108
LOG_DEBUG( "... metadata is enabled" );
109-
dds_topic_reader::qos rqos( eprosima::fastdds::dds::BEST_EFFORT_RELIABILITY_QOS );
109+
dds_topic_reader::qos rqos( eprosima::fastdds::dds::RELIABLE_RELIABILITY_QOS );
110110
rqos.history().depth = 10; // Support receive metadata from multiple streams
111111
rqos.override_from_json( md_settings );
112112
_metadata_reader->run( rqos );

third-party/realdds/src/dds-device-server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void dds_device_server::init( std::vector< std::shared_ptr< dds_stream_server >
203203
auto topic = topics::flexible_msg::create_topic( _publisher->get_participant(),
204204
_topic_root + topics::METADATA_TOPIC_NAME );
205205
_metadata_writer = std::make_shared< dds_topic_writer >( topic, _publisher );
206-
dds_topic_writer::qos wqos( eprosima::fastdds::dds::BEST_EFFORT_RELIABILITY_QOS );
206+
dds_topic_writer::qos wqos( eprosima::fastdds::dds::RELIABLE_RELIABILITY_QOS );
207207
wqos.history().depth = 10; // default is 1
208208
wqos.override_from_json(
209209
rsutils::json::nested( _subscriber->get_participant()->settings(), "device", "metadata" ) );

0 commit comments

Comments
 (0)