add size limit to metadata of room & participant (#566)

* add size limit to metadata of room & participant

* description in config-sample

* solve comments
This commit is contained in:
cnderrauber
2022-03-25 12:48:11 +08:00
committed by GitHub
parent 61655c6ff0
commit 3352ee6b79
7 changed files with 101 additions and 15 deletions
+1
View File
@@ -132,6 +132,7 @@ type RoomConfig struct {
MaxParticipants uint32 `yaml:"max_participants"`
EmptyTimeout uint32 `yaml:"empty_timeout"`
EnableRemoteUnmute bool `yaml:"enable_remote_unmute"`
MaxMetadataSize uint32 `yaml:"max_metadata_size"`
}
type CodecSpec struct {