Ticket #163 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Bug in pjmedia_stream_resume() not resuming the stream (thanks PurnaChandar and Carmine)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.5.10.2
Component: pjmedia Version: 0.5.10.1
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

There is a bug in pjmedia_stream_resume(), it sets the paused flag to 1 while it should reset it to zero!!

While were at it, also fix the following:

  • when pjmedia_stream_pause() is called, jitter buffer should be reset so that any left-over frames will be cleared (otherwise it would be played next time pjmedia_stream_resume() is called).
  • during pause state, any incoming RTP packets should not be put in the jitter buffer.

Change History

comment:1 Changed 11 years ago by bennylp

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

Fixed in r1047.

Note: See TracTickets for help on using tickets.