Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCP CC Feedback payload type value? #17

Open
saikrishnareddykovvuri opened this issue May 29, 2019 · 8 comments
Open

RTCP CC Feedback payload type value? #17

saikrishnareddykovvuri opened this issue May 29, 2019 · 8 comments

Comments

@saikrishnareddykovvuri
Copy link

In mentioned version 2 of avtcore-cc-feedback draft the PT in feed back is mentioned as 205.

But in code gstreamer plugin code is creating the feedback as 205 which was proper. But the streamRX file outside the gstreamer module creating feedback with PT 207.

https://github.com/EricssonResearch/scream/blob/master/code/ScreamRx.cpp

Are the files present outside the gstreamer module uptodate? Can we use the files outside the gstreamer to integrate in the application?

@sdroege
Copy link

sdroege commented May 31, 2019

From what I can see, the only difference is the RTCP packet type. 205 (RTPFB) vs. 207 (XR). The code outside the gstreamer module already uses the correct type (XR).

RFC8298 mentions usage of XR, and so does draft-ietf-rmcat-scream-cc-13. draft-ietf-avtcore-cc-feedback-message-03 indeed mentions RTPFB but I don't think the code here currently implements the avtcore-cc-feedback-message signalling, or draft-holmer-rmcat-transport-wide-cc-extensions-01.

So from what I understand, the GStreamer code using RTPFB is wrong and it should be XR like in the code outside the GStreamer module until the generalized the generalized feedback messages are implemented.

@saikrishnareddykovvuri
Copy link
Author

saikrishnareddykovvuri commented May 31, 2019

From my observation. Even we are generating XR(207) packet, it is not included the Packet Receipt Times Report header. when i captured the pcap and verified the feedback XR structure it was showing as malformed.

Screenshot 2019-05-31 at 2 48 55 PM

When i looked in the streamRX.cpp

stream->getStandardizedFeedback(time_ntp, &buf[ptr], size_stream); is generating block payload without header and appending directly to the RTCP header.

As we are trying to note, the reception times of RTP packets. According to XR standard
https://tools.ietf.org/html/rfc3611#section-4.3

all the timestamps which we are transmitting in XR block type 3 from above are 32 bit long. But in screamRX they are in 16bit.

Is the screamRX, generating feedback, XR standard?

@IngJohEricsson
Copy link
Contributor

Hi
Thanks for the review.

The code implements https://tools.ietf.org/html/draft-ietf-avtcore-cc-feedback-message-02 , and this implies PT=205 (RTPFB). I see that the PT in https://github.com/EricssonResearch/scream/blob/master/code/gscream/gst-gscreamrx/gst-plugin/src/ScreamRx.cpp use the correct PT value. The code in https://github.com/EricssonResearch/scream/blob/master/code/gscream/gst-gscreamrx/gst-plugin/src/gstgscreamrx.cpp#L381 also use RTPFB. One possible error is that I have not set FMT correctly , it is currently zero.

With that said.. https://github.com/EricssonResearch/scream/blob/master/code/ScreamRx.cpp actually use PT=207, which is wrong. I will fix this. You may notice that these modules are duplicates, I will merge these later on to reduce the risk of confusion.

/Ingemar

@saikrishnareddykovvuri
Copy link
Author

Hi
Thanks for the information.

As we are using PT=205(RTPFB). According to RFC 4585 FMT value is defined as 1 for Generic NACK.

As scream implemented https://tools.ietf.org/html/draft-ietf-avtcore-cc-feedback-message-02. It has mention FMT as CCFB, what is the value for CCFB. i searched for the value but unable to find anywhere.

@iampeteandrews
Copy link

@saikrishnareddykovvuri or @sdroege /

can you share the gstreamer pipes (tx/rx) and network configs that you're testing with?
i think my problem (in the thread i started) may be related to this issue.

thanks!

-pete

@saikrishnareddykovvuri
Copy link
Author

Hi @iampeteandrews

Unfortunately i am not using gstreamer. I am working with only the necessary files, integrated into another application and testing. So i can not provide any info related gstreamer. Can you point me to the thread which you started so that i can have a look.

@iampeteandrews
Copy link

@saikrishnareddykovvuri -
thanks...here's my thread:
#16

-pete

@IngJohEricsson
Copy link
Contributor

IngJohEricsson commented Jun 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants