The invention relates to the technical field of vehicle machine control, and provides a vehicle machine media audio playing method, device, equipment and medium, which can start a first thread to mute a media stream and configure an invalid mark for the media stream when detecting that a Bluetooth device is connected to a vehicle machine end and a current audio strategy of the vehicle machine end receives a Bluetooth connection event. Therefore, the vehicle-mounted terminal is prevented from playing the media stream; starting a second thread to detect an invalid mark in real time, creating a new audio stream according to the media stream to obtain a target stream when the invalid mark is detected, querying a latest audio strategy by using the second thread, mounting the target stream to a corresponding playing thread in the latest audio strategy, and controlling the Bluetooth device to play the target stream by using the playing thread. Therefore, the media audio of the vehicle-mounted terminal can be played in a targeted manner through the Bluetooth device.
本发明涉及车机控制技术领域,提供一种车机媒体音频播放方法、装置、设备及介质,能够当检测到蓝牙设备连接到车机端,且车机端的当前音频策略接收到蓝牙连接事件时,启动第一线程对媒体流进行静音处理,并为媒体流配置无效标志,以避免车机端对媒体流进行播放;启动第二线程实时检测无效标志,并在检测到无效标志时根据媒体流创建新的音频流得到目标流,利用第二线程查询最新音频策略,并将目标流挂载至最新音频策略中对应的播放线程,并利用播放线程控制蓝牙设备播放目标流,从而能够以蓝牙设备针对性播放车机端的媒体音频。
Vehicle machine media audio playing method, device, equipment and medium
车机媒体音频播放方法、装置、设备及介质
2025-02-18
Patent
Electronic Resource
Chinese
IPC: | G11B Informationsspeicherung mit Relativbewegung zwischen Aufzeichnungsträger und Wandler , INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER / B60R Fahrzeuge, Fahrzeugausstattung oder Fahrzeugteile, soweit nicht anderweitig vorgesehen , VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR / H04W WIRELESS COMMUNICATION NETWORKS , Drahtlose Kommunikationsnetze |
Audio playing method and device of vehicle, equipment and medium
European Patent Office | 2025
|Audio playing method, device and equipment, storage medium and vehicle
European Patent Office | 2024
|Vehicle audio playing method and device, electronic equipment, vehicle and storage medium
European Patent Office | 2024
|European Patent Office | 2023
|Wireless communication audio and video media playing vehicle-mounted equipment
European Patent Office | 2023
|