-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Receiver not send RtcpRr
#1273
Comments
RTCP RRs are sent by |
Thanks for your reply, I already added the auto video_recv_session = std::make_shared<rtc::RtcpReceivingSession>();
video_track_->setMediaHandler(video_recv_session ); |
OK, then please check you send Sender Reports on sender side, currently it waits for SR to send RR. It can be done with |
Is the The |
Yes it is, that is something which should be fixed. However, you did not answer my question, does the SFU send RTCP SRs? |
No. After some digging, the SFU actually wait for the receiver to send RR first then reponse SR to the receiver, |
I too am curious about this issue. For me, my sender side also doesn't send any RTCP SR it seems, and I'm trying to connect to it and receive a video stream with LibDataChannel. How can I manually send these reports. Do I need to call |
I am not sure this is the correct way to do, the function Here is what I did to send video_track_->onOpen([this]() {
auto handler = video_track_->getMediaHandler();
auto video_session = std::dynamic_pointer_cast<rtc::RtcpReceivingSession>(handler);
if (video_session != nullptr) {
if (!video_rr_sent_.load()) {
video_session->pushRR(
[this](rtc::message_ptr message) {
video_track_->send(std::move(message));
video_rr_sent_.store(true); // mark as sent
}, 0);
}
}
}); |
I am using a modified version of
media-receiver/main.cpp
to receive media stream from a SFU, the media datareceived successfully, but when I use wireshark to capture the traffic, I can not found any RTCP packet to the server, is this an issue or do I need send the
RtcpRr
manually?Here is my sdp:
The text was updated successfully, but these errors were encountered: