Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Audio inboud streaming not woking

Abierto
#290 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

The issue names no repository file, test, or entry point; start by reviewing the shown WebSocket playAudio JSON and the Plivo inbound audio streaming documentation. Reproduce the missing output with the μ-law and X-L16 packets, then document a confirmed packet format problem or a repository-side change with a testable completion condition.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi, I’m Sanjay.

I’m working on inbound audio streaming for my AI calling agent. The audio input is working correctly, but the audio output is not. I'm sending audio output JSON packets to the WebSocket using μ-law encoding at an 8000 sample rate, but the receiver isn't getting any audio. I identified the issue as being on Plivo's side. I also tried using a different codec, such as X-L16 with the same sample rate, but it still didn’t work. Here is my output packet code:

payload = base64.b64encode(audio).decode("utf-8")
data = {
    "event": "playAudio",
    "media": {
        "contentType": "audio/x-mulaw",
        "sampleRate": 8000,
        "payload": payload
    }
}
websocket.send(json.dumps(data))

Please review this and let me know if I have made any mistakes

Lenguaje dominante
Python
Estrellas
69
Forks
68
Merge medio
2 d 5 h
PR fusionados (30 d)
1

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de plivo/plivo-python

Todos los issues de plivo/plivo-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.