产品动态
产品近期公告
关于 TRTC Live 正式上线的公告
关于TRTC Conference 正式版上线的公告
Conference 商业化版本即将推出
关于多人音视频 Conference 开启内测公告
关于音视频通话 Call 正式版上线的公告
关于腾讯云音视频终端 SDK 播放升级及新增授权校验的公告
关于 TRTC 应用订阅套餐服务上线的相关说明
import TRTCCloud, {TRTCRenderParams, TRTCVideoRotation, TRTCVideoFillMode,TRTCVideoMirrorType} from 'trtc-electron-sdk';const trtcCloud = new TRTCCloud();const param = new TRTCRenderParams(TRTCVideoRotation.TRTCVideoRotation90,TRTCVideoFillMode.TRTCVideoFillMode_Fill,TRTCVideoMirrorType.TRTCVideoMirrorType_Enable);trtcCloud.setLocalRenderParams(param);const localUserDom = document.querySelector('local-user');trtcCloud.startLocalPreview(localUserDom);
import TRTCCloud, {TRTCRenderParams, TRTCVideoRotation, TRTCVideoFillMode,TRTCVideoMirrorType, TRTCVideoStreamType} from 'trtc-electron-sdk';const trtcCloud = new TRTCCloud();const param = new TRTCRenderParams(TRTCVideoRotation.TRTCVideoRotation180,TRTCVideoFillMode.TRTCVideoFillMode_Fill,TRTCVideoMirrorType.TRTCVideoMirrorType_Disable);const remoteUserId = 'remoteUser';trtcCloud.setRemoteRenderParams(remoteUserId, TRTCVideoStreamType.TRTCVideoStreamTypeBig, param);const remoteUserDom = document.querySelector('remote-user');trtcCloud.startRemoteView(remoteUserId, remoteUserDom, TRTCVideoStreamType.TRTCVideoStreamTypeBig);
文档反馈