Opened 13 years ago

Closed 13 years ago

#1476 closed defect (fixed)

Control video packets send rate (thanks Faba Aa for the feedback)

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

Description (last modified by nanang)

As described here:

When generate a keyframe, vid_stream will try to send out the data
as soon as possible, the peak bandwidth may over ADSL's capability
even if the average video bps is suitable for ADSL. Under this
situation, ISP will drop data. I think we need to control send rate
to avoid this.

Change History (4)

comment:1 Changed 13 years ago by nanang

  • Description modified (diff)

comment:2 Changed 13 years ago by nanang

(In [4043]) Re #1476: Initial version of send rate control in video stream, added simple blocking method (block application thread to make send delay when delay is needed).

comment:3 Changed 13 years ago by bennylp

(In [4059]) Re #1476: for simple blocking, the bandwidth typically needs to be set to larger value than the avg_bitrage, otherwise the simple_blocking will slow down the transmission too much, causing video and audio unsync. This patch force the bandwidth to at least three times avg_bps

comment:4 Changed 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.