New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 846976 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

RTCDataChannelInit maxRetransmits = null causes channel to act as if it were unreliable.

Reported by useru...@gmail.com, May 26 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce the problem:
Create a WebRTC DataChannel with maxRetransmits set to null.

Send messages through that channel and make sure there's some amount of UDP packet loss.

What is the expected behavior?
According to MDN, the default of maxRetransmits is null, and means the datachannel should act as a reliable channel.

What went wrong?
Some datachannel messages never arrive and are lost, acting as if the channel had maxRetransmits set to 0.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: Version 66.0.3359.181 (Official Build) (64-bit)  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 29.0 r0
 
Labels: Needs-Triage-M66
Labels: Triaged-ET Needs-Feedback
@Reporter: Please provide sample URL/test case to test this issue from TE end. Any further information on reproducing the issue would help in further triaging of this.

Thanks!

Comment 3 by useru...@gmail.com, May 28 2018

I've realized that this can be tested without the need to simulate packet loss by simply reading the maxRetransmit property of the created datachannel.

https://jsfiddle.net/srxnsyom/1/

This jsfiddle showcases the problem, null and undefined should behave in the same way.
Project Member

Comment 4 by sheriffbot@chromium.org, May 28 2018

Cc: sindhu.chelamcherla@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by guidou@chromium.org, May 29 2018

Components: -Blink>WebRTC Blink>WebRTC>PeerConnection
Owner: hbos@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment