g.729.1 RTP靜荷格式 rfc4749

g.729.1 RTP靜荷格式

 

g729

It provides a standardized solution for packetized voice applications that allows a smooth transition from narrowband to wideband telephony.

 

採樣速率16KHZ120毫秒,因此才樣點有320每個包

 

靜荷頭格式

 

      0                   1                   2                   3

      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

     |  MBS  |   FT  |                                               |

     +-+-+-+-+-+-+-+-+                                               +

     :                zero or more frames at the same bit rate       :

     :                                                               :

     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

 

MBS(maximum bit rate supported),即發送方說明其支持接受的最大速率,另一方收到這個包後可以在任

 

何時刻發送低於這個速率的靜荷。如果後續還有MBS申明,則替換前一次的MBS值。

 

 

                         +-------+--------------+

                         |  MBS  | max bit rate |

                         +-------+--------------+

                         |   0   |    8 kbps    |

                         |   1   |    12 kbps   |

                         |   2   |    14 kbps   |

                         |   3   |    16 kbps   |

                         |   4   |    18 kbps   |

                         |   5   |    20 kbps   |

                         |   6   |    22 kbps   |

                         |   7   |    24 kbps   |

                         |   8   |    26 kbps   |

                         |   9   |    28 kbps   |

                         |   10  |    30 kbps   |

                         |   11  |    32 kbps   |

                         | 12-14 |  (reserved)  |

                         |   15  |    NO_MBS    |

                         +-------+--------------+

 

FT(Frame Type) 取值同上表,即說明當前幀的速率類型。

 

 

帶外信令

關鍵參數

maxbitrate,當前RTP整個會話的最大速率限制,去值同上表8000, 12000, 14000, 16000, 18000,

 

20000, 22000, 24000, 26000, 28000, 30000, and 32000,也就是說MBS的取值都小於這個值。不帶默認

 

取值有32000.

 

mbs,當前接受者支持接收的最大速率。不帶該參數,取值有maxbitrate

 

ptime,maxptim(rfc4566)

 

 

 

發佈了39 篇原創文章 · 獲贊 9 · 訪問量 15萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章