hookehuyr

fix(useVideoPlayer): 调整流量警告阈值为1000MB以优化蜂窝网络体验

...@@ -311,7 +311,8 @@ export function useVideoPlayer(props, emit, videoRef, nativeVideoRef) { ...@@ -311,7 +311,8 @@ export function useVideoPlayer(props, emit, videoRef, nativeVideoRef) {
311 const isOnWifi = computed(() => networkKind.value === 'wifi'); 311 const isOnWifi = computed(() => networkKind.value === 'wifi');
312 const isOnCellular = computed(() => networkKind.value === 'cellular'); 312 const isOnCellular = computed(() => networkKind.value === 'cellular');
313 313
314 - const trafficWarnThresholdBytes = 200 * 1024 * 1024; 314 + // 8. 流量警告逻辑
315 + const trafficWarnThresholdBytes = 1000 * 1024 * 1024;
315 316
316 const needTrafficWarn = computed(() => { 317 const needTrafficWarn = computed(() => {
317 if (isOnWifi.value) return false; 318 if (isOnWifi.value) return false;
......