This patch adds in another type of RTP control packet, the IntraFrameRequest (see RFC2032) for use with SIP video rtp sessions, and adds a command notifier to the OpalRTPMediaStream class. The SIP_RTP_Session sees incoming IntraFrameRequests and alerts the encoding stream.
If a video decoder indicates it wants an IFrame, the command notifier will see the OpalVideoUpdatePicture media command, and tell the OpalRTPMediaStream to send an IntraFrameRequest control packet.
Affected files:
src/rtp/rtp.cxx
src/sip/sipcon.cxx
src/opal/mediastrm.cxx
src/codec/opalpluginmgr.cxx
include/rtp/rtp.h
include/sip/sipcon.h
include/opal/mediastrm.h
The patch applies for current opal CVS. It was tested and proven working for Opal CVS circa a month ago with the MPEG4 plugin. Testing with current Opal+PWLib was ineffective as I encountered problems with the new video backend (buggy camera drivers on my end).
Patch for fast video updates over sip
Logged In: YES
user_id=774109
Originator: NO
Applied