Ticket #1476 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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) (diff)

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

comment:1 Changed 6 years ago by nanang

  • Description modified (diff)

comment:2 Changed 6 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 6 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 6 years ago by bennylp

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