@@ -57,7 +57,7 @@ func (c *Conference) removeParticipant(participantID ParticipantID) {
5757 // Remove the participant's tracks from all participants who might have subscribed to them.
5858 obsoleteTracks := []* webrtc.TrackLocalStaticRTP {}
5959 for _ , publishedTrack := range participant .publishedTracks {
60- obsoleteTracks = append (obsoleteTracks , publishedTrack .Track )
60+ obsoleteTracks = append (obsoleteTracks , publishedTrack .track )
6161 }
6262 for _ , otherParticipant := range c .participants {
6363 otherParticipant .peer .UnsubscribeFrom (obsoleteTracks )
@@ -74,7 +74,7 @@ func (c *Conference) getAvailableStreamsFor(forParticipant ParticipantID) event.
7474 // Now, find out which of published tracks belong to the streams for which we have metadata
7575 // available and construct a metadata map for a given participant based on that.
7676 for _ , track := range participant .publishedTracks {
77- trackID , streamID := track .Track .ID (), track .Track .StreamID ()
77+ trackID , streamID := track .track .ID (), track .track .StreamID ()
7878
7979 if metadata , ok := streamsMetadata [streamID ]; ok {
8080 metadata .Tracks [trackID ] = event.CallSDPStreamMetadataTrack {}
@@ -99,7 +99,7 @@ func (c *Conference) getTracks(identifiers []event.SFUTrackDescription) []*webrt
9999 // Check if this participant has any of the tracks that we're looking for.
100100 for _ , identifier := range identifiers {
101101 if track , ok := participant .publishedTracks [identifier ]; ok {
102- tracks = append (tracks , track .Track )
102+ tracks = append (tracks , track .track )
103103 }
104104 }
105105 }
0 commit comments