Browse Source

avformat/whip: mark as experimental

This patch doesn't effect WHIP usage via command, as WHIP always
needs to be explicitly specified

Signed-off-by: Jack Lau <jacklau1222@qq.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Jack Lau 5 months ago
parent
commit
214248e2d6
2 changed files with 3 additions and 1 deletions
  1. 2 0
      doc/muxers.texi
  2. 1 1
      libavformat/whip.c

+ 2 - 0
doc/muxers.texi

@@ -3885,6 +3885,8 @@ ffmpeg -f webm_dash_manifest -i video1.webm \
 WebRTC (Real-Time Communication) muxer that supports sub-second latency streaming according to
 the WHIP (WebRTC-HTTP ingestion protocol) specification.
 
+This is an experimental feature.
+
 It uses HTTP as a signaling protocol to exchange SDP capabilities and ICE lite candidates. Then,
 it uses STUN binding requests and responses to establish a session over UDP. Subsequently, it
 initiates a DTLS handshake to exchange the SRTP encryption keys. Lastly, it splits video and

+ 1 - 1
libavformat/whip.c

@@ -1907,7 +1907,7 @@ const FFOutputFormat ff_whip_muxer = {
     .p.long_name        = NULL_IF_CONFIG_SMALL("WHIP(WebRTC-HTTP ingestion protocol) muxer"),
     .p.audio_codec      = AV_CODEC_ID_OPUS,
     .p.video_codec      = AV_CODEC_ID_H264,
-    .p.flags            = AVFMT_GLOBALHEADER | AVFMT_NOFILE,
+    .p.flags            = AVFMT_GLOBALHEADER | AVFMT_NOFILE | AVFMT_EXPERIMENTAL,
     .p.priv_class       = &whip_muxer_class,
     .priv_data_size     = sizeof(WHIPContext),
     .init               = whip_init,