Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

143
Visualizações
videoTileWasRemoved() not being called after stopVideoInput() is called

When I call stopVideoInput() by clicking a button, on my side the video stops, but on the remote side the video just freezes instead of turning off completely. Using Chime SDK v3.

 videoTileDidUpdate(tileState: VideoTileState): void {
        const videoElementId = tileState.localTile ? "local-video" : "remote-video";
        const videoElement: HTMLVideoElement = this.domElement(videoElementId);
    
 

      if (videoElement) {
              console.info("binding video element: " + videoElementId);
              this._audioVideo.bindVideoElement(tileState.tileId, videoElement);
            } else {
              console.error(videoElementId + " video not found");
            }
          }
        
    
          videoTileWasRemoved(tileId: number) {
            console.log("videoTileWasRemoved...");
            this._audioVideo.unbindVideoElement(tileId);
          }
    

stopVideoInput is called here

          endCamera(): void {
            this.av.stopVideoInput();
          }
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

When you call stopVideoInput, only videoTileDidUpdate will get called with the inactive tile state. Chime SDK is reusing the same local tile object when you restart it by calling startLocalVideoTile.

videoTileDidUpdate: tileState => {
   if (tileState.localTile) {
     // tileState.active will be false when you call stopLocalVideoTile
   }
}

videoTileWasRemoved gets invoked when you call removeLocalVideoTile. Chime SDK will remove the local video tile. Please review the "Stop sharing your video" example in: AWS Chime SDK - Video

Source: AWS Chime SKD GitHub

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda