fixed mismatched codec type in pion, increase message chan buffer to avoid overflow during message handling

This commit is contained in:
David Zhao
2021-03-02 01:10:34 -08:00
parent 5612c0783f
commit ddfddfff53
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type MessageChannel struct {
func NewMessageChannel() *MessageChannel {
return &MessageChannel{
// allow some buffer to avoid blocked writes
msgChan: make(chan proto.Message, 10),
msgChan: make(chan proto.Message, 200),
}
}