From c37068bd04d15015cd60b5337f594d9d8b768f8b Mon Sep 17 00:00:00 2001 From: xiongguangjie Date: Wed, 6 Apr 2022 16:56:59 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20MediaServer=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=9A=84HTTP=20API=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MediaServer支持的HTTP-API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MediaServer支持的HTTP-API.md b/MediaServer支持的HTTP-API.md index 52ba154..4240e8f 100644 --- a/MediaServer支持的HTTP-API.md +++ b/MediaServer支持的HTTP-API.md @@ -1061,6 +1061,10 @@ typedef enum { | dst_port | Y | 目标端口 | | is_udp | Y | 是否为udp模式,否则为tcp模式 | | src_port | N | 使用的本机端口,为0或不传时默认为随机端口 | + | pt | N | 发送时,rtp的pt(uint8_t),不传时默认为96 | + | use_ps | N | 发送时,rtp的负载类型。为1时,负载为ps;为0时,为es;不传时默认为1 | + | only_audio | N | 当use_ps 为0时,有效。为1时,发送音频;为0时,发送视频;不传时默认为0 | +