Skip to content

Commit

Permalink
Calculate writable state over both RTP and RTCP
Browse files Browse the repository at this point in the history
Patch from [email protected]

Bug: webrtc:9424
Change-Id: I5f1378bbd9c7c371a3136b97edb5faa7d1127a82
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191760
Reviewed-by: Taylor <[email protected]>
Commit-Queue: Harald Alvestrand <[email protected]>
Cr-Commit-Position: refs/heads/master@{#32698}
  • Loading branch information
Harald Alvestrand authored and Commit Bot committed Nov 26, 2020
1 parent b1f929c commit c9a0985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pc/srtp_transport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c9a0985

Please sign in to comment.