client: support writing to ONVIF back channels (#101) (#462)

This commit is contained in:
Alessandro Ros
2023-11-15 13:20:29 +01:00
committed by GitHub
parent aaef8c29a7
commit f78b04cf4e
9 changed files with 414 additions and 92 deletions

View File

@@ -32,9 +32,9 @@ func serverSideDescription(d *description.Session, contentBase *base.URL) *descr
for i, medi := range d.Medias {
mc := &description.Media{
Type: medi.Type,
ID: medi.ID,
// Direction: skipped for the moment
Type: medi.Type,
ID: medi.ID,
IsBackChannel: medi.IsBackChannel,
// we have to use trackID=number in order to support clients
// like the Grandstream GXV3500.
Control: "trackID=" + strconv.FormatInt(int64(i), 10),