ensure we are in session accepted when processing content-modify
This commit is contained in:
parent
01b44948c1
commit
3350ea8b5b
|
@ -563,7 +563,10 @@ public class JingleRtpConnection extends AbstractJingleConnection
|
|||
}
|
||||
|
||||
private void receiveContentModify(final JinglePacket jinglePacket) {
|
||||
// TODO check session accepted
|
||||
if (this.state != State.SESSION_ACCEPTED) {
|
||||
terminateWithOutOfOrder(jinglePacket);
|
||||
return;
|
||||
}
|
||||
final Map<String, Content.Senders> modification =
|
||||
Maps.transformEntries(
|
||||
jinglePacket.getJingleContents(), (key, value) -> value.getSenders());
|
||||
|
|
Loading…
Reference in a new issue