提交 d6d13650 authored 作者: Mathieu Rene's avatar Mathieu Rene

add comments

上级 c5a13f92
...@@ -91,17 +91,17 @@ typedef struct mg_termination_s { ...@@ -91,17 +91,17 @@ typedef struct mg_termination_s {
struct { struct {
/* The RTP termination will automatically operate as "sendonly" or "recvonly" as soon as /* The RTP termination will automatically operate as "sendonly" or "recvonly" as soon as
* one of the network addresses are NULL */ * one of the network addresses are NULL */
const char *local_addr; const char *local_addr; /*!< RTP Session's Local IP address */
switch_port_t local_port; switch_port_t local_port; /*!< RTP Session's Local IP address */
const char *remote_addr; const char *remote_addr; /*!< RTP Session's Remote IP address */
switch_port_t remote_port; switch_port_t remote_port; /*!< RTP Session's Remote IP address */
int ptime; int ptime; /*!< Packetization Interval, in miliseconds. The default is 20, but it has to be set */
int pt; int pt; /*!< Payload type */
int rfc2833_pt; int rfc2833_pt; /*!< If the stream is using rfc2833 for dtmf events, this has to be set to its negotiated payload type */
int rate; int rate; /*!< Sampling rate */
const char *codec; const char *codec; /*!< Codec to use, using the freeswitch nomenclature. This could be "PCMU" for G711.U, "PCMA" for G711.A, or "G729" for g729 */
} rtp; } rtp;
struct { struct {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论