开发者

How to distinguish between Speech and Tone in RTP packet?

开发者 https://www.devze.com 2023-03-29 00:09 出处:网络
My requirement is to find out whether the RTP packet(received on my IP phone from a VOIP gateway) is containing Speech or some Tone. There is no field in RTP packet header to indicate this. I found RF

My requirement is to find out whether the RTP packet(received on my IP phone from a VOIP gateway) is containing Speech or some Tone. There is no field in RTP packet header to indicate this. I found RFC 4733 which mention 2 formats for RTP payload: Event payload and Tone payload. But how will I know that RTP payload is present in which format as there is no indication for this in RTP header. How can I decode the payload data until the payload format is not known to 开发者_Python百科me?

0

精彩评论

暂无评论...
验证码 换一张
取 消