winrt-Windows.Media.Streaming.Adaptive 2.2.0__cp313-cp313-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_media_streaming_adaptive.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_media_streaming_adaptive.pyi +322 -0
- winrt/windows/media/streaming/adaptive/__init__.py +79 -0
- winrt/windows/media/streaming/adaptive/py.typed +0 -0
- winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/METADATA +28 -0
- winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
15
|
+
import winrt.windows.web.http as windows_web_http
|
|
16
|
+
|
|
17
|
+
from winrt.windows.media.streaming.adaptive import AdaptiveMediaSourceCreationStatus, AdaptiveMediaSourceDiagnosticType, AdaptiveMediaSourceDownloadBitrateChangedReason, AdaptiveMediaSourceResourceType
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class AdaptiveMediaSource_Static(type):
|
|
23
|
+
@typing.overload
|
|
24
|
+
def create_from_stream_async(cls, stream: typing.Optional[windows_storage_streams.IInputStream], uri: typing.Optional[windows_foundation.Uri], content_type: str, /) -> windows_foundation.IAsyncOperation[AdaptiveMediaSourceCreationResult]: ...
|
|
25
|
+
@typing.overload
|
|
26
|
+
def create_from_stream_async(cls, stream: typing.Optional[windows_storage_streams.IInputStream], uri: typing.Optional[windows_foundation.Uri], content_type: str, http_client: typing.Optional[windows_web_http.HttpClient], /) -> windows_foundation.IAsyncOperation[AdaptiveMediaSourceCreationResult]: ...
|
|
27
|
+
@typing.overload
|
|
28
|
+
def create_from_uri_async(cls, uri: typing.Optional[windows_foundation.Uri], /) -> windows_foundation.IAsyncOperation[AdaptiveMediaSourceCreationResult]: ...
|
|
29
|
+
@typing.overload
|
|
30
|
+
def create_from_uri_async(cls, uri: typing.Optional[windows_foundation.Uri], http_client: typing.Optional[windows_web_http.HttpClient], /) -> windows_foundation.IAsyncOperation[AdaptiveMediaSourceCreationResult]: ...
|
|
31
|
+
def is_content_type_supported(cls, content_type: str, /) -> bool: ...
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class AdaptiveMediaSource(winrt.system.Object, metaclass=AdaptiveMediaSource_Static):
|
|
35
|
+
def __enter__(self: Self) -> Self: ...
|
|
36
|
+
def __exit__(self, *args) -> None: ...
|
|
37
|
+
@staticmethod
|
|
38
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSource: ...
|
|
39
|
+
def close(self) -> None: ...
|
|
40
|
+
def get_correlated_times(self) -> typing.Optional[AdaptiveMediaSourceCorrelatedTimes]: ...
|
|
41
|
+
def add_download_bitrate_changed(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSource, AdaptiveMediaSourceDownloadBitrateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
42
|
+
def remove_download_bitrate_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
43
|
+
def add_download_completed(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSource, AdaptiveMediaSourceDownloadCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
44
|
+
def remove_download_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
45
|
+
def add_download_failed(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSource, AdaptiveMediaSourceDownloadFailedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
46
|
+
def remove_download_failed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
47
|
+
def add_download_requested(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSource, AdaptiveMediaSourceDownloadRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
48
|
+
def remove_download_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
49
|
+
def add_playback_bitrate_changed(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSource, AdaptiveMediaSourcePlaybackBitrateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
50
|
+
def remove_playback_bitrate_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
51
|
+
@_property
|
|
52
|
+
def initial_bitrate(self) -> winrt.system.UInt32: ...
|
|
53
|
+
@initial_bitrate.setter
|
|
54
|
+
def initial_bitrate(self, value: winrt.system.UInt32) -> None: ...
|
|
55
|
+
@_property
|
|
56
|
+
def inbound_bits_per_second_window(self) -> datetime.timedelta: ...
|
|
57
|
+
@inbound_bits_per_second_window.setter
|
|
58
|
+
def inbound_bits_per_second_window(self, value: datetime.timedelta) -> None: ...
|
|
59
|
+
@_property
|
|
60
|
+
def desired_max_bitrate(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
|
|
61
|
+
@desired_max_bitrate.setter
|
|
62
|
+
def desired_max_bitrate(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
|
|
63
|
+
@_property
|
|
64
|
+
def desired_live_offset(self) -> datetime.timedelta: ...
|
|
65
|
+
@desired_live_offset.setter
|
|
66
|
+
def desired_live_offset(self, value: datetime.timedelta) -> None: ...
|
|
67
|
+
@_property
|
|
68
|
+
def desired_min_bitrate(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
|
|
69
|
+
@desired_min_bitrate.setter
|
|
70
|
+
def desired_min_bitrate(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
|
|
71
|
+
@_property
|
|
72
|
+
def current_playback_bitrate(self) -> winrt.system.UInt32: ...
|
|
73
|
+
@_property
|
|
74
|
+
def audio_only_playback(self) -> bool: ...
|
|
75
|
+
@_property
|
|
76
|
+
def inbound_bits_per_second(self) -> winrt.system.UInt64: ...
|
|
77
|
+
@_property
|
|
78
|
+
def available_bitrates(self) -> typing.Optional[windows_foundation_collections.IVectorView[winrt.system.UInt32]]: ...
|
|
79
|
+
@_property
|
|
80
|
+
def current_download_bitrate(self) -> winrt.system.UInt32: ...
|
|
81
|
+
@_property
|
|
82
|
+
def is_live(self) -> bool: ...
|
|
83
|
+
@_property
|
|
84
|
+
def advanced_settings(self) -> typing.Optional[AdaptiveMediaSourceAdvancedSettings]: ...
|
|
85
|
+
@_property
|
|
86
|
+
def desired_seekable_window_size(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
87
|
+
@desired_seekable_window_size.setter
|
|
88
|
+
def desired_seekable_window_size(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
|
|
89
|
+
@_property
|
|
90
|
+
def diagnostics(self) -> typing.Optional[AdaptiveMediaSourceDiagnostics]: ...
|
|
91
|
+
@_property
|
|
92
|
+
def max_seekable_window_size(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
93
|
+
@_property
|
|
94
|
+
def min_live_offset(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class AdaptiveMediaSourceAdvancedSettings(winrt.system.Object):
|
|
98
|
+
@staticmethod
|
|
99
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceAdvancedSettings: ...
|
|
100
|
+
@_property
|
|
101
|
+
def desired_bitrate_headroom_ratio(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
|
|
102
|
+
@desired_bitrate_headroom_ratio.setter
|
|
103
|
+
def desired_bitrate_headroom_ratio(self, value: typing.Optional[typing.Optional[winrt.system.Double]]) -> None: ...
|
|
104
|
+
@_property
|
|
105
|
+
def bitrate_downgrade_trigger_ratio(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
|
|
106
|
+
@bitrate_downgrade_trigger_ratio.setter
|
|
107
|
+
def bitrate_downgrade_trigger_ratio(self, value: typing.Optional[typing.Optional[winrt.system.Double]]) -> None: ...
|
|
108
|
+
@_property
|
|
109
|
+
def all_segments_independent(self) -> bool: ...
|
|
110
|
+
@all_segments_independent.setter
|
|
111
|
+
def all_segments_independent(self, value: bool) -> None: ...
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class AdaptiveMediaSourceCorrelatedTimes(winrt.system.Object):
|
|
115
|
+
@staticmethod
|
|
116
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceCorrelatedTimes: ...
|
|
117
|
+
@_property
|
|
118
|
+
def position(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
119
|
+
@_property
|
|
120
|
+
def presentation_time_stamp(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
121
|
+
@_property
|
|
122
|
+
def program_date_time(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class AdaptiveMediaSourceCreationResult(winrt.system.Object):
|
|
126
|
+
@staticmethod
|
|
127
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceCreationResult: ...
|
|
128
|
+
@_property
|
|
129
|
+
def http_response_message(self) -> typing.Optional[windows_web_http.HttpResponseMessage]: ...
|
|
130
|
+
@_property
|
|
131
|
+
def media_source(self) -> typing.Optional[AdaptiveMediaSource]: ...
|
|
132
|
+
@_property
|
|
133
|
+
def status(self) -> AdaptiveMediaSourceCreationStatus: ...
|
|
134
|
+
@_property
|
|
135
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
136
|
+
|
|
137
|
+
@typing.final
|
|
138
|
+
class AdaptiveMediaSourceDiagnosticAvailableEventArgs(winrt.system.Object):
|
|
139
|
+
@staticmethod
|
|
140
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDiagnosticAvailableEventArgs: ...
|
|
141
|
+
@_property
|
|
142
|
+
def bitrate(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
|
|
143
|
+
@_property
|
|
144
|
+
def diagnostic_type(self) -> AdaptiveMediaSourceDiagnosticType: ...
|
|
145
|
+
@_property
|
|
146
|
+
def position(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
147
|
+
@_property
|
|
148
|
+
def request_id(self) -> typing.Optional[typing.Optional[winrt.system.Int32]]: ...
|
|
149
|
+
@_property
|
|
150
|
+
def resource_byte_range_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
151
|
+
@_property
|
|
152
|
+
def resource_byte_range_offset(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
153
|
+
@_property
|
|
154
|
+
def resource_type(self) -> typing.Optional[typing.Optional[AdaptiveMediaSourceResourceType]]: ...
|
|
155
|
+
@_property
|
|
156
|
+
def resource_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
157
|
+
@_property
|
|
158
|
+
def segment_id(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
159
|
+
@_property
|
|
160
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
161
|
+
@_property
|
|
162
|
+
def resource_content_type(self) -> str: ...
|
|
163
|
+
@_property
|
|
164
|
+
def resource_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
165
|
+
|
|
166
|
+
@typing.final
|
|
167
|
+
class AdaptiveMediaSourceDiagnostics(winrt.system.Object):
|
|
168
|
+
@staticmethod
|
|
169
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDiagnostics: ...
|
|
170
|
+
def add_diagnostic_available(self, handler: windows_foundation.TypedEventHandler[AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
171
|
+
def remove_diagnostic_available(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
172
|
+
|
|
173
|
+
@typing.final
|
|
174
|
+
class AdaptiveMediaSourceDownloadBitrateChangedEventArgs(winrt.system.Object):
|
|
175
|
+
@staticmethod
|
|
176
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadBitrateChangedEventArgs: ...
|
|
177
|
+
@_property
|
|
178
|
+
def new_value(self) -> winrt.system.UInt32: ...
|
|
179
|
+
@_property
|
|
180
|
+
def old_value(self) -> winrt.system.UInt32: ...
|
|
181
|
+
@_property
|
|
182
|
+
def reason(self) -> AdaptiveMediaSourceDownloadBitrateChangedReason: ...
|
|
183
|
+
|
|
184
|
+
@typing.final
|
|
185
|
+
class AdaptiveMediaSourceDownloadCompletedEventArgs(winrt.system.Object):
|
|
186
|
+
@staticmethod
|
|
187
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadCompletedEventArgs: ...
|
|
188
|
+
@_property
|
|
189
|
+
def http_response_message(self) -> typing.Optional[windows_web_http.HttpResponseMessage]: ...
|
|
190
|
+
@_property
|
|
191
|
+
def resource_byte_range_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
192
|
+
@_property
|
|
193
|
+
def resource_byte_range_offset(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
194
|
+
@_property
|
|
195
|
+
def resource_type(self) -> AdaptiveMediaSourceResourceType: ...
|
|
196
|
+
@_property
|
|
197
|
+
def resource_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
198
|
+
@_property
|
|
199
|
+
def position(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
200
|
+
@_property
|
|
201
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
202
|
+
@_property
|
|
203
|
+
def statistics(self) -> typing.Optional[AdaptiveMediaSourceDownloadStatistics]: ...
|
|
204
|
+
@_property
|
|
205
|
+
def resource_content_type(self) -> str: ...
|
|
206
|
+
@_property
|
|
207
|
+
def resource_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
208
|
+
|
|
209
|
+
@typing.final
|
|
210
|
+
class AdaptiveMediaSourceDownloadFailedEventArgs(winrt.system.Object):
|
|
211
|
+
@staticmethod
|
|
212
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadFailedEventArgs: ...
|
|
213
|
+
@_property
|
|
214
|
+
def http_response_message(self) -> typing.Optional[windows_web_http.HttpResponseMessage]: ...
|
|
215
|
+
@_property
|
|
216
|
+
def resource_byte_range_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
217
|
+
@_property
|
|
218
|
+
def resource_byte_range_offset(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
219
|
+
@_property
|
|
220
|
+
def resource_type(self) -> AdaptiveMediaSourceResourceType: ...
|
|
221
|
+
@_property
|
|
222
|
+
def resource_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
223
|
+
@_property
|
|
224
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
225
|
+
@_property
|
|
226
|
+
def position(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
227
|
+
@_property
|
|
228
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
229
|
+
@_property
|
|
230
|
+
def statistics(self) -> typing.Optional[AdaptiveMediaSourceDownloadStatistics]: ...
|
|
231
|
+
@_property
|
|
232
|
+
def resource_content_type(self) -> str: ...
|
|
233
|
+
@_property
|
|
234
|
+
def resource_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
235
|
+
|
|
236
|
+
@typing.final
|
|
237
|
+
class AdaptiveMediaSourceDownloadRequestedDeferral(winrt.system.Object):
|
|
238
|
+
@staticmethod
|
|
239
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadRequestedDeferral: ...
|
|
240
|
+
def complete(self) -> None: ...
|
|
241
|
+
|
|
242
|
+
@typing.final
|
|
243
|
+
class AdaptiveMediaSourceDownloadRequestedEventArgs(winrt.system.Object):
|
|
244
|
+
@staticmethod
|
|
245
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadRequestedEventArgs: ...
|
|
246
|
+
def get_deferral(self) -> typing.Optional[AdaptiveMediaSourceDownloadRequestedDeferral]: ...
|
|
247
|
+
@_property
|
|
248
|
+
def resource_byte_range_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
249
|
+
@_property
|
|
250
|
+
def resource_byte_range_offset(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
251
|
+
@_property
|
|
252
|
+
def resource_type(self) -> AdaptiveMediaSourceResourceType: ...
|
|
253
|
+
@_property
|
|
254
|
+
def resource_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
255
|
+
@_property
|
|
256
|
+
def result(self) -> typing.Optional[AdaptiveMediaSourceDownloadResult]: ...
|
|
257
|
+
@_property
|
|
258
|
+
def position(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
259
|
+
@_property
|
|
260
|
+
def request_id(self) -> winrt.system.Int32: ...
|
|
261
|
+
@_property
|
|
262
|
+
def resource_content_type(self) -> str: ...
|
|
263
|
+
@_property
|
|
264
|
+
def resource_duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
265
|
+
|
|
266
|
+
@typing.final
|
|
267
|
+
class AdaptiveMediaSourceDownloadResult(winrt.system.Object):
|
|
268
|
+
@staticmethod
|
|
269
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadResult: ...
|
|
270
|
+
@_property
|
|
271
|
+
def resource_uri(self) -> typing.Optional[windows_foundation.Uri]: ...
|
|
272
|
+
@resource_uri.setter
|
|
273
|
+
def resource_uri(self, value: typing.Optional[windows_foundation.Uri]) -> None: ...
|
|
274
|
+
@_property
|
|
275
|
+
def input_stream(self) -> typing.Optional[windows_storage_streams.IInputStream]: ...
|
|
276
|
+
@input_stream.setter
|
|
277
|
+
def input_stream(self, value: typing.Optional[windows_storage_streams.IInputStream]) -> None: ...
|
|
278
|
+
@_property
|
|
279
|
+
def extended_status(self) -> winrt.system.UInt32: ...
|
|
280
|
+
@extended_status.setter
|
|
281
|
+
def extended_status(self, value: winrt.system.UInt32) -> None: ...
|
|
282
|
+
@_property
|
|
283
|
+
def content_type(self) -> str: ...
|
|
284
|
+
@content_type.setter
|
|
285
|
+
def content_type(self, value: str) -> None: ...
|
|
286
|
+
@_property
|
|
287
|
+
def buffer(self) -> typing.Optional[windows_storage_streams.IBuffer]: ...
|
|
288
|
+
@buffer.setter
|
|
289
|
+
def buffer(self, value: typing.Optional[windows_storage_streams.IBuffer]) -> None: ...
|
|
290
|
+
@_property
|
|
291
|
+
def resource_byte_range_offset(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
292
|
+
@resource_byte_range_offset.setter
|
|
293
|
+
def resource_byte_range_offset(self, value: typing.Optional[typing.Optional[winrt.system.UInt64]]) -> None: ...
|
|
294
|
+
@_property
|
|
295
|
+
def resource_byte_range_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
|
|
296
|
+
@resource_byte_range_length.setter
|
|
297
|
+
def resource_byte_range_length(self, value: typing.Optional[typing.Optional[winrt.system.UInt64]]) -> None: ...
|
|
298
|
+
|
|
299
|
+
@typing.final
|
|
300
|
+
class AdaptiveMediaSourceDownloadStatistics(winrt.system.Object):
|
|
301
|
+
@staticmethod
|
|
302
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourceDownloadStatistics: ...
|
|
303
|
+
@_property
|
|
304
|
+
def content_bytes_received_count(self) -> winrt.system.UInt64: ...
|
|
305
|
+
@_property
|
|
306
|
+
def time_to_first_byte_received(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
307
|
+
@_property
|
|
308
|
+
def time_to_headers_received(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
309
|
+
@_property
|
|
310
|
+
def time_to_last_byte_received(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
311
|
+
|
|
312
|
+
@typing.final
|
|
313
|
+
class AdaptiveMediaSourcePlaybackBitrateChangedEventArgs(winrt.system.Object):
|
|
314
|
+
@staticmethod
|
|
315
|
+
def _from(obj: winrt.system.Object, /) -> AdaptiveMediaSourcePlaybackBitrateChangedEventArgs: ...
|
|
316
|
+
@_property
|
|
317
|
+
def audio_only(self) -> bool: ...
|
|
318
|
+
@_property
|
|
319
|
+
def new_value(self) -> winrt.system.UInt32: ...
|
|
320
|
+
@_property
|
|
321
|
+
def old_value(self) -> winrt.system.UInt32: ...
|
|
322
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_media_streaming_adaptive
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"AdaptiveMediaSourceCreationStatus",
|
|
10
|
+
"AdaptiveMediaSourceDiagnosticType",
|
|
11
|
+
"AdaptiveMediaSourceDownloadBitrateChangedReason",
|
|
12
|
+
"AdaptiveMediaSourceResourceType",
|
|
13
|
+
"AdaptiveMediaSource",
|
|
14
|
+
"AdaptiveMediaSourceAdvancedSettings",
|
|
15
|
+
"AdaptiveMediaSourceCorrelatedTimes",
|
|
16
|
+
"AdaptiveMediaSourceCreationResult",
|
|
17
|
+
"AdaptiveMediaSourceDiagnosticAvailableEventArgs",
|
|
18
|
+
"AdaptiveMediaSourceDiagnostics",
|
|
19
|
+
"AdaptiveMediaSourceDownloadBitrateChangedEventArgs",
|
|
20
|
+
"AdaptiveMediaSourceDownloadCompletedEventArgs",
|
|
21
|
+
"AdaptiveMediaSourceDownloadFailedEventArgs",
|
|
22
|
+
"AdaptiveMediaSourceDownloadRequestedDeferral",
|
|
23
|
+
"AdaptiveMediaSourceDownloadRequestedEventArgs",
|
|
24
|
+
"AdaptiveMediaSourceDownloadResult",
|
|
25
|
+
"AdaptiveMediaSourceDownloadStatistics",
|
|
26
|
+
"AdaptiveMediaSourcePlaybackBitrateChangedEventArgs",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
class AdaptiveMediaSourceCreationStatus(enum.IntEnum):
|
|
30
|
+
SUCCESS = 0
|
|
31
|
+
MANIFEST_DOWNLOAD_FAILURE = 1
|
|
32
|
+
MANIFEST_PARSE_FAILURE = 2
|
|
33
|
+
UNSUPPORTED_MANIFEST_CONTENT_TYPE = 3
|
|
34
|
+
UNSUPPORTED_MANIFEST_VERSION = 4
|
|
35
|
+
UNSUPPORTED_MANIFEST_PROFILE = 5
|
|
36
|
+
UNKNOWN_FAILURE = 6
|
|
37
|
+
|
|
38
|
+
class AdaptiveMediaSourceDiagnosticType(enum.IntEnum):
|
|
39
|
+
MANIFEST_UNCHANGED_UPON_RELOAD = 0
|
|
40
|
+
MANIFEST_MISMATCH_UPON_RELOAD = 1
|
|
41
|
+
MANIFEST_SIGNALED_END_OF_LIVE_EVENT_UPON_RELOAD = 2
|
|
42
|
+
MEDIA_SEGMENT_SKIPPED = 3
|
|
43
|
+
RESOURCE_NOT_FOUND = 4
|
|
44
|
+
RESOURCE_TIMED_OUT = 5
|
|
45
|
+
RESOURCE_PARSING_ERROR = 6
|
|
46
|
+
BITRATE_DISABLED = 7
|
|
47
|
+
FATAL_MEDIA_SOURCE_ERROR = 8
|
|
48
|
+
|
|
49
|
+
class AdaptiveMediaSourceDownloadBitrateChangedReason(enum.IntEnum):
|
|
50
|
+
SUFFICIENT_INBOUND_BITS_PER_SECOND = 0
|
|
51
|
+
INSUFFICIENT_INBOUND_BITS_PER_SECOND = 1
|
|
52
|
+
LOW_BUFFER_LEVEL = 2
|
|
53
|
+
POSITION_CHANGED = 3
|
|
54
|
+
TRACK_SELECTION_CHANGED = 4
|
|
55
|
+
DESIRED_BITRATES_CHANGED = 5
|
|
56
|
+
ERROR_IN_PREVIOUS_BITRATE = 6
|
|
57
|
+
|
|
58
|
+
class AdaptiveMediaSourceResourceType(enum.IntEnum):
|
|
59
|
+
MANIFEST = 0
|
|
60
|
+
INITIALIZATION_SEGMENT = 1
|
|
61
|
+
MEDIA_SEGMENT = 2
|
|
62
|
+
KEY = 3
|
|
63
|
+
INITIALIZATION_VECTOR = 4
|
|
64
|
+
MEDIA_SEGMENT_INDEX = 5
|
|
65
|
+
|
|
66
|
+
AdaptiveMediaSource = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSource
|
|
67
|
+
AdaptiveMediaSourceAdvancedSettings = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceAdvancedSettings
|
|
68
|
+
AdaptiveMediaSourceCorrelatedTimes = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceCorrelatedTimes
|
|
69
|
+
AdaptiveMediaSourceCreationResult = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceCreationResult
|
|
70
|
+
AdaptiveMediaSourceDiagnosticAvailableEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDiagnosticAvailableEventArgs
|
|
71
|
+
AdaptiveMediaSourceDiagnostics = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDiagnostics
|
|
72
|
+
AdaptiveMediaSourceDownloadBitrateChangedEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadBitrateChangedEventArgs
|
|
73
|
+
AdaptiveMediaSourceDownloadCompletedEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadCompletedEventArgs
|
|
74
|
+
AdaptiveMediaSourceDownloadFailedEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadFailedEventArgs
|
|
75
|
+
AdaptiveMediaSourceDownloadRequestedDeferral = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadRequestedDeferral
|
|
76
|
+
AdaptiveMediaSourceDownloadRequestedEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadRequestedEventArgs
|
|
77
|
+
AdaptiveMediaSourceDownloadResult = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadResult
|
|
78
|
+
AdaptiveMediaSourceDownloadStatistics = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourceDownloadStatistics
|
|
79
|
+
AdaptiveMediaSourcePlaybackBitrateChangedEventArgs = _winrt_windows_media_streaming_adaptive.AdaptiveMediaSourcePlaybackBitrateChangedEventArgs
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Media.Streaming.Adaptive
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Web.Http[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.Media.Streaming.Adaptive
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Media.Streaming.Adaptive` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.media.streaming.adaptive` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_media_streaming_adaptive.cp313-win32.pyd,sha256=e2Px0lQelkvLo4ulxuvNQ6Y6WkR4JyurI4frEtEkWEo,198656
|
|
2
|
+
winrt/_winrt_windows_media_streaming_adaptive.pyi,sha256=nQxUrnhvELZeRqQUJyJEluyhFA1H_AnAvAF325Xyt5E,16896
|
|
3
|
+
winrt/windows/media/streaming/adaptive/__init__.py,sha256=5powJwJz75pWoDuGcf__eCq_uvhaeyIPOZmr0JGXpyM,3864
|
|
4
|
+
winrt/windows/media/streaming/adaptive/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/METADATA,sha256=kPJCsM20otcHojKbQnqD6IroF2JkxSMCxsuGy1hVcs8,1307
|
|
6
|
+
winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Media.Streaming.Adaptive-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|