( rawPkt []byte, rtpPacket *rtp.Packet, arrivalTime int64, isBuffered bool, isRTX bool, skippedSeqs []uint16, oobSequenceNumber uint16, )
| 696 | } |
| 697 | |
| 698 | func (b *BufferBase) HandleIncomingPacket( |
| 699 | rawPkt []byte, |
| 700 | rtpPacket *rtp.Packet, |
| 701 | arrivalTime int64, |
| 702 | isBuffered bool, |
| 703 | isRTX bool, |
| 704 | skippedSeqs []uint16, |
| 705 | oobSequenceNumber uint16, |
| 706 | ) (uint64, error) { |
| 707 | b.Lock() |
| 708 | defer b.Unlock() |
| 709 | |
| 710 | if b.isClosed.Load() { |
| 711 | return 0, io.EOF |
| 712 | } |
| 713 | |
| 714 | return b.HandleIncomingPacketLocked( |
| 715 | rawPkt, |
| 716 | rtpPacket, |
| 717 | arrivalTime, |
| 718 | isBuffered, |
| 719 | isRTX, |
| 720 | skippedSeqs, |
| 721 | oobSequenceNumber, |
| 722 | ) |
| 723 | } |
| 724 | |
| 725 | func (b *BufferBase) HandleIncomingPacketLocked( |
| 726 | rawPkt []byte, |
nothing calls this directly
no test coverage detected