From 7ee158d18f1dc1bc75b4f6cddfaca5561045b66c Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 10 Apr 2020 12:24:21 +0200 Subject: [PATCH] fix comment --- client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index e80292ae..e977382b 100644 --- a/client.go +++ b/client.go @@ -54,7 +54,9 @@ func sdpFilter(msgIn *sdp.Message, byteIn []byte) (*sdp.Message, []byte) { attributes = append(attributes, attr) } } - // control attribute is needed by gstreamer + + // control attribute is mandatory, and is the path that is appended + // to the stream path in SETUP attributes = append(attributes, sdp.Attribute{ Key: "control", Value: "streamid=" + strconv.FormatInt(int64(i), 10),