From 468aeaa1ae1aef23f72a23351793fa5857b4f2a1 Mon Sep 17 00:00:00 2001 From: nareix Date: Sat, 11 Jun 2016 23:32:27 +0800 Subject: [PATCH] add PCMA --- client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.go b/client.go index 0cd88dd..91eaed4 100644 --- a/client.go +++ b/client.go @@ -447,6 +447,9 @@ func (self *Client) Describe() (streams []av.CodecData, err error) { case 0: stream.CodecData = codec.NewPCMMulawCodecData() + case 8: + stream.CodecData = codec.NewPCMAlawCodecData() + default: err = fmt.Errorf("rtsp: PayloadType=%d unsupported", media.PayloadType) return