AgoraIO-Community / AgoraWebSDK-NG

The Next Generation of Agora Web SDK
https://agoraio-community.github.io/AgoraWebSDK-NG/
161 stars 75 forks source link

The camera light still on after I close video track on the Safari #129

Open DmitriEryomin opened 3 years ago

DmitriEryomin commented 3 years ago

Describe the bug

The camera light still on after I close video track on the Safari version 14.0.3 (16610.4.3.1.4). In Chrome version 89.0.4389.90 and Firefox version 86.0.1 all works fine

Core dependencies

"agora-rtc-sdk-ng": "^4.1.0", "@angular/core": "^11.0.5", "@angular/platform-browser": "^11.0.5", "@angular/platform-browser-dynamic": "^11.0.5",

SDK Logs

[Log] 18:29:36:867 Agora-SDK [DEBUG]: – "[track-track-4da4cd4d] stop video playback" (default~modules-doctor-modules-consultation-consultation-module~modules-user-modules-consultation-co~7da8ce75.js, line 10022) [Log] 18:29:36:877 Agora-SDK [DEBUG]: – "[track-4da4cd4d] close" (default~modules-doctor-modules-consultation-consultation-module~modules-user-modules-consultation-co~7da8ce75.js, line 10022) [Log] 18:29:36:887 Agora-SDK [DEBUG]: – "[track-4da4cd4d] video-element-status change playing => abort" (default~modules-doctor-modules-consultation-consultation-module~modules-user-modules-consultation-co~7da8ce75.js, line 10022) [Log] 18:29:36:889 Agora-SDK [DEBUG]: – "[track-4da4cd4d] video-element-status change abort => emptied" (default~modules-doctor-modules-consultation-consultation-module~modules-user-modules-consultation-co~7da8ce75.js, line 10022)

Channel:
35162877-a839-4336-bff3-0caaea5d6308 UID:
82275173-9090-4a3f-982a-8f1aef58a6c8

Platform and Browser:
macOS Big Sur version 11.2.2 Safari version 14.0.3 (16610.4.3.1.4) SDK Version: AgoraWebSDK_N-v4.2.1-0-gf505b57

To Reproduce

Steps to reproduce the behavior:

  1. Open Safari
  2. Allow camera/microphone access
  3. Call video track close method
  4. Camera light steel on