mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 21:44:29 +00:00
rename for clarity
This commit is contained in:
1 parent
ad157047b7
commit
d51bd916a0
2 files changed
+2
-2
No files matched your search
@@ -130,7 +130,7 @@ func NewSubscribedTrack(params SubscribedTrackParams) (*SubscribedTrack, error)
|
||||
trailer = params.Subscriber.GetTrailer()
|
||||
}
|
||||
stripUserTimestamp := params.MediaTrack.HasUserTimestamp() &&
|
||||
!params.Subscriber.ProtocolVersion().SupportsUserTimestampStripping()
|
||||
!params.Subscriber.ProtocolVersion().SupportsUserTimestamp()
|
||||
downTrack, err := sfu.NewDownTrack(sfu.DownTrackParams{
|
||||
Codecs: codecs,
|
||||
IsEncrypted: isEncrypted,
|
||||
|
||||
@@ -100,6 +100,6 @@ func (v ProtocolVersion) SupportsMoving() bool {
|
||||
return v > 15
|
||||
}
|
||||
|
||||
func (v ProtocolVersion) SupportsUserTimestampStripping() bool {
|
||||
func (v ProtocolVersion) SupportsUserTimestamp() bool {
|
||||
return v > 16
|
||||
}
|
||||
Reference in new issue
Block a user