diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp index c4537905..0735d27f 100644 --- a/core/AmRtpStream.cpp +++ b/core/AmRtpStream.cpp @@ -1238,7 +1238,11 @@ void AmRtpStream::disableRawRelay() DBG("disabled RAW relay for RTP stream instance [%p]\n", this); relay_raw = false; } - + +bool AmRtpStream::isRawRelayed() { + return relay_raw; +} + void AmRtpStream::setRtpRelayTransparentSeqno(bool transparent) { DBG("%sabled RTP relay transparent seqno for RTP stream instance [%p]\n", transparent ? "en":"dis", this); diff --git a/core/AmRtpStream.h b/core/AmRtpStream.h index 26a2c693..38868245 100644 --- a/core/AmRtpStream.h +++ b/core/AmRtpStream.h @@ -499,6 +499,9 @@ public: /** disable raw UDP relaying through relay stream */ void disableRawRelay(); + /** Check raw UDP relaying through relay stream */ + bool isRawRelayed(); + /** enable or disable transparent RTP seqno for relay */ void setRtpRelayTransparentSeqno(bool transparent);