missed some typos

This commit is contained in:
David Colburn
2021-12-17 13:25:41 -08:00
parent faa870de3d
commit 0b71a46239
9 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1205,7 +1205,7 @@ func (p *ParticipantImpl) configureReceiverDTX() {
// the transceivers, but there are no tracks in the
// transceiver yet
// - before calling `CreateAnswer`
// Due to the absensce of tracks when it is required to set DTX,
// Due to the absence of tracks when it is required to set DTX,
// it is not possible to cross reference against a pending track
// with the same track id.
//
+1 -1
View File
@@ -661,7 +661,7 @@ func (s *SeqWrapHandler) MaxSeqNo() uint32 {
return s.maxSeqNo
}
// unwrap seq and update the maxSeqNo. return unwraped value, and whether seq is newer
// unwrap seq and update the maxSeqNo. return unwrapped value, and whether seq is newer
func (s *SeqWrapHandler) Unwrap(seq uint16) (uint32, bool) {
maxSeqNo := uint16(s.maxSeqNo)
+3 -3
View File
@@ -319,7 +319,7 @@ func (d *DownTrack) WritePaddingRTP(bytesToSend int) int {
// LK-TODO-START
// Potentially write padding even if muted. Given that padding
// can be sent only on frame boudaries, writing on disabled tracks
// can be sent only on frame boundaries, writing on disabled tracks
// will give more options.
// LK-TODO-END
if d.forwarder.Muted() {
@@ -345,7 +345,7 @@ func (d *DownTrack) WritePaddingRTP(bytesToSend int) int {
// Hold sending padding packets till first RTCP-RR is received for this RTP stream.
// That is definitive proof that the remote side knows about this RTP stream.
// The packet count check at the beginning of this function gates sending padding
// on as yet unstarted streams which is a reasonble check.
// on as yet unstarted streams which is a reasonable check.
// LK-TODO-END
hdr := rtp.Header{
@@ -385,7 +385,7 @@ func (d *DownTrack) WritePaddingRTP(bytesToSend int) int {
// LK-TODO-START
// NACK buffer for these probe packets.
// Probably okay to absorb the NACKs for these and ignore them.
// Retransmssion is probably a sign of network congestion/badness.
// Retransmission is probably a sign of network congestion/badness.
// So, retransmitting padding packets is only going to make matters worse.
// LK-TODO-END
+1 -1
View File
@@ -628,7 +628,7 @@ func (f *Forwarder) ProvisionalAllocateGetBestWeightedTransition() VideoTransiti
// 2. Look at all possible down transitions from current target and find the best offer.
// Best offer is calculated as bits saved moving to a down layer divided by cost.
// Cost has two components
// a. Transition cost: Spatial layer switch is expensive due to key frame requiremnt, but temporal layer switch is free.
// a. Transition cost: Spatial layer switch is expensive due to key frame requirement, but temporal layer switch is free.
// b. Quality cost: The farther away from desired layers, the higher the quality cost.
//
f.lock.Lock()
+2 -2
View File
@@ -1,7 +1,7 @@
//
// Design of Prober
//
// Probing is used to to check for existence of excess channel capacity.
// Probing is used to check for existence of excess channel capacity.
// This is especially useful in the downstream direction of SFU.
// SFU forwards audio/video streams from one or more publishers to
// all the subscribers. But, the downstream channel of a subscriber
@@ -40,7 +40,7 @@
// probing window boundary as the packet forwarding path
// may not have a packet to forward. But, it should not
// be a major concern as long as some stream(s) is/are
// forwarded as there should be a packet atleast every
// forwarded as there should be a packet at least every
// 60 ms or so (forwarding only one stream at 15 fps).
// Usually, it will be serviced much more frequently when
// there are multiple streams getting forwarded.
+1 -1
View File
@@ -273,7 +273,7 @@ func TestGapInSequenceNumber(t *testing.T) {
_, ok := r.missingSNs[65533]
require.False(t, ok)
// three after last received misisng with wrap-around
// three after last received missing with wrap-around
offset, ok := r.missingSNs[65534]
require.True(t, ok)
require.Equal(t, uint16(0), offset)
+1 -1
View File
@@ -614,7 +614,7 @@ func (s *StreamAllocator) maybeCommitEstimate() (isDecreasing bool) {
// But, this bypasses the case where streaming starts on a bunch of
// tracks simultaneously (imagine a participant joining a large room
// with a lot of video tracks). In that case, it is possible that the
// channel is hitting congestion. It will caught on the next estimate
// channel is hitting congestion. It will be caught on the next estimate
// decrease.
s.lastEstimateDecreaseTime = time.Now()
isDecreasing = true
+1 -1
View File
@@ -188,7 +188,7 @@ func (v *VP8Munger) UpdateAndGet(extPkt *buffer.ExtPacket, ordering SequenceNumb
// In the case of loss (i.e. incoming sequence number is not contiguous),
// forward even if it is a filtered layer. With temporal scalability,
// it is unclear if the current packet should be dropped if it is not
// contiguous. Hence forward anything that is not contiguous.
// contiguous. Hence, forward anything that is not contiguous.
// Reference: http://www.rtcbits.com/2017/04/howto-implement-temporal-scalability.html
extMungedPictureId := extPictureId - v.pictureIdOffset
mungedPictureId := uint16(extMungedPictureId & 0x7fff)
+1 -1
View File
@@ -34,7 +34,7 @@ func Test_TelemetryService_Downstream_Stats(t *testing.T) {
totalBytes := 33
fixture.sut.OnDownstreamPacket(partSID, totalBytes)
// call participant left to trigget sending of analytics
// call participant left to trigger sending of analytics
fixture.sut.ParticipantLeft(context.Background(), room, participantInfo)
time.Sleep(time.Millisecond * 100) // wait for Update function to be called in go routine