@ -161,13 +161,13 @@ class WebSocket:
 | 
			
		||||
    ):
 | 
			
		||||
        self.ws = sync(
 | 
			
		||||
            fps,
 | 
			
		||||
            pool,
 | 
			
		||||
            post_effect,
 | 
			
		||||
            unlocked_framerate,
 | 
			
		||||
            video_res_height,
 | 
			
		||||
            video_res_width,
 | 
			
		||||
            webrtc,
 | 
			
		||||
            client=client,
 | 
			
		||||
            pool=pool,
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
    def __enter__(
 | 
			
		||||
 | 
			
		||||
@ -39,6 +39,7 @@ from .models import (
 | 
			
		||||
    ModelingCmd,
 | 
			
		||||
    ModelingCmdId,
 | 
			
		||||
    Pong,
 | 
			
		||||
    PostEffectType,
 | 
			
		||||
    System,
 | 
			
		||||
    TextToCad,
 | 
			
		||||
    TextToCadCreateBody,
 | 
			
		||||
@ -356,6 +357,7 @@ def test_ws_simple():
 | 
			
		||||
    with modeling_commands_ws.WebSocket(
 | 
			
		||||
        client=client,
 | 
			
		||||
        fps=30,
 | 
			
		||||
        post_effect=PostEffectType.NOEFFECT,
 | 
			
		||||
        unlocked_framerate=False,
 | 
			
		||||
        video_res_height=360,
 | 
			
		||||
        video_res_width=480,
 | 
			
		||||
@ -383,6 +385,7 @@ def test_ws_import():
 | 
			
		||||
    with modeling_commands_ws.WebSocket(
 | 
			
		||||
        client=client,
 | 
			
		||||
        fps=30,
 | 
			
		||||
        post_effect=PostEffectType.NOEFFECT,
 | 
			
		||||
        unlocked_framerate=False,
 | 
			
		||||
        video_res_height=360,
 | 
			
		||||
        video_res_width=480,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user