how to get StreamName on onRTPSessionDestroy

I have tried
rtpSession.getRTSPStream().getStreamName()

but rtpSession.getRTSPStream() is always null