Calculate writable state over both RTP and RTCP
Patch from andrey.semashev@gmail.com Bug: webrtc:9424 Change-Id: I5f1378bbd9c7c371a3136b97edb5faa7d1127a82 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191760 Reviewed-by: Taylor <deadbeef@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32698}
This commit is contained in:

committed by
Commit Bot

parent
b1f929cd8f
commit
c9a09859fc
@ -268,7 +268,7 @@ void SrtpTransport::OnNetworkRouteChanged(
|
||||
|
||||
void SrtpTransport::OnWritableState(
|
||||
rtc::PacketTransportInternal* packet_transport) {
|
||||
SignalWritableState(IsWritable(/*rtcp=*/true) && IsWritable(/*rtcp=*/true));
|
||||
SignalWritableState(IsWritable(/*rtcp=*/false) && IsWritable(/*rtcp=*/true));
|
||||
}
|
||||
|
||||
bool SrtpTransport::SetRtpParams(int send_cs,
|
||||
|
Reference in New Issue
Block a user