AWS IVS Broadcast (Web - SP) - Switch camera front/back

0

AWS IVS Broadcast SDK (Web) version 1.5.0 We tried to start the broadcast and then switched the front camera to the back camera by using the code below:

const videoConstraints: MediaTrackConstraints = {
    ...,
    facingMode: isFacingMode ?  'user'  :  'environment',
  }

Ref: https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/facingMode It only worked in IOS >= 16.4 and didn't work in android and IOS < 16.4.

kc3
질문됨 9달 전61회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠