add client-play-format-opus-save-to-disk (#487) (#507)

This commit is contained in:
Alessandro Ros
2024-01-21 17:27:16 +01:00
committed by GitHub
parent 6371b78b5b
commit 506cf60080
22 changed files with 209 additions and 51 deletions

View File

@@ -11,8 +11,8 @@ import (
// This example shows how to
// 1. connect to a RTSP server
// 2. check if there's an MPEG4-audio media
// 3. get access units of that media
// 2. check if there's an MPEG-4 audio format
// 3. get access units of that format
func main() {
c := gortsplib.Client{}
@@ -36,7 +36,7 @@ func main() {
panic(err)
}
// find the MPEG4-audio media and format
// find the MPEG-4 audio media and format
var forma *format.MPEG4Audio
medi := desc.FindFormat(&forma)
if medi == nil {