From 53ba09844e56e18d1085e8875028d11c5f445e99 Mon Sep 17 00:00:00 2001 From: Moritz Heidkamp Date: Thu, 10 Oct 2024 20:52:56 +0200 Subject: [PATCH] Log passed in ptype rather than _ptype member in sendPacket --- src/main/java/com/phono/srtplight/RTPProtocolImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/phono/srtplight/RTPProtocolImpl.java b/src/main/java/com/phono/srtplight/RTPProtocolImpl.java index 646548c..022b637 100644 --- a/src/main/java/com/phono/srtplight/RTPProtocolImpl.java +++ b/src/main/java/com/phono/srtplight/RTPProtocolImpl.java @@ -218,10 +218,10 @@ public void sendPacket(byte[] data, long stamp, char seqno, int ptype, boolean m appendAuth(payload); sendToNetwork(payload); - Log.verb("sending RTP " + _ptype + " packet length " + payload.length + "seq =" + (int) seqno + " csrc=" + _csrcid + " stamp=" + stamp); + Log.verb("sending RTP " + ptype + " packet length " + payload.length + "seq =" + (int) seqno + " csrc=" + _csrcid + " stamp=" + stamp); } catch (IOException ex) { _lastx = ex; - Log.error("Not sending RTP " + _ptype + "ex = " + ex.getMessage()); + Log.error("Not sending RTP " + ptype + "ex = " + ex.getMessage()); throw ex; }