Replay/Record init before playing

4 posts / 0 new
Last post
Mr Freeman's picture
Offline
Last seen: 6 days 15 hours ago
Joined: 07/30/2025
Posts: 8
Replay/Record init before playing

Hi everyone,

I'm using version RTI 6.1.2.

I want to initialize the replay/record service before launching it, but I can't find any information on how to do this.

Yet it seems possible according to the documentation : https://community.rti.com/static/documentation/connext-dds/6.1.2/doc/manuals/connext_dds_professional/services/recording_service/replay/replay_configuration.html?highlight=immediately#section-replay-config-playback-tag

Do you have any ideas or suggestions?

Thanks!

Howard's picture
Offline
Last seen: 5 days 1 hour ago
Joined: 11/29/2012
Posts: 681

I'm unclear what you mean by "initialize the [service] before launching it".  Can you explain in more detail the behavior that you want to achieve?

Mr Freeman's picture
Offline
Last seen: 6 days 15 hours ago
Joined: 07/30/2025
Posts: 8

My goal is to initialize the Replay Service (start the process, initialize DDS, open the database, create remote control entities), but NOT start the replay immediately.
Playback should only start later, when the user explicitly presses Play in the UI.

To achieve this, I currently do the following:

  • I generate a replay configuration file dynamically. In the <playback>  section, I set: <rate>0</rate>
  • I start the replay service process with this configuration.

  • Later, when the user wants to start playback, I change the rate to a value to 1 via DDS Remote Control & send a START command

 

Question

Is setting the playback rate to 0 the recommended / best practice to initialize the Replay Service without starting playback?

According to the documentation, replay starts immediately if no start condition is specified, and <start_replay_local_time> can be used to delay playback, but it feels like a workaround rather than a clear initialization mechanism.

I would like to know if my current solution is the intended way to handle this use case, or if there is a cleaner / more official approach.

Thanks in advance for your guidance.

Mr Freeman's picture
Offline
Last seen: 6 days 15 hours ago
Joined: 07/30/2025
Posts: 8

Hi everyone,

just following up on this topic in case someone has any ideas.

Thanks in advance!