Skip to content

Commit 6e6f581

Browse files
committed
RTCRtpCodecCapability は仕様から削除された
- https://github.com/w3c/webrtc-pc/pull/2976/files - w3c/webrtc-pc#2974
1 parent d2bcac1 commit 6e6f581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/DebugPane/CapabilitiesCodec.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react'
22

33
import { Message } from './Message'
44

5-
interface RTCRtpCapabilitiesCodecWithIndexSignature extends RTCRtpCodecCapability {
5+
interface RTCRtpCapabilitiesCodecWithIndexSignature extends RTCRtpCodec {
66
[x: string]: string | number | undefined
77
}
88

@@ -22,7 +22,7 @@ const Log = React.memo((props: LogProps) => {
2222
const getCapabilitiesCodec = (
2323
getCapabilities: (kind: string) => RTCRtpCapabilities | null,
2424
kind: string,
25-
): RTCRtpCodecCapability[] => {
25+
): RTCRtpCodec[] => {
2626
if (!getCapabilities) {
2727
return []
2828
}

0 commit comments

Comments
 (0)