(EN) Provided are a media file downloading method and apparatus, and a terminal and a medium. The method comprises: acquiring an instant speed and an average speed of a network; determining, according to the instant speed and the average speed, whether a network speed of the network is sharply increased or sharply decreased; and if the network speed of the network is sharply increased or sharply decreased, selecting, according to a pre-stored media configuration file, a media file corresponding to a code rate and the instant speed to perform downloading. The problem of audio and videos lagging during playing or taking a relatively long time to enter an optimal playing state due to the fact that a user terminal cannot be switched, in a timely manner, to downloading of a media file corresponding to a code rate and a changed network speed when the network speed fluctuates greatly is solved.
(FR) L'invention concerne un procédé et un appareil de téléchargement descendant de fichier multimédia, et un terminal et un support. Le procédé comprend les étapes suivantes: acquérir une vitesse instantanée et une vitesse moyenne d'un réseau; déterminer, en fonction de la vitesse instantanée et la vitesse moyenne, si une vitesse de réseau du réseau est fortement augmentée ou fortement diminuée; et si la vitesse de réseau du réseau est fortement augmentée ou fortement diminuée, sélectionner, en fonction d'un fichier de configuration multimédia pré-stocké, un fichier multimédia correspondant à un débit de code et à la vitesse instantanée afin d'effectuer un téléchargement descendant. On résout ainsi le problème du retard audio et vidéo pendant la lecture ou du temps relativement long pour entrer dans un état de lecture optimal en raison du fait qu'un terminal utilisateur ne peut pas être commuté, en temps opportun, vers un téléchargement descendant d'un fichier multimédia correspondant à un débit de code et à une vitesse de réseau modifiée lorsque la vitesse de réseau fluctue considérablement.
(ZH) 本申请提供了一种媒体文件的下载方法、装置、终端和介质,其中,所述方法包括:获取网络的即时速度和平均速度;根据所述即时速度和平均速度判断所述网络的网络速度是否发生陡升或陡降;若所述网络的网络速度发生陡升或陡降,则根据预先存储的媒体配置文件选择码率与所述即时速度对应的媒体文件进行下载,解决了在网络速度发生较大波动时,用户终端无法及时切换到码率与变化后的网络速度对应的媒体文件的下载,导致音视频播放出现卡顿或者进入最佳播放状态的时间较长的问题。