Opened 12 years ago

Closed 12 years ago

#1447 closed defect (fixed)

Infinite loop in switchboard when sound device ptime is lower than call stream ptime (thanks SvenÅke for the report)

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.14
Component: pjmedia Version: 1.x-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Steps to reproduce with pjsua sample app:

  1. run pjsua (that uses switchboard) with option "--ptime=60 --clock-rate=8000"
  2. connect ring/ringback port to sound device port, e.g: "cc 2 0"
  3. make call with codec that uses 8000Hz/20ms/mono

Change History (1)

comment:1 Changed 12 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

(In [3941]) Fix #1447: fix internal function write_frame() of the switchboard to copy the whole source frame to the destination port buffer if the destination port is port 0 (previously it only copied as much as samples-per-frame of port 0).

Note: See TracTickets for help on using tickets.