Skip to content

Commit

Permalink
Use a valid start group/object location
Browse files Browse the repository at this point in the history
  • Loading branch information
mengelbart committed May 6, 2024
1 parent b9ab8a2 commit 54fcea0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ func (s *Session) Subscribe(ctx context.Context, subscribeID, trackAlias uint64,
TrackAlias: trackAlias,
TrackNamespace: namespace,
TrackName: trackname,
StartGroup: Location{},
StartObject: Location{},
StartGroup: Location{LocationModeAbsolute, 0x00},
StartObject: Location{LocationModeAbsolute, 0x00},
EndGroup: Location{},
EndObject: Location{},
Parameters: map[uint64]parameter{},
Expand Down
4 changes: 2 additions & 2 deletions session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ func TestSession(t *testing.T) {
TrackAlias: 0,
TrackNamespace: "namespace",
TrackName: "track",
StartGroup: Location{},
StartObject: Location{},
StartGroup: Location{LocationModeAbsolute, 0x00},
StartObject: Location{LocationModeAbsolute, 0x00},
EndGroup: Location{},
EndObject: Location{},
Parameters: map[uint64]parameter{authorizationParameterKey: stringParameter{k: authorizationParameterKey, v: "auth"}},
Expand Down

0 comments on commit 54fcea0

Please sign in to comment.