You need to enable JavaScript to run this app.
文档中心
实时音视频

实时音视频

复制全文
下载 pdf
SDK 升级指南
Web 客户端 SDK 版本对比工具
复制全文
下载 pdf
Web 客户端 SDK 版本对比工具
​
const Md = () => {​
const [md, setMd] = React.useState('');​
​
React.useEffect(() => {​
const url = 'https://demo.volcvideo.com/exampleCenter/dynamicMarkdownManage/volcMDCompRender';​
const params = {​
queryType: 'sdk_apiDiff',​
renderMarkdownOptions: {​
isHideNewRef: true,​
details: {​
api: {​
order: 5,​
label: 'Api',​
},​
callback: {​
order: 4,​
label: 'Events',​
},​
errorcodes: {​
order: 3,​
label: 'ErrorCode',​
},​
ref: {​
order: 2,​
label: 'KeyType',​
},​
},​
},​
reference_sdk_id: '4',​
_sceneName: 'rtc',​
};​
const body = JSON.stringify(params);​
const request = {​
mode: 'cors',​
method: 'post',​
headers: { 'content-type': 'application/json' },​
body,​
};​
fetch(url, request)​
.then(res => res.json())​
.then(res => {​
setMd(res.Result);​
});​
}, []);​
​
return <RenderMd content={md}></RenderMd>;​
};​
return <Md />;​
​
​
最近更新时间:2026.07.27 14:27:04
这个页面对您有帮助吗?
有用
有用
无用
无用