Skip to content
Snippets Groups Projects
Commit a6fc06b6 authored by Eloi Bail's avatar Eloi Bail Committed by Guillaume Roguez
Browse files

media/video: disable key frame SIP-INFO request

If a keyframe request is never answered, a timeout is reached
and the call failed.
As keyframe requests are transmit over UDP, they are too easily dropped,
on connection like wifi.

This feature is not mandatory for communication and until we found
a better solution this patch disables the request.

Change-Id: I3d5e8d0e3d0119db52fbfc0f37ce2949224b1806
Tuleap: #167
parent 517c25f3
Branches
No related tags found
No related merge requests found
...@@ -130,7 +130,10 @@ void VideoRtpSession::startReceiver() ...@@ -130,7 +130,10 @@ void VideoRtpSession::startReceiver()
receiveThread_.reset( receiveThread_.reset(
new VideoReceiveThread(callID_, receive_.receiving_sdp) new VideoReceiveThread(callID_, receive_.receiving_sdp)
); );
/* ebail: keyframe requests can lead to timeout if they are not answered.
* we decided so to disable them for the moment
receiveThread_->setRequestKeyFrameCallback(&SIPVoIPLink::enqueueKeyframeRequest); receiveThread_->setRequestKeyFrameCallback(&SIPVoIPLink::enqueueKeyframeRequest);
*/
receiveThread_->addIOContext(*socketPair_); receiveThread_->addIOContext(*socketPair_);
receiveThread_->startLoop(); receiveThread_->startLoop();
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment