Source File
g722_packet.go
Belonging Package
github.com/pion/rtp/codecs
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage codecs// G722Payloader payloads G722 packets.type G722Payloader struct{}// Payload fragments an G722 packet across one or more byte arrays.func ( *G722Payloader) ( uint16, []byte) [][]byte {var [][]byteif == nil || == 0 {return}for len() > int() {:= make([]byte, )copy(, [:])= [:]= append(, )}:= make([]byte, len())copy(, )return append(, )}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |