Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • E Ezstream
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.OrgXiph.Org
  • Ezstream
  • Issues
  • #2045
Closed
Open
Issue created Sep 05, 2014 by Guillaume Quintard@gquintard

Not sending data to stdin can throw ezstream into an infinite loop

Here's the setup: first term avconv -re -i file.mp3 -c:a mp3 -f mpegts udp://127.0.0.1:1234 second term avconv -i udp://@127.0.0.1:1234 -f mp3 - | ezstream -c conf.xml

Everything works as expected, unless you kill the first command, wait for 10-15 seconds then restart it. At this point, ezstream won't resume streaming and will throw thousand of ezstream: Streaming from standard input ezstream: No (more) data available on standard input at you.

It seems the problem comes from streamFile in src/ezstream.c where the file is closed, even if stdin is in use.

Attempted patch is attached for review.

Assignee
Assign to
Time tracking