Skip to content

Commit 4293e60

Browse files
committed
Rename method
Signed-off-by: Šimon Brandner <[email protected]>
1 parent c9a6d2c commit 4293e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/subscriber.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func (s *Subscriber) Subscribe(publisher *Publisher) {
8585
s.publisher = publisher
8686
s.mutex.Unlock()
8787

88-
go s.writeRTCP()
88+
go s.forwardRTCP()
8989

9090
publisher.AddSubscriber(s)
9191

@@ -113,7 +113,7 @@ func (s *Subscriber) Unsubscribe() {
113113
s.logger.Info("unsubscribed")
114114
}
115115

116-
func (s *Subscriber) writeRTCP() {
116+
func (s *Subscriber) forwardRTCP() {
117117
if s.Track.Kind() != webrtc.RTPCodecTypeVideo {
118118
return
119119
}

0 commit comments

Comments
 (0)