|
@@ -26,7 +26,7 @@ export default class ActionsHandler {
|
|
|
//xst
|
|
|
window.workerReady = false
|
|
|
this.vDecoder = new VDecoder({
|
|
|
- maxChip: 100,
|
|
|
+ maxChip: 10,
|
|
|
});
|
|
|
window.vDecoder = this.vDecoder
|
|
|
this.init()
|
|
@@ -43,7 +43,7 @@ export default class ActionsHandler {
|
|
|
|
|
|
initSocket() {
|
|
|
|
|
|
- const sdk = new SrsRTC();
|
|
|
+ // const sdk = new SrsRTC();
|
|
|
const testConfig = {
|
|
|
sceneCode: "testApp",
|
|
|
userId: "testUser",
|
|
@@ -51,10 +51,10 @@ export default class ActionsHandler {
|
|
|
};
|
|
|
const connection = new Connection(testConfig);
|
|
|
|
|
|
- console.log("sdk", sdk);
|
|
|
- console.log("sdk", connection);
|
|
|
- const url = "webrtc://demo-kms.4dage.com/live/test1";
|
|
|
- sdk.start(url);
|
|
|
+ // console.log("sdk", sdk);
|
|
|
+ // console.log("sdk", connection);
|
|
|
+ // const url = "webrtc://demo-kms.4dage.com/live/test1";
|
|
|
+ // sdk.start(url);
|
|
|
|
|
|
window.connection = connection
|
|
|
|