Draft: draft-ietf-rtcweb-jsep

Commentary: Fixes 
 LGTM 
 I made a bunch of edits to cover how the different types of RTCP packets should be handled , including compound RTCP packets . I also tweaked the RTP text slightly to be more consistent with the RTCP text . PTAL . 
 can you take a look ? 
 LGTM 
 Fixed by 
 If the RTCP SDES has a MID value , update the SSRC mapping table for that SSRC to map to the receiver associated with that MID 
 This LGTM
Paragraph (version A):
Construct a table mapping SSRC to RtpReceiver for each RtpReceiver
configured to receive from this transport and for each SSRC that
RtpReceiver is configured to receive.  Some of the SSRCs may be
presesnt in the m= section corresponding to that RtpReceiver in
the remote description.
Paragraph (version B):
Construct a table mapping incoming SSRC to RtpReceiver for each
RtpReceiver configured to receive from this transport and for each
SSRC that RtpReceiver is configured to receive.  Some of the SSRCs
may be present in the m= section corresponding to that RtpReceiver
in the remote description.
Paragraph (version B):
Construct a table mapping outgoing SSRC to RtpSender for each
RtpSender configured to transmit from this transport and for each
SSRC that RtpSender is configured to use when sending.
Paragraph (version A):
If the packet has a MID and that MID is in the table mapping MID
to RtpReceiver, update the SSRC mapping table to include an entry
mapping the packet's SSRC to the RtpReceiver.
Paragraph (version A):
If the packet's SSRC is in the SSRC mapping table, route the
packet to the mapped RtpReceiver and stop.
Paragraph (version A):
If the packet's payload type is in the payload type table, update
the the SSRC mapping table to include an entry mapping the
packet's SSRC to the RtpReceiver.  Deliver the packet to the
RtpReceiver and stop.
Paragraph (version A):
After packets are routed to the RtpReceiver, further processing of
the RTP packets is done at the RtpReceiver level.  This includes
using I-D.ietf-mmusic-rid to determine which RTP streams depend on or
repair other RTP streams.
Paragraph (version B):
If the packet has a MID and that MID is in the table mapping MID
to RtpReceiver, update the incoming SSRC mapping table to include
an entry that maps the packet's SSRC to the RtpReceiver for that
MID.
Paragraph (version B):
If the packet's SSRC is in the incoming SSRC mapping table,
deliver the packet to the associated RtpReceiver and stop.
Paragraph (version B):
If the packet's payload type is in the payload type table, update
the the incoming SSRC mapping table to include an entry that maps
the packet's SSRC to the RtpReceiver for that payload type.  In
addition, deliver the packet to the associated RtpReceiver and
stop.
Paragraph (version B):
If the packet is of type SR, and the sender SSRC for the packet is
found in the incoming SSRC table, deliver a copy of the packet to
the RtpReceiver associated with that SSRC.  In addition, for each
report block in the report whose SSRC is found in the outgoing
SSRC table, deliver a copy of the RTCP packet to the RtpSender
associated with that SSRC.
Paragraph (version B):
If the packet is of type RR, for each report block in the packet
whose SSRC is found in the outgoing SSRC table, deliver a copy of
the RTCP packet to the RtpSender associated with that SSRC.
Paragraph (version B):
If the packet is of type BYE, for each SSRC indicated in the
packet that is found in the incoming SSRC table, deliver a copy of
the packet to the RtpReceiver associated with that SSRC.
Paragraph (version B):
If the packet is of type RTPFB or PSFB, as defined in RFC4585, and
the media source SSRC for the packet is found in the outgoing SSRC
table, deliver the packet to the RtpSender associated with that
SSRC.
Paragraph (version B):
After packets are routed to the RtpReceiver, further processing of
the RTP packets is done at the RtpReceiver level.  This includes
using I-D.ietf-mmusic-rid to distinguish between multiple Encoded
Streams, as well as determine which Source RTP stream should be
repaired by a given Redundancy RTP stream.  If the RTP packet's PT
does not match any codec in use by the RtpReceiver, the packet will
be dropped.