def get_longest_duration(existing_duration, new_duration):
    """ Decide how long a joined camera segment should play """
    if float(existing_duration) >= float(new_duration):
        return existing_duration
    return new_duration
