Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python SDK: Rebuild protobufs and release 0.17.0 #594

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions demos/python/sdk_wireless_camera_control/docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.

0.17.0 (September-9-2024)
-------------------------
* Add Hero 13 support (settings, statuses, protobuf)
* Fix MacOS Wifi scanning
* Major infrastructure updates

0.16.2 (July-18-2024)
---------------------

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# cohn_pb2.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Fri Apr 19 21:27:08 UTC 2024

"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# live_streaming_pb2.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Fri Apr 19 21:27:08 UTC 2024

"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
Expand All @@ -10,25 +7,25 @@

_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
b'\n\x14live_streaming.proto\x12\nopen_gopro"\xa4\x04\n\x16NotifyLiveStreamStatus\x12<\n\x12live_stream_status\x18\x01 \x01(\x0e2 .open_gopro.EnumLiveStreamStatus\x12:\n\x11live_stream_error\x18\x02 \x01(\x0e2\x1f.open_gopro.EnumLiveStreamError\x12\x1a\n\x12live_stream_encode\x18\x03 \x01(\x08\x12\x1b\n\x13live_stream_bitrate\x18\x04 \x01(\x05\x12K\n\'live_stream_window_size_supported_array\x18\x05 \x03(\x0e2\x1a.open_gopro.EnumWindowSize\x12$\n\x1clive_stream_encode_supported\x18\x06 \x01(\x08\x12(\n live_stream_max_lens_unsupported\x18\x07 \x01(\x08\x12*\n"live_stream_minimum_stream_bitrate\x18\x08 \x01(\x05\x12*\n"live_stream_maximum_stream_bitrate\x18\t \x01(\x05\x12"\n\x1alive_stream_lens_supported\x18\n \x01(\x08\x12>\n live_stream_lens_supported_array\x18\x0b \x03(\x0e2\x14.open_gopro.EnumLens"\xbc\x01\n\x1aRequestGetLiveStreamStatus\x12M\n\x1bregister_live_stream_status\x18\x01 \x03(\x0e2(.open_gopro.EnumRegisterLiveStreamStatus\x12O\n\x1dunregister_live_stream_status\x18\x02 \x03(\x0e2(.open_gopro.EnumRegisterLiveStreamStatus"\xe6\x01\n\x18RequestSetLiveStreamMode\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06encode\x18\x02 \x01(\x08\x12/\n\x0bwindow_size\x18\x03 \x01(\x0e2\x1a.open_gopro.EnumWindowSize\x12\x0c\n\x04cert\x18\x06 \x01(\x0c\x12\x17\n\x0fminimum_bitrate\x18\x07 \x01(\x05\x12\x17\n\x0fmaximum_bitrate\x18\x08 \x01(\x05\x12\x18\n\x10starting_bitrate\x18\t \x01(\x05\x12"\n\x04lens\x18\n \x01(\x0e2\x14.open_gopro.EnumLens*>\n\x08EnumLens\x12\r\n\tLENS_WIDE\x10\x00\x12\x0f\n\x0bLENS_LINEAR\x10\x04\x12\x12\n\x0eLENS_SUPERVIEW\x10\x03*\xde\x03\n\x13EnumLiveStreamError\x12\x1a\n\x16LIVE_STREAM_ERROR_NONE\x10\x00\x12\x1d\n\x19LIVE_STREAM_ERROR_NETWORK\x10\x01\x12"\n\x1eLIVE_STREAM_ERROR_CREATESTREAM\x10\x02\x12!\n\x1dLIVE_STREAM_ERROR_OUTOFMEMORY\x10\x03\x12!\n\x1dLIVE_STREAM_ERROR_INPUTSTREAM\x10\x04\x12\x1e\n\x1aLIVE_STREAM_ERROR_INTERNET\x10\x05\x12\x1f\n\x1bLIVE_STREAM_ERROR_OSNETWORK\x10\x06\x12,\n(LIVE_STREAM_ERROR_SELECTEDNETWORKTIMEOUT\x10\x07\x12#\n\x1fLIVE_STREAM_ERROR_SSL_HANDSHAKE\x10\x08\x12$\n LIVE_STREAM_ERROR_CAMERA_BLOCKED\x10\t\x12\x1d\n\x19LIVE_STREAM_ERROR_UNKNOWN\x10\n\x12"\n\x1eLIVE_STREAM_ERROR_SD_CARD_FULL\x10(\x12%\n!LIVE_STREAM_ERROR_SD_CARD_REMOVED\x10)*\xa3\x02\n\x14EnumLiveStreamStatus\x12\x1a\n\x16LIVE_STREAM_STATE_IDLE\x10\x00\x12\x1c\n\x18LIVE_STREAM_STATE_CONFIG\x10\x01\x12\x1b\n\x17LIVE_STREAM_STATE_READY\x10\x02\x12\x1f\n\x1bLIVE_STREAM_STATE_STREAMING\x10\x03\x12&\n"LIVE_STREAM_STATE_COMPLETE_STAY_ON\x10\x04\x12$\n LIVE_STREAM_STATE_FAILED_STAY_ON\x10\x05\x12"\n\x1eLIVE_STREAM_STATE_RECONNECTING\x10\x06\x12!\n\x1dLIVE_STREAM_STATE_UNAVAILABLE\x10\x07*\xbc\x01\n\x1cEnumRegisterLiveStreamStatus\x12&\n"REGISTER_LIVE_STREAM_STATUS_STATUS\x10\x01\x12%\n!REGISTER_LIVE_STREAM_STATUS_ERROR\x10\x02\x12$\n REGISTER_LIVE_STREAM_STATUS_MODE\x10\x03\x12\'\n#REGISTER_LIVE_STREAM_STATUS_BITRATE\x10\x04*P\n\x0eEnumWindowSize\x12\x13\n\x0fWINDOW_SIZE_480\x10\x04\x12\x13\n\x0fWINDOW_SIZE_720\x10\x07\x12\x14\n\x10WINDOW_SIZE_1080\x10\x0c'
b'\n\x14live_streaming.proto\x12\nopen_gopro"\xcb\x04\n\x16NotifyLiveStreamStatus\x12<\n\x12live_stream_status\x18\x01 \x01(\x0e2 .open_gopro.EnumLiveStreamStatus\x12:\n\x11live_stream_error\x18\x02 \x01(\x0e2\x1f.open_gopro.EnumLiveStreamError\x12\x1a\n\x12live_stream_encode\x18\x03 \x01(\x08\x12\x1b\n\x13live_stream_bitrate\x18\x04 \x01(\x05\x12K\n\'live_stream_window_size_supported_array\x18\x05 \x03(\x0e2\x1a.open_gopro.EnumWindowSize\x12$\n\x1clive_stream_encode_supported\x18\x06 \x01(\x08\x12(\n live_stream_max_lens_unsupported\x18\x07 \x01(\x08\x12*\n"live_stream_minimum_stream_bitrate\x18\x08 \x01(\x05\x12*\n"live_stream_maximum_stream_bitrate\x18\t \x01(\x05\x12"\n\x1alive_stream_lens_supported\x18\n \x01(\x08\x12>\n live_stream_lens_supported_array\x18\x0b \x03(\x0e2\x14.open_gopro.EnumLens\x12%\n\x1dlive_stream_protune_supported\x18\r \x01(\x08"\xbc\x01\n\x1aRequestGetLiveStreamStatus\x12M\n\x1bregister_live_stream_status\x18\x01 \x03(\x0e2(.open_gopro.EnumRegisterLiveStreamStatus\x12O\n\x1dunregister_live_stream_status\x18\x02 \x03(\x0e2(.open_gopro.EnumRegisterLiveStreamStatus"\xe6\x01\n\x18RequestSetLiveStreamMode\x12\x0b\n\x03url\x18\x01 \x01(\t\x12\x0e\n\x06encode\x18\x02 \x01(\x08\x12/\n\x0bwindow_size\x18\x03 \x01(\x0e2\x1a.open_gopro.EnumWindowSize\x12\x0c\n\x04cert\x18\x06 \x01(\x0c\x12\x17\n\x0fminimum_bitrate\x18\x07 \x01(\x05\x12\x17\n\x0fmaximum_bitrate\x18\x08 \x01(\x05\x12\x18\n\x10starting_bitrate\x18\t \x01(\x05\x12"\n\x04lens\x18\n \x01(\x0e2\x14.open_gopro.EnumLens*>\n\x08EnumLens\x12\r\n\tLENS_WIDE\x10\x00\x12\x0f\n\x0bLENS_LINEAR\x10\x04\x12\x12\n\x0eLENS_SUPERVIEW\x10\x03*\xde\x03\n\x13EnumLiveStreamError\x12\x1a\n\x16LIVE_STREAM_ERROR_NONE\x10\x00\x12\x1d\n\x19LIVE_STREAM_ERROR_NETWORK\x10\x01\x12"\n\x1eLIVE_STREAM_ERROR_CREATESTREAM\x10\x02\x12!\n\x1dLIVE_STREAM_ERROR_OUTOFMEMORY\x10\x03\x12!\n\x1dLIVE_STREAM_ERROR_INPUTSTREAM\x10\x04\x12\x1e\n\x1aLIVE_STREAM_ERROR_INTERNET\x10\x05\x12\x1f\n\x1bLIVE_STREAM_ERROR_OSNETWORK\x10\x06\x12,\n(LIVE_STREAM_ERROR_SELECTEDNETWORKTIMEOUT\x10\x07\x12#\n\x1fLIVE_STREAM_ERROR_SSL_HANDSHAKE\x10\x08\x12$\n LIVE_STREAM_ERROR_CAMERA_BLOCKED\x10\t\x12\x1d\n\x19LIVE_STREAM_ERROR_UNKNOWN\x10\n\x12"\n\x1eLIVE_STREAM_ERROR_SD_CARD_FULL\x10(\x12%\n!LIVE_STREAM_ERROR_SD_CARD_REMOVED\x10)*\xa3\x02\n\x14EnumLiveStreamStatus\x12\x1a\n\x16LIVE_STREAM_STATE_IDLE\x10\x00\x12\x1c\n\x18LIVE_STREAM_STATE_CONFIG\x10\x01\x12\x1b\n\x17LIVE_STREAM_STATE_READY\x10\x02\x12\x1f\n\x1bLIVE_STREAM_STATE_STREAMING\x10\x03\x12&\n"LIVE_STREAM_STATE_COMPLETE_STAY_ON\x10\x04\x12$\n LIVE_STREAM_STATE_FAILED_STAY_ON\x10\x05\x12"\n\x1eLIVE_STREAM_STATE_RECONNECTING\x10\x06\x12!\n\x1dLIVE_STREAM_STATE_UNAVAILABLE\x10\x07*\xbc\x01\n\x1cEnumRegisterLiveStreamStatus\x12&\n"REGISTER_LIVE_STREAM_STATUS_STATUS\x10\x01\x12%\n!REGISTER_LIVE_STREAM_STATUS_ERROR\x10\x02\x12$\n REGISTER_LIVE_STREAM_STATUS_MODE\x10\x03\x12\'\n#REGISTER_LIVE_STREAM_STATUS_BITRATE\x10\x04*P\n\x0eEnumWindowSize\x12\x13\n\x0fWINDOW_SIZE_480\x10\x04\x12\x13\n\x0fWINDOW_SIZE_720\x10\x07\x12\x14\n\x10WINDOW_SIZE_1080\x10\x0c'
)
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "live_streaming_pb2", globals())
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_ENUMLENS._serialized_start = 1011
_ENUMLENS._serialized_end = 1073
_ENUMLIVESTREAMERROR._serialized_start = 1076
_ENUMLIVESTREAMERROR._serialized_end = 1554
_ENUMLIVESTREAMSTATUS._serialized_start = 1557
_ENUMLIVESTREAMSTATUS._serialized_end = 1848
_ENUMREGISTERLIVESTREAMSTATUS._serialized_start = 1851
_ENUMREGISTERLIVESTREAMSTATUS._serialized_end = 2039
_ENUMWINDOWSIZE._serialized_start = 2041
_ENUMWINDOWSIZE._serialized_end = 2121
_ENUMLENS._serialized_start = 1050
_ENUMLENS._serialized_end = 1112
_ENUMLIVESTREAMERROR._serialized_start = 1115
_ENUMLIVESTREAMERROR._serialized_end = 1593
_ENUMLIVESTREAMSTATUS._serialized_start = 1596
_ENUMLIVESTREAMSTATUS._serialized_end = 1887
_ENUMREGISTERLIVESTREAMSTATUS._serialized_start = 1890
_ENUMREGISTERLIVESTREAMSTATUS._serialized_end = 2078
_ENUMWINDOWSIZE._serialized_start = 2080
_ENUMWINDOWSIZE._serialized_end = 2160
_NOTIFYLIVESTREAMSTATUS._serialized_start = 37
_NOTIFYLIVESTREAMSTATUS._serialized_end = 585
_REQUESTGETLIVESTREAMSTATUS._serialized_start = 588
_REQUESTGETLIVESTREAMSTATUS._serialized_end = 776
_REQUESTSETLIVESTREAMMODE._serialized_start = 779
_REQUESTSETLIVESTREAMMODE._serialized_end = 1009
_NOTIFYLIVESTREAMSTATUS._serialized_end = 624
_REQUESTGETLIVESTREAMSTATUS._serialized_start = 627
_REQUESTGETLIVESTREAMSTATUS._serialized_end = 815
_REQUESTSETLIVESTREAMMODE._serialized_start = 818
_REQUESTSETLIVESTREAMMODE._serialized_end = 1048
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
LIVE_STREAM_MAXIMUM_STREAM_BITRATE_FIELD_NUMBER: builtins.int
LIVE_STREAM_LENS_SUPPORTED_FIELD_NUMBER: builtins.int
LIVE_STREAM_LENS_SUPPORTED_ARRAY_FIELD_NUMBER: builtins.int
LIVE_STREAM_PROTUNE_SUPPORTED_FIELD_NUMBER: builtins.int
live_stream_status: global___EnumLiveStreamStatus.ValueType
"Live stream status"
live_stream_error: global___EnumLiveStreamError.ValueType
Expand Down Expand Up @@ -250,6 +251,9 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
self,
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___EnumLens.ValueType]:
"""Set of currently supported FOV options"""
live_stream_protune_supported: builtins.bool
"Does the camera support live stream protune settings"

def __init__(
self,
*,
Expand All @@ -265,7 +269,8 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
live_stream_minimum_stream_bitrate: builtins.int | None = ...,
live_stream_maximum_stream_bitrate: builtins.int | None = ...,
live_stream_lens_supported: builtins.bool | None = ...,
live_stream_lens_supported_array: (collections.abc.Iterable[global___EnumLens.ValueType] | None) = ...
live_stream_lens_supported_array: (collections.abc.Iterable[global___EnumLens.ValueType] | None) = ...,
live_stream_protune_supported: builtins.bool | None = ...
) -> None: ...
def HasField(
self,
Expand All @@ -286,6 +291,8 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
b"live_stream_maximum_stream_bitrate",
"live_stream_minimum_stream_bitrate",
b"live_stream_minimum_stream_bitrate",
"live_stream_protune_supported",
b"live_stream_protune_supported",
"live_stream_status",
b"live_stream_status",
],
Expand All @@ -311,6 +318,8 @@ class NotifyLiveStreamStatus(google.protobuf.message.Message):
b"live_stream_maximum_stream_bitrate",
"live_stream_minimum_stream_bitrate",
b"live_stream_minimum_stream_bitrate",
"live_stream_protune_supported",
b"live_stream_protune_supported",
"live_stream_status",
b"live_stream_status",
"live_stream_window_size_supported_array",
Expand Down Expand Up @@ -392,7 +401,7 @@ class RequestSetLiveStreamMode(google.protobuf.message.Message):
encode: builtins.bool
"Save media to sdcard while streaming?"
window_size: global___EnumWindowSize.ValueType
"*\n Resolution to use for live stream\n\n The set of supported resolutions is only available from the `live_stream_window_size_supported_array` in @ref NotifyLiveStreamStatus)\n "
"*\n Resolution to use for live stream\n\n The set of supported resolutions is only available from the `live_stream_window_size_supported_array`\n in @ref NotifyLiveStreamStatus.\n "
cert: builtins.bytes
"Certificate for servers that require it in PEM format"
minimum_bitrate: builtins.int
Expand All @@ -402,7 +411,7 @@ class RequestSetLiveStreamMode(google.protobuf.message.Message):
starting_bitrate: builtins.int
"Starting bitrate"
lens: global___EnumLens.ValueType
"*\n Lens to use for live stream\n\n The set of supported lenses is only available from the `live_stream_lens_supported_array` in @ref NotifyLiveStreamStatus)\n "
"*\n Lens to use for live stream\n\n The set of supported lenses is only available from the `live_stream_lens_supported_array`\n in @ref NotifyLiveStreamStatus.\n "

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# media_pb2.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Fri Apr 19 21:27:08 UTC 2024

"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# network_management_pb2.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
# This copyright was auto-generated on Fri Apr 19 21:27:08 UTC 2024

"""Generated protocol buffer code."""

from google.protobuf import descriptor as _descriptor
Expand Down
Loading