add PCMA
This commit is contained in:
parent
273f9e635d
commit
468aeaa1ae
@ -447,6 +447,9 @@ func (self *Client) Describe() (streams []av.CodecData, err error) {
|
|||||||
case 0:
|
case 0:
|
||||||
stream.CodecData = codec.NewPCMMulawCodecData()
|
stream.CodecData = codec.NewPCMMulawCodecData()
|
||||||
|
|
||||||
|
case 8:
|
||||||
|
stream.CodecData = codec.NewPCMAlawCodecData()
|
||||||
|
|
||||||
default:
|
default:
|
||||||
err = fmt.Errorf("rtsp: PayloadType=%d unsupported", media.PayloadType)
|
err = fmt.Errorf("rtsp: PayloadType=%d unsupported", media.PayloadType)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user