<?xml version="1.0" encoding="UTF-8"?>
<dds xmlns="http://www.eprosima.com/XMLSchemas/fastRTPS_Profiles">
    <profiles>
        <!-- PARTICIPANTS -->
        <participant profile_name="pub_participant_profile">
            <domainId>229</domainId>
            <rtps>
                <name>video_test_publisher</name>
            </rtps>
        </participant>

        <participant profile_name="sub_participant_profile">
            <domainId>229</domainId>
            <rtps>
                <name>video_test_subscriber</name>
            </rtps>
        </participant>

        <!-- PUBLISHER -->
        <publisher profile_name="publisher_profile">
            <topic>
                <name>video_interprocess</name>
                <dataType>VideoType</dataType>
                <kind>NO_KEY</kind>
                <historyQos>
                    <kind>KEEP_ALL</kind>
                </historyQos>
            </topic>
            <qos>
                <reliability>
                    <kind>RELIABLE</kind>
                    <max_blocking_time>
                        <sec>1</sec>
                        <nanosec>0</nanosec>
                    </max_blocking_time>
                </reliability>
                <durability>
                    <kind>VOLATILE</kind>
                </durability>
                <publishMode>
                    <kind>ASYNCHRONOUS</kind>
                </publishMode>
            </qos>
            <times>
                <heartbeatPeriod>
                    <sec>0</sec>
                    <nanosec>100000000</nanosec>
                </heartbeatPeriod>
            </times>
            <historyMemoryPolicy>PREALLOCATED_WITH_REALLOC</historyMemoryPolicy>
        </publisher>

        <!-- SUBSCRIBER -->
        <subscriber profile_name="subscriber_profile">
            <topic>
                <name>video_interprocess</name>
                <dataType>VideoType</dataType>
                <kind>NO_KEY</kind>
                <historyQos>
                    <kind>KEEP_ALL</kind>
                </historyQos>
            </topic>
            <qos>
                <reliability>
                    <kind>RELIABLE</kind>
                </reliability>
            </qos>
            <historyMemoryPolicy>PREALLOCATED_WITH_REALLOC</historyMemoryPolicy>
        </subscriber>
    </profiles>
</dds>
