image2rtsp/fastdds_no_shm.xml

22 lines
906 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Force UDP transport only.
Shared memory transport fails between host and Docker container (different
PID namespaces) even with network_mode: host. Disabling it forces FastDDS
to use UDPv4, which works correctly over the loopback interface. -->
<profiles xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
<transport_descriptors>
<transport_descriptor>
<transport_id>UDPv4Transport</transport_id>
<type>UDPv4</type>
</transport_descriptor>
</transport_descriptors>
<participant profile_name="default_participant" is_default_profile="true">
<rtps>
<userTransports>
<transport_id>UDPv4Transport</transport_id>
</userTransports>
<useBuiltinTransports>false</useBuiltinTransports>
</rtps>
</participant>
</profiles>