Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sdp/sdp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ a=rtpmap:122 telephone-event/32000
a=fmtp:122 0-16
a=ssrc:1204560450 cname:4585300731f880ff
a=rtcp:57798 IN IP4 192.168.100.11
a=rtcp-mux`
a=rtcp-mux
`

// Fails due to b=TIAS:64000
sd := SessionDescription{}
Expand Down
2 changes: 1 addition & 1 deletion sdp/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ func GenerateForAudio(originIP net.IP, connectionIP net.IP, rtpPort int, mode Mo
// fmt.Sprintf("a=rtcp:%d IN IP4 %s", rtpPort+1, connectionIP),
// }

res := strings.Join(s, "\r\n")
res := strings.Join(s, "\r\n") + "\r\n"
return []byte(res)
}