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:
@@ -77,3 +77,7 @@ func (c ClientInfo) SupportsICETCP() bool {
|
||||
// most SDKs support ICE/TCP
|
||||
return true
|
||||
}
|
||||
|
||||
func (c ClientInfo) SupportsChangeRTPSenderEncodingActive() bool {
|
||||
return !c.isFirefox()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user