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

371
Vistas
Use las API dentro de la ventana acoplable para Jitsi

Soy autohospedador de Docker con jitsi y ahora estoy implementando la API de jitsi-meet ( https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ljm-api ).

Aquí está mi código JS para la configuración de la conexión:

 /* global $, JitsiMeetJS */ let connection; const options = { hosts: { domain: 'myTest.jitsi.conf', muc: 'conference.myTest.jitsi.conf' }, bosh: '//myTest.jitsi.conf:8443/http-bind' }; const confOptions = { openBridgeChannel: true }; JitsiMeetJS.init(); connection = new JitsiMeetJS.JitsiConnection(null, null, options); function onConnectionSuccess() { console.log("onConnectionSuccess") const room = connection.initJitsiConference("conference", confOptions); room.on(JitsiMeetJS.events.conference.TRACK_ADDED, onRemoteTrack); room.on(JitsiMeetJS.events.conference.CONFERENCE_JOINED, onConferenceJoined); room.join(); } function onConnectionFailed() { console.log("onConnectionFailed") } function disconnect() { console.log("disconnect") } function onRemoteTrack() { console.log("onRemoteTrack") } function onConferenceJoined() { console.log("onConferenceJoined") } connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_FAILED, onConnectionFailed); connection.addEventListener( JitsiMeetJS.events.connection.CONNECTION_DISCONNECTED, disconnect); connection.connect(); JitsiMeetJS.createLocalTracks().then(onLocalTracks);

Y el env de mi ventana acoplable se ha configurado de esta manera. Sin embargo, los oyentes que se crean dentro del archivo js no se llaman en absoluto. ¿Qué estoy haciendo mal?

 # Directory where all configuration will be stored CONFIG=~/.jitsi-meet-cfg # Exposed HTTP port HTTP_PORT=8000 # Exposed HTTPS port HTTPS_PORT=8443 # System time zone TZ=UTC # Public URL for the web service (required) PUBLIC_URL=https:///myTest.jitsi.conf/ # IP address of the Docker host # See the "Running behind NAT or on a LAN environment" section in the Handbook: # https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker#running-behind-nat-or-on-a-lan-environment #DOCKER_HOST_ADDRESS=192.168.1.1
about 4 years ago · Juan Pablo Isaza
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