pixelstream-cn
Version:
基于虚幻引擎的像素流平台
22 lines (20 loc) • 617 B
JavaScript
const ToClientMessageType = {
QualityControlOwnership: 0,
Response: 1,
Command: 2,
FreezeFrame: 3,
UnfreezeFrame: 4,
VideoEncoderAvgQP: 5,
}
import callback from "./callback.js";
export default class Message {
qualityControlOwnershipHandel(response){}
responseHandel(response){}
commandHandel(response){}
freezeFrameHandel(response){}
unfreezeFrameHandel(response){}
videoEncoderAvgQPHandel(response){}
waitHandel(num){} //等待数量
errorHandel(message){} //错误处理
speedHandel(speed){} //流畅度
}