client: support publishing with opus

This commit is contained in:
aler9
2021-10-30 15:45:13 +02:00
parent e9044bc6a5
commit cab3fe270e
14 changed files with 1208 additions and 855 deletions

View File

@@ -55,7 +55,7 @@ func main() {
panic(err)
}
// write RTP packets
// route RTP packets to the server
err = conn.WriteFrame(0, gortsplib.StreamTypeRTP, buf[:n])
if err != nil {
panic(err)