Pixel Streaming: when I use emitCommand funtion,the UE application broke down

when I use emitCommand funtion,the UE application broke down

Javasript code:

let descriptor = {
Resolution: {
Width: 1024,
Height: 768
}
}
emitCommand(descriptor);

Can someone help me?