Remove VP9 from media engine set up. (#1004)
* Remove VP9 from media engine set up. * Remove vp9 from config sample
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ keys:
|
|||||||
# max_participants: 0
|
# max_participants: 0
|
||||||
# # only accept specific codecs for clients publishing to this room
|
# # only accept specific codecs for clients publishing to this room
|
||||||
# # this is useful to standardize codecs across clients
|
# # this is useful to standardize codecs across clients
|
||||||
# # other supported codecs are video/h264, video/vp9
|
# # other supported codecs are video/h264
|
||||||
# enabled_codecs:
|
# enabled_codecs:
|
||||||
# - mime: audio/opus
|
# - mime: audio/opus
|
||||||
# - mime: video/vp8
|
# - mime: video/vp8
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ func registerCodecs(me *webrtc.MediaEngine, codecs []*livekit.Codec, rtcpFeedbac
|
|||||||
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP8, ClockRate: 90000, RTCPFeedback: rtcpFeedback.Video},
|
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP8, ClockRate: 90000, RTCPFeedback: rtcpFeedback.Video},
|
||||||
PayloadType: 96,
|
PayloadType: 96,
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP9, ClockRate: 90000, SDPFmtpLine: "profile-id=0", RTCPFeedback: rtcpFeedback.Video},
|
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP9, ClockRate: 90000, SDPFmtpLine: "profile-id=0", RTCPFeedback: rtcpFeedback.Video},
|
||||||
PayloadType: 98,
|
PayloadType: 98,
|
||||||
@@ -49,6 +50,7 @@ func registerCodecs(me *webrtc.MediaEngine, codecs []*livekit.Codec, rtcpFeedbac
|
|||||||
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP9, ClockRate: 90000, SDPFmtpLine: "profile-id=1", RTCPFeedback: rtcpFeedback.Video},
|
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeVP9, ClockRate: 90000, SDPFmtpLine: "profile-id=1", RTCPFeedback: rtcpFeedback.Video},
|
||||||
PayloadType: 100,
|
PayloadType: 100,
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
{
|
{
|
||||||
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeH264, ClockRate: 90000, SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f", RTCPFeedback: rtcpFeedback.Video},
|
RTPCodecCapability: webrtc.RTPCodecCapability{MimeType: webrtc.MimeTypeH264, ClockRate: 90000, SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f", RTCPFeedback: rtcpFeedback.Video},
|
||||||
PayloadType: 125,
|
PayloadType: 125,
|
||||||
|
|||||||
Reference in New Issue
Block a user