Update dvrip source processing

This commit is contained in:
Alex X
2023-10-11 22:23:22 +03:00
parent 843a3ae9c9
commit cb710ea2be
3 changed files with 104 additions and 77 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func (c *Consumer) AddTrack(media *core.Media, _ *core.Codec, track *core.Receiv
for len(payload) >= PacketSize {
buf = append(buf[:8], payload[:PacketSize]...)
if n, err := c.client.Request(OPTalkData, buf); err != nil {
if n, err := c.client.WriteCmd(OPTalkData, buf); err != nil {
c.Send += n
}