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.
Vous n'êtes pas connecté. Se connecter pour publier une réponse.
Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.