Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
Can I send some metadata while answering a call using PeerJS?

I'm building a video calling feature using PeeJS and I am able to send metadata to a user I'm calling using the code below:

  const call = peer.call(user_id, stream, { metadata: { username: userInfo.username } });

This can be received by the receiver using the code shown below:

peer.on('call', call => {
   let callerUsername = call.metadata.username;
})

My question is how do I return the information of the receiver back to the caller when I answer the call using call.answer? I'd like to show the username of both the caller and receiver on top of the video but currently, the metadata can only be sent from the caller to the receiver.

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda