Update Log

V1.3.11-P7

  • Internal Optimization
  1. Added _referer to header.

V1.3.11-P6

  • Internal Optimization
  1. Intercom and other features trigger afterReady only after receiving data.
  2. Single channel in compatibility mode does not require black screen.
  3. No need to pull stream if replay cache is sufficient.
  4. Fixed occasional issue where seek is not triggered when switching from high to low speed.

V1.3.11-P5

  • New Features
  1. Added default playback speed setting startMultiple. Refer to Playback Configuration
  • Internal Optimization
  1. Replay optimization

V1.3.11-P4

  • Bug Fixes
  1. Fixed DMS drawing issue in first 200ms of playback

V1.3.11-P3

  • Internal Optimization
  1. MSE cache optimization
  2. Performance optimization
  3. Intercom delay optimization

V1.3.11-P2

  • Internal Optimization
  1. Added channel information for stream switching timeout in playback.

V1.3.11-P1

  • New Features
  1. Added intercom delay close configuration. Refer to Intercom Configuration
  2. Added large rock block display for mining.
  3. Added manual mosaic related APIs. Refer to Manual Mosaic
  • Interface Additions
  1. Added getData, setData, clearData methods for manual mosaic
// Get mosaic data
historyPlayer.pluginMap.codemosiac.getData([{devId, channel}]);
Return
data: [
    {
        devId,
        channel,
        list: [{x, y, w, h, mw, mh}]
    }
]
// Set mosaic data
historyPlayer.pluginMap.codemosiac.setData(data);
// Clear mosaic
historyPlayer.pluginMap.codemosiac.clearData([{devId, channel}]);
  • Internal Optimization
  1. Modified distance curve unit to d(m).
  2. Modified tooth line width to 3px for high resolution.
  3. DMS face zoom not displayed when exceeding boundary.
  4. Loading end optimization.
  5. Optimized speed setting before replay stream pull.

V1.3.11

  • New Features

    1. Support for intercom prompt sounds
    2. Support for platform-side mosaic display capability recognition
  • Interface Changes

    1. Added startPrompt, stopPrompt for passing start/end prompt sounds
    const intercom = H5Player.createIntercom({
        ...config,
        startPrompt: buffer, // Start prompt sound, PCM format, 16-bit, 8000Hz sample rate, mono channel
        stopPrompt: buffer, // End prompt sound, PCM format, 16-bit, 8000Hz sample rate, mono channel
    });
  • Interface Additions

    1. Added HOOKS for intercom
    intercom.hooks.afterReady.tap('ready', () => {
        message.info('Start prompt sound ended, intercom started');
    });
    
    intercom.hooks.afterStop.tap('stop', () => {
        message.info('End prompt sound ended, intercom stopped');
    });

V1.3.10-P9

  • Internal Optimization
  1. Optimized error message display for request abnormalities in weak network conditions
  2. Optimized screen flickering issue caused by data abnormalities

V1.3.10-P8

  • New Features

    1. Added support for CSP function
    2. Support for bus AEB identification
  • Interface Changes

    1. Bus AEB function, added new industry processing types
    // Industry type
    enum EIndustryType
    {
        RM2_INDUSTRY_TYPE_NONE = -1,  // Unknown industry type
        RM2_INDUSTRY_TYPE_POLICE = 0, // Police industry
        RM2_INDUSTRY_TYPE_TAXI_AEB = 1,// Taxi industry
        RM2_INDUSTRY_TYPE_BUS_AEB = 2, // Bus industry
    };
    // Bus overlay type
    enum EOsdBusAebType
    {
        OSD_BUS_AEB_NONE = 0,
        OSD_BUS_AEB_LONGITUDINAL_VELOCITY = 1,   // Forward longitudinal velocity
        OSD_BUS_AEB_LONGITUDINAL_DISTANCE = 2,   // Forward longitudinal distance
        OSD_BUS_AEB_LATERAL_DISTANCE = 3,        // Forward lateral distance
        OSD_BUS_AEB_GEAR_STATE = 4,              // Gear status
        OSD_BUS_AEB_BRAKING_CONDITION = 5,       // Brake status
        OSD_BUS_AEB_BRAKE_PEDAL_PERCENTAGE = 6,  // Brake pedal percentage
        OSD_BUS_AEB_GAS_PEDAL_PERCENTAGE = 7,    // Gas pedal percentage
        OSD_BUS_AEB_FORWARD_COLLISION_TIME = 8,  // Forward collision time
        OSD_BUS_AEB_ULTRASONIC_DISTANCE = 9,     // Forward ultrasonic distance
        OSD_BUS_AEB_STEERING_WHEEL_ANGLE = 10,   // Steering wheel angle
        OSD_BUS_AEB_TURN_SIGNAL = 11,            // Turn signal
        OSD_BUS_AEB_BRAKE_DECELERATION = 12,     // Brake deceleration
        OSD_BUS_AEB_SPEED = 13,                  // Vehicle speed
        OSD_BUS_AEB_BACK_LONGITUDINAL_VELOCITY = 14,   // Backward longitudinal velocity
        OSD_BUS_AEB_BACK_LONGITUDINAL_DISTANCE = 15,   // Backward longitudinal distance
        OSD_BUS_AEB_BACK_LATERAL_DISTANCE = 16,        // Backward lateral distance
        OSD_BUS_AEB_BACK_FORWARD_COLLISION_TIME = 17,  // Backward collision time
        OSD_BUS_AEB_BACK_ULTRASONIC_DISTANCE = 18,     // Backward ultrasonic distance
        OSD_BUS_AEB_LEFT_LONGITUDINAL_DISTANCE = 19,   // Left longitudinal distance
        OSD_BUS_AEB_LEFT_LATERAL_DISTANCE = 20,        // Left lateral distance
        OSD_BUS_AEB_RIGHT_LONGITUDINAL_DISTANCE = 21,   // Right longitudinal distance
        OSD_BUS_AEB_RIGHT_LATERAL_DISTANCE = 22,        // Right lateral distance
    };

V1.3.10-P7

  • New Features

    1. Added mining bucket algorithm overlay function, added global variables
    2. Added AEB algorithm recognition OSD overlay function switch to improve algorithm display accuracy. After enabling, there will be 500ms algorithm synchronization wait
    3. Added intercom microphone mute/unmute function
    4. Added log level 4 - do not print any logs
  • Interface Changes

    1. Added aeb and bucket configuration switches in global configuration playerjs.config
    2. Added enableMic and disableMic methods in intercom