mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
Fix mediaType not updated after publisher renegotiations
The "mediaTypes" attribute is checked to know if a publisher needs to be closed when the permissions are updated. However, that attribute was set only when the publisher was initially created; due to this if a publisher then used a renegotiation to add media not included in the original offer the publisher would not be closed if the publishing permission for that media was later revoked. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
@@ -90,6 +90,7 @@ type McuPublisher interface {
|
||||
McuClient
|
||||
|
||||
HasMedia(MediaType) bool
|
||||
SetMedia(MediaType)
|
||||
}
|
||||
|
||||
type McuSubscriber interface {
|
||||
|
||||
Reference in New Issue
Block a user