Send adaptive stream param in join (#626)

This commit is contained in:
Raja Subramanian
2022-04-19 16:45:35 +05:30
committed by GitHub
parent e138ef3f55
commit cf627d8bbe
8 changed files with 89 additions and 8 deletions
+5
View File
@@ -65,6 +65,7 @@ type ParticipantParams struct {
ClientConf *livekit.ClientConfiguration
Region string
Migration bool
AdaptiveStream bool
}
type ParticipantImpl struct {
@@ -293,6 +294,10 @@ func (p *ParticipantImpl) GetLogger() logger.Logger {
return p.params.Logger
}
func (p *ParticipantImpl) GetAdaptiveStream() bool {
return p.params.AdaptiveStream
}
func (p *ParticipantImpl) ID() livekit.ParticipantID {
return p.params.SID
}