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

@@ -12,12 +12,12 @@ import (
)
// This example shows how to
// 1. generate RTP/MPEG4-audio packets with GStreamer
// 2. connect to a RTSP server, announce an MPEG4-audio media
// 1. generate RTP/MPEG-4 audio packets with GStreamer
// 2. connect to a RTSP server, announce an MPEG-4 audio media
// 3. route the packets from GStreamer to the server
func main() {
// open a listener to receive RTP/MPEG4-audio packets
// open a listener to receive RTP/MPEG-4 audio packets
pc, err := net.ListenPacket("udp", "localhost:9000")
if err != nil {
panic(err)