fix: remove rtp from state when fusion successfully

This commit is contained in:
chaoc
2023-12-07 17:15:11 +08:00
parent 4179a0a887
commit 6d77d1c3c0

View File

@@ -83,6 +83,7 @@ public class VoIPFusionFunction extends KeyedCoProcessFunction<Tuple2<Integer, A
rtpRecord.merge(sipObj)
.setString(Record.F_COMMON_SCHEMA_TYPE, SchemaType.VOIP.getValue());
out.collect(rtpObj);
iterator.remove();
switch (entry.getKey()) {
case S2C: