diff options
author | Joshua Colp <jcolp@digium.com> | 2013-10-02 15:33:56 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2013-10-02 15:33:56 +0000 |
commit | 424c0f2eb7ff45a06a21b2d81532ac49e24e8b60 (patch) | |
tree | e0b1110fbc2bf1728039fbeb4e97a0369bc96bfc /tests/test_scoped_lock.c | |
parent | 83d55f85ec017073802817d11bd337f74a0d2db8 (diff) |
Fix a random one way audio issue in PJSIP.
Due to the asynchronous design of the PJMEDIA SDP negotiator it was possible for
the SDP to be negotiated *after* a channel was created and after it was being wait
on by an application. It is only after negotiation occurs that the file descriptors
for RTP are placed on the channel. Since the channel was already being waited on
these file descriptors were not monitored, causing incoming media to never be read.
This change wakes up any application waiting on the channel so that added file
descriptors end up being monitored.
(closes issue AST-1227)
Reported by: John Bigelow
........
Merged revisions 400256 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_scoped_lock.c')
0 files changed, 0 insertions, 0 deletions