mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2025-04-19 18:13:46 +01:00
Compare commits
3 Commits
dc7bec3ed0
...
c4cf817042
Author | SHA1 | Date | |
---|---|---|---|
c4cf817042 | |||
ba5da8dfef | |||
83577e2d61 |
@ -1946,16 +1946,24 @@ class ReqClient:
|
||||
"""
|
||||
Opens a projector for a specific output video mix.
|
||||
|
||||
:param videoMixType: Type of mix to open
|
||||
:type videoMixType: str
|
||||
:param monitorIndex: Monitor index, use GetMonitorList to obtain index
|
||||
:type monitorIndex: int
|
||||
:param projectorGeometry: Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex
|
||||
:type projectorGeometry: str
|
||||
The available mix types are:
|
||||
OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW
|
||||
OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM
|
||||
OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW
|
||||
|
||||
:param video_mix_type: Type of mix to open.
|
||||
:type video_mix_type: str
|
||||
:param monitor_index: Monitor index, use GetMonitorList to obtain index
|
||||
:type monitor_index: int
|
||||
:param projector_geometry:
|
||||
Size/Position data for a windowed projector, in Qt Base64 encoded format.
|
||||
Mutually exclusive with monitorIndex
|
||||
:type projector_geometry: str
|
||||
|
||||
"""
|
||||
warn(
|
||||
"open_video_mix_projector request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.",
|
||||
"open_video_mix_projector request serves to provide feature parity with 4.x. "
|
||||
"It is very likely to be changed/deprecated in a future release.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
@ -1972,16 +1980,19 @@ class ReqClient:
|
||||
"""
|
||||
Opens a projector for a source.
|
||||
|
||||
:param sourceName: Name of the source to open a projector for
|
||||
:type sourceName: str
|
||||
:param monitorIndex: Monitor index, use GetMonitorList to obtain index
|
||||
:type monitorIndex: int
|
||||
:param projectorGeometry: Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex
|
||||
:type projectorGeometry: str
|
||||
:param source_name: Name of the source to open a projector for
|
||||
:type source_name: str
|
||||
:param monitor_index: Monitor index, use GetMonitorList to obtain index
|
||||
:type monitor_index: int
|
||||
:param projector_geometry:
|
||||
Size/Position data for a windowed projector, in Qt Base64 encoded format.
|
||||
Mutually exclusive with monitorIndex
|
||||
:type projector_geometry: str
|
||||
|
||||
"""
|
||||
warn(
|
||||
"open_source_projector request serves to provide feature parity with 4.x. It is very likely to be changed/deprecated in a future release.",
|
||||
"open_source_projector request serves to provide feature parity with 4.x. "
|
||||
"It is very likely to be changed/deprecated in a future release.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
@ -1 +1 @@
|
||||
version = "1.6.0"
|
||||
version = "1.6.1"
|
||||
|
@ -15,9 +15,9 @@ class TestRequests:
|
||||
resp = req_cl.get_hot_key_list()
|
||||
obsbasic_hotkey_list = [
|
||||
"OBSBasic.SelectScene",
|
||||
"OBSBasic.SelectScene",
|
||||
"OBSBasic.SelectScene",
|
||||
"OBSBasic.SelectScene",
|
||||
"OBSBasic.QuickTransition.1",
|
||||
"OBSBasic.QuickTransition.2",
|
||||
"OBSBasic.QuickTransition.3",
|
||||
"OBSBasic.StartStreaming",
|
||||
"OBSBasic.StopStreaming",
|
||||
"OBSBasic.ForceStopStreaming",
|
||||
@ -25,15 +25,17 @@ class TestRequests:
|
||||
"OBSBasic.StopRecording",
|
||||
"OBSBasic.PauseRecording",
|
||||
"OBSBasic.UnpauseRecording",
|
||||
"OBSBasic.SplitFile",
|
||||
"OBSBasic.StartReplayBuffer",
|
||||
"OBSBasic.StopReplayBuffer",
|
||||
"OBSBasic.StartVirtualCam",
|
||||
"OBSBasic.StopVirtualCam",
|
||||
"OBSBasic.EnablePreview",
|
||||
"OBSBasic.DisablePreview",
|
||||
"OBSBasic.EnablePreviewProgram",
|
||||
"OBSBasic.DisablePreviewProgram",
|
||||
"OBSBasic.ShowContextBar",
|
||||
"OBSBasic.HideContextBar",
|
||||
"OBSBasic.TogglePreviewProgram",
|
||||
"OBSBasic.Transition",
|
||||
"OBSBasic.ResetStats",
|
||||
"OBSBasic.Screenshot",
|
||||
|
Loading…
x
Reference in New Issue
Block a user