[FlexFec] Adding FlexFec Flex variant encoder implementation #634
Annotations
10 errors and 10 warnings
golangci-lint:
pkg/flexfec/flexfec_encoder.go#L121
Error return value of `mediaPacket.MarshalTo` is not checked (errcheck)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L63
assignOp: replace `b = b << uint(startBit)` with `b <<= uint(startBit)` (gocritic)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L69
assignOp: replace `result = result & (1<<uint(j-i+1) - 1)` with `result &= (1<<uint(j-i+1) - 1)` (gocritic)
|
golangci-lint:
pkg/flexfec/flexfec_encoder.go#L38
unslice: could simplify mediaPackets[:] to mediaPackets (gocritic)
|
golangci-lint:
pkg/flexfec/flexfec_coverage.go#L15
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
pkg/flexfec/flexfec_coverage.go#L69
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
pkg/flexfec/flexfec_encoder.go#L13
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
pkg/flexfec/flexfec_coverage.go#L95
unnecessary conversion (unconvert)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L4
ST1000: at least one file in a package should have a package comment (stylecheck)
|
golangci-lint:
pkg/flexfec/flexfec_encoder.go#L4
ST1000: at least one file in a package should have a package comment (stylecheck)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L8
exported: exported type MediaPacketIterator should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L14
exported: exported function NewMediaPacketIterator should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L22
exported: exported method MediaPacketIterator.Reset should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L6
exported: exported type BitArray should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L10
exported: comment on exported function NewBitArray should be of the form "NewBitArray ..." (revive)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L27
exported: exported method MediaPacketIterator.HasNext should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L31
exported: exported method MediaPacketIterator.Next should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L25
exported: exported method BitArray.SetBit should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/bitarray.go#L37
exported: exported method BitArray.GetBit should have comment or be unexported (revive)
|
golangci-lint:
pkg/flexfec/util/media_packet_iterator.go#L40
exported: exported method MediaPacketIterator.First should have comment or be unexported (revive)
|
The logs for this run have expired and are no longer available.
Loading