Support disable dynacast. (#1314)

Added a flag to throttle dynacast messages to the publisher.

Added a helper method to check if a client supports setting `active`
field in RTP sender encoding. This can be used to disable dynacast based
on some other feature flag/config settings.
This commit is contained in:
Raja Subramanian
2023-01-20 08:09:31 +05:30
committed by GitHub
parent b7263b7625
commit 6a8e86c3a3
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -77,3 +77,7 @@ func (c ClientInfo) SupportsICETCP() bool {
// most SDKs support ICE/TCP
return true
}
func (c ClientInfo) SupportsChangeRTPSenderEncodingActive() bool {
return !c.isFirefox()
}