webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

Deletion of existing sample_builder implementation codes

Open midepeter opened this issue 2 years ago • 6 comments

This commit deletes the existing implementation of sample builder and replaces with raw jech implementation. No further modification has been made in this commit.

Description

Reference issue

Fixes #...

midepeter avatar Sep 25 '23 16:09 midepeter

Codecov Report

Attention: 75 lines in your changes are missing coverage. Please review.

Comparison is base (eed2bb2) 76.47% compared to head (fda9a22) 63.33%.

:exclamation: Current head fda9a22 differs from pull request most recent head 3913677. Consider uploading reports for the commit 3913677 to get more accurate results

Files Patch % Lines
pkg/media/samplebuilder/samplebuilder.go 73.95% 52 Missing and 23 partials :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2591       +/-   ##
===========================================
- Coverage   76.47%   63.33%   -13.15%     
===========================================
  Files          87       63       -24     
  Lines        9867     3758     -6109     
===========================================
- Hits         7546     2380     -5166     
+ Misses       1854     1229      -625     
+ Partials      467      149      -318     
Flag Coverage Δ
go ?
wasm 63.33% <73.95%> (-1.22%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 25 '23 16:09 codecov[bot]

@Sean-Der I made this draft push to show the state before i start making necessary additions and other iterations

@jech Could you also be a reviewer to this.

midepeter avatar Sep 26 '23 10:09 midepeter

You've removed the tests? I don't agree, I think you should leave the tests. That way, when we adjust the tests, we know exactly how much the behaviour of the samplebuilder has changed, and we can decide whether the changes are acceptable or whether we should tweak the new samplebuilder.

jech avatar Sep 28 '23 15:09 jech

@midepeter why is this being committed with you as the author? Since I am the author of the code, I would expect to be credited. Please use the --author flag to the git command to properly credit me as the author.

jech avatar Oct 13 '23 14:10 jech

@jech oh, I will do that

sorry about that. This literally my first time in the open source space

I will do that. Apologies

midepeter avatar Oct 13 '23 16:10 midepeter

Hey, I gave this a go and found two issues:

  1. You've removed some functionality like WithMaxTimeDelay but the options silently apply. I'm assuming this is what you meant when you said "to show the state before i start making necessary additions and other iterations"
  2. If the first few packets sent are padding packets, then no packets are processed until the padding packets end up being dropped when maxLate is hit.

SerialVelocity avatar Jan 31 '24 01:01 SerialVelocity

Replaced with https://github.com/pion/webrtc/pull/2679

Sean-Der avatar Mar 18 '24 23:03 Sean-Der