Skip to content

Commit

Permalink
null extentype as a way of knowing if exten info is current
Browse files Browse the repository at this point in the history
  • Loading branch information
steely-glint committed Aug 2, 2024
1 parent 2823d8f commit c1c08fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/phono/srtplight/RTPProtocolImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ protected void parsePacket(DatagramPacket dp) throws IOException {
extens = new byte[4*exlen];
pb.get(offs,extens);
offs += extens.length;
} else {
extype = null;
}
int endhead = offs;
// if padding set then last byte tells you how much to skip
Expand Down

0 comments on commit c1c08fe

Please sign in to comment.