Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollback to v1 #227

Merged
merged 49 commits into from
Jun 14, 2023
Merged

Rollback to v1 #227

merged 49 commits into from
Jun 14, 2023

Commits on Jun 12, 2023

  1. Configuration menu
    Copy the full SHA
    0fbc63c View commit details
    Browse the repository at this point in the history
  2. Update CI configs to v0.5.4

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    bf2aefd View commit details
    Browse the repository at this point in the history
  3. Make VP8 PictureID optional

    In RFC 7741, PictureID is not mandatory and
    required only if SLI is used.
    at-wat authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    f47bfc0 View commit details
    Browse the repository at this point in the history
  4. Update CI configs to v0.5.6

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    0100edd View commit details
    Browse the repository at this point in the history
  5. Add Z bit to VP9 unmarshaller

    This was added in draft-ietf-payload-vp9-10.
    jech authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1b9ca0b View commit details
    Browse the repository at this point in the history
  6. Update CI configs to v0.5.9

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    e242a64 View commit details
    Browse the repository at this point in the history
  7. Implement a H265/HEVC packet decoder

    Relates to pion#87
    Antonito authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    773f1c5 View commit details
    Browse the repository at this point in the history
  8. Make MTU a uint16

    A MTU can never be negative so this removes a class of runtime errors.
    metaclips authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    6e439c5 View commit details
    Browse the repository at this point in the history
  9. Pack SPS and PPS in one STAP-A packet

    Chrome need SPS and PPS in one STAP-A, and
    timestamp of STAP-A should be same with next
    I-Frame. Otherwise Chrome will discard SPS and PPS
    before receiving I frame.
    baiyufei authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    a5a7078 View commit details
    Browse the repository at this point in the history
  10. Implement partition head in Depacketizer

    We used to do partition head checking in PartitionHeadChecker and
    partition tail checking in Depacketizer, which is confusing and
    error-prone.  Move all checking into the Depacketizer itself.
    jech authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    8fbcdd0 View commit details
    Browse the repository at this point in the history
  11. Fix unmarshal of packets with padding

    WebRTC clients use padding only packets as probe
    packets for bandwidth estimation. As padding was
    not removed from the payload, downstream code
    trying to parse padding as valid media payload
    results in erroneous parsing
    
    Testing:
    --------
    - Add unit tests for different padding scenarios
    - Check that ion-sfu does not try to parse padding only
    packets as valid video payload.
    boks1971 authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    0f418e5 View commit details
    Browse the repository at this point in the history
  12. Update CI configs to v0.6.0

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    9fc6d60 View commit details
    Browse the repository at this point in the history
  13. Add PaddingSize to rtp.Packet

    When a packet has padding, the padding size information
    is lost during unmarshal. Add a PaddingSize field to
    Packet structure.
    
    Also support marshalling on an RTP packet with padding.
    
    Testing:
    --------
    Modified/added unit tests.
    boks1971 authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    65a3177 View commit details
    Browse the repository at this point in the history
  14. Update CI configs to v0.6.2

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    048cb66 View commit details
    Browse the repository at this point in the history
  15. Replace <= with == since mtu cannot be negative

    MTU was changed to an unsigned integer
    wangzixiang authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    718a9e5 View commit details
    Browse the repository at this point in the history
  16. Update CI configs to v0.6.4

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1b48a66 View commit details
    Browse the repository at this point in the history
  17. Adds zero-copy header extensions

    This change adds an interface and impl for zero-copy extensions.
    kevmo314 authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    86adc56 View commit details
    Browse the repository at this point in the history
  18. Add IsPartitionHead and IsPartitionTail to H265

    This change makes the H265 packet satisfy the depacketizer
    interface allowing H265 streams to be decoded with
    SampleBuilder.
    kevmo314 authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    a0dc500 View commit details
    Browse the repository at this point in the history
  19. Update CI configs to v0.6.6

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    6f904a6 View commit details
    Browse the repository at this point in the history
  20. Update CI configs to v0.6.7

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    ce01e0a View commit details
    Browse the repository at this point in the history
  21. Update CI configs to v0.6.8

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    7b52544 View commit details
    Browse the repository at this point in the history
  22. Remove pointer from constant functions

    Marshal, MarshalTo, MarshalSize, Clone functions shouldn't have a
    pointer, since they're constant. This convention is used by pion/rtcp
    and the standard library, and prevents coding errors.
    aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1cf3c2a View commit details
    Browse the repository at this point in the history
  23. Add AV1 Support

    Implements Marshal and Unmarshal support. Marshal doesn't pack multiple
    OBUs into one packet and could be improved.
    Sean-Der authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    984aa65 View commit details
    Browse the repository at this point in the history
  24. Fix AV1 /v2 imports

    Missed when cherry-picking from master
    Sean-Der authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1c51eef View commit details
    Browse the repository at this point in the history
  25. Move AV1 Frame to new frame pkg

    Codecs only contains RTP Payload processing
    Sean-Der authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    25d6b9f View commit details
    Browse the repository at this point in the history
  26. Add bounds check to AV1 Frame

    Only take from OBUs slice if greater then 0
    Sean-Der authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    e0fef19 View commit details
    Browse the repository at this point in the history
  27. Update CI configs to v0.7.0

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    c08b150 View commit details
    Browse the repository at this point in the history
  28. Update CI configs to v0.7.1

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    d0b52c5 View commit details
    Browse the repository at this point in the history
  29. Update CI configs to v0.7.2

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    58f4e41 View commit details
    Browse the repository at this point in the history
  30. Update CI configs to v0.6.9

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    4f20998 View commit details
    Browse the repository at this point in the history
  31. Set CSRC as a empty (not nil) slice by default

    Allows packetizer marshal / unmarshal to be consistent
    
    Resolves pion#79
    Aaron Boushley authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    9f48864 View commit details
    Browse the repository at this point in the history
  32. Add experimental header extensions

    Add AbsCaptureTimeExtension and PlayoutDelayExtension implementations.
    Both of these are experimental RTP header extensions defined in
    libwebrtc.
    kevmo314 authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    d1b3865 View commit details
    Browse the repository at this point in the history
  33. Fix multiple crashes when using VP9 depacketizer

    Multiple optional fields of the VP9 RTP header are read regardless of
    the buffer size. This can easily lead to multiple crashes. This PR add
    the necessary checks in order to avoid crashes.
    aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    8eda65a View commit details
    Browse the repository at this point in the history
  34. Fix parsing of VP8 packets with degenerate header

    All of the fields in the VP8 header except the first byte are
    optional.  We used to reject VP8 packets smaller than 4 bytes,
    which is incorrect.
    
    There are two cases where such packets may appear on the wire.
    GStreamer's WebRTC implementation generates VP8 streams with
    no picture id, and one-byte headers.  It will occasionally
    generate packets that are below 4 bytes, and which we used
    to reject.
    
    The second use case is more theoretical.  According to RFC 7741
    Section 4.4, a packetizer may ignore VP8 partition boundaries.
    If it splits a packet outside of a partition boundary, it may
    generate a packet with S=0 and a one-byte header.
    jech authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    ce84b2d View commit details
    Browse the repository at this point in the history
  35. Fix compatibility with gofmt

    This prevents gofmt -w -s from messing up existing code.
    
    Text with multiple spaces is now wrapped in long comments (/* */), that
    are not affected by gofmt.
    aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    3227750 View commit details
    Browse the repository at this point in the history
  36. Fix errShortPacket with H264 EOS NALUs

    Remove checks since payload size can be less than 2.
    
    Only FU-A explicitly accesses the second byte, which is not affected
    because a separate boundary value check is performed.
    kawaway authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    94ab88a View commit details
    Browse the repository at this point in the history
  37. Cleanup common sections in README

    stv0g authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    e76983a View commit details
    Browse the repository at this point in the history
  38. Update AUTHORS.txt

    stv0g authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    19ff155 View commit details
    Browse the repository at this point in the history
  39. Harmonize sections in README

    stv0g authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    46ade2b View commit details
    Browse the repository at this point in the history
  40. Update CI configs to v0.10.7

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    a4c81e3 View commit details
    Browse the repository at this point in the history
  41. Make repo REUSE compliant

    stv0g authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    503218c View commit details
    Browse the repository at this point in the history
  42. Fix golangci-lint warnings

    stv0g authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    beab487 View commit details
    Browse the repository at this point in the history
  43. Update CI configs to v0.10.8

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    35fcf93 View commit details
    Browse the repository at this point in the history
  44. Update CI configs to v0.10.9

    Update lint scripts and CI configs.
    pionbot authored and aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    cb415a2 View commit details
    Browse the repository at this point in the history
  45. Sync asset files with .goassets

    aler9 committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    83323c4 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Minimize changes

    aler9 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    30d0a23 View commit details
    Browse the repository at this point in the history
  2. Implement packet clone method

    Clone performs deep copy on a packet to produce equivalent
    but independently mutable packet.
    
    Fixes pion#88
    ffmiruz authored and aler9 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    e020e24 View commit details
    Browse the repository at this point in the history
  3. Fix Packet.Raw population

    aler9 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d41d817 View commit details
    Browse the repository at this point in the history
  4. Bump Go version

    aler9 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    5b8bbd2 View commit details
    Browse the repository at this point in the history