-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathagorartc.py
More file actions
8263 lines (6851 loc) · 462 KB
/
agorartc.py
File metadata and controls
8263 lines (6851 loc) · 462 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
raise RuntimeError("Python 2.7 or later required")
# Import the low-level C/C++ module
if __package__ or "." in __name__:
from . import _agorartc
else:
import _agorartc
try:
import builtins as __builtin__
except ImportError:
import __builtin__
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except __builtin__.Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
def _swig_setattr_nondynamic_instance_variable(set):
def set_instance_attr(self, name, value):
if name == "thisown":
self.this.own(value)
elif name == "this":
set(self, name, value)
elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
set(self, name, value)
else:
raise AttributeError("You cannot add instance attributes to %s" % self)
return set_instance_attr
def _swig_setattr_nondynamic_class_variable(set):
def set_class_attr(cls, name, value):
if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
set(cls, name, value)
else:
raise AttributeError("You cannot add class attributes to %s" % cls)
return set_class_attr
def _swig_add_metaclass(metaclass):
"""Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
def wrapper(cls):
return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
return wrapper
class _SwigNonDynamicMeta(type):
"""Meta class to enforce nondynamic attributes (no new attributes) for a class"""
__setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
import weakref
class IString(object):
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def empty(self) -> "bool":
return _agorartc.IString_empty(self)
def c_str(self) -> "char const *":
return _agorartc.IString_c_str(self)
def data(self) -> "char const *":
return _agorartc.IString_data(self)
def length(self) -> "size_t":
return _agorartc.IString_length(self)
def release(self) -> "void":
return _agorartc.IString_release(self)
# Register IString in _agorartc:
_agorartc.IString_swigregister(IString)
AGORA_IID_AUDIO_DEVICE_MANAGER = _agorartc.AGORA_IID_AUDIO_DEVICE_MANAGER
AGORA_IID_VIDEO_DEVICE_MANAGER = _agorartc.AGORA_IID_VIDEO_DEVICE_MANAGER
AGORA_IID_RTC_ENGINE_PARAMETER = _agorartc.AGORA_IID_RTC_ENGINE_PARAMETER
AGORA_IID_MEDIA_ENGINE = _agorartc.AGORA_IID_MEDIA_ENGINE
AGORA_IID_SIGNALING_ENGINE = _agorartc.AGORA_IID_SIGNALING_ENGINE
WARN_INVALID_VIEW = _agorartc.WARN_INVALID_VIEW
r""" 8: The specified view is invalid. Specify a view when using the video call function."""
WARN_INIT_VIDEO = _agorartc.WARN_INIT_VIDEO
r""" 16: Failed to initialize the video function, possibly caused by a lack of resources. The users cannot see the video while the voice communication is not affected."""
WARN_PENDING = _agorartc.WARN_PENDING
r""" 20: The request is pending, usually due to some module not being ready, and the SDK postponed processing the request."""
WARN_NO_AVAILABLE_CHANNEL = _agorartc.WARN_NO_AVAILABLE_CHANNEL
r""" 103: No channel resources are available. Maybe because the server cannot allocate any channel resource."""
WARN_LOOKUP_CHANNEL_TIMEOUT = _agorartc.WARN_LOOKUP_CHANNEL_TIMEOUT
r""" 104: A timeout occurs when looking up the channel. When joining a channel, the SDK looks up the specified channel. This warning usually occurs when the network condition is too poor for the SDK to connect to the server."""
WARN_LOOKUP_CHANNEL_REJECTED = _agorartc.WARN_LOOKUP_CHANNEL_REJECTED
r"""
DEPRECATED** 105: The server rejects the request to look up the channel. The server cannot process this request or the request is illegal.
Deprecated as of v2.4.1. Use CONNECTION_CHANGED_REJECTED_BY_SERVER(10) in the 'onConnectionStateChanged' callback instead.
"""
WARN_OPEN_CHANNEL_TIMEOUT = _agorartc.WARN_OPEN_CHANNEL_TIMEOUT
r""" 106: A timeout occurs when opening the channel. Once the specific channel is found, the SDK opens the channel. This warning usually occurs when the network condition is too poor for the SDK to connect to the server."""
WARN_OPEN_CHANNEL_REJECTED = _agorartc.WARN_OPEN_CHANNEL_REJECTED
r""" 107: The server rejects the request to open the channel. The server cannot process this request or the request is illegal."""
WARN_SWITCH_LIVE_VIDEO_TIMEOUT = _agorartc.WARN_SWITCH_LIVE_VIDEO_TIMEOUT
r""" 111: A timeout occurs when switching to the live video."""
WARN_SET_CLIENT_ROLE_TIMEOUT = _agorartc.WARN_SET_CLIENT_ROLE_TIMEOUT
r""" 118: A timeout occurs when setting the client role in the live interactive streaming profile."""
WARN_OPEN_CHANNEL_INVALID_TICKET = _agorartc.WARN_OPEN_CHANNEL_INVALID_TICKET
r""" 121: The ticket to open the channel is invalid."""
WARN_OPEN_CHANNEL_TRY_NEXT_VOS = _agorartc.WARN_OPEN_CHANNEL_TRY_NEXT_VOS
r""" 122: Try connecting to another server."""
WARN_CHANNEL_CONNECTION_UNRECOVERABLE = _agorartc.WARN_CHANNEL_CONNECTION_UNRECOVERABLE
r""" 131: The channel connection cannot be recovered."""
WARN_CHANNEL_CONNECTION_IP_CHANGED = _agorartc.WARN_CHANNEL_CONNECTION_IP_CHANGED
WARN_CHANNEL_CONNECTION_PORT_CHANGED = _agorartc.WARN_CHANNEL_CONNECTION_PORT_CHANGED
WARN_AUDIO_MIXING_OPEN_ERROR = _agorartc.WARN_AUDIO_MIXING_OPEN_ERROR
r""" 701: An error occurs in opening the audio mixing file."""
WARN_ADM_RUNTIME_PLAYOUT_WARNING = _agorartc.WARN_ADM_RUNTIME_PLAYOUT_WARNING
r""" 1014: Audio Device Module: A warning occurs in the playback device."""
WARN_ADM_RUNTIME_RECORDING_WARNING = _agorartc.WARN_ADM_RUNTIME_RECORDING_WARNING
r""" 1016: Audio Device Module: a warning occurs in the recording device."""
WARN_ADM_RECORD_AUDIO_SILENCE = _agorartc.WARN_ADM_RECORD_AUDIO_SILENCE
r""" 1019: Audio Device Module: no valid audio data is recorded."""
WARN_ADM_PLAYOUT_MALFUNCTION = _agorartc.WARN_ADM_PLAYOUT_MALFUNCTION
r""" 1020: Audio device module: The audio playback frequency is abnormal, which may cause audio freezes. This abnormality is caused by high CPU usage. Agora recommends stopping other apps."""
WARN_ADM_RECORD_MALFUNCTION = _agorartc.WARN_ADM_RECORD_MALFUNCTION
r""" 1021: Audio device module: the audio recording frequency is abnormal, which may cause audio freezes. This abnormality is caused by high CPU usage. Agora recommends stopping other apps."""
WARN_ADM_CALL_INTERRUPTION = _agorartc.WARN_ADM_CALL_INTERRUPTION
r""" 1025: The audio playback or recording is interrupted by system events (such as a phone call)."""
WARN_ADM_IOS_CATEGORY_NOT_PLAYANDRECORD = _agorartc.WARN_ADM_IOS_CATEGORY_NOT_PLAYANDRECORD
r"""
1029: During a call, the audio session category should be set to
AVAudioSessionCategoryPlayAndRecord, and RtcEngine monitors this value.
If the audio session category is set to other values, this warning code
is triggered and RtcEngine will forcefully set it back to
AVAudioSessionCategoryPlayAndRecord.
"""
WARN_ADM_RECORD_AUDIO_LOWLEVEL = _agorartc.WARN_ADM_RECORD_AUDIO_LOWLEVEL
r""" 1031: Audio Device Module: The recorded audio voice is too low."""
WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL = _agorartc.WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
r""" 1032: Audio Device Module: The playback audio voice is too low."""
WARN_ADM_RECORD_AUDIO_IS_ACTIVE = _agorartc.WARN_ADM_RECORD_AUDIO_IS_ACTIVE
r""" 1033: Audio device module: The audio recording device is occupied."""
WARN_ADM_WINDOWS_NO_DATA_READY_EVENT = _agorartc.WARN_ADM_WINDOWS_NO_DATA_READY_EVENT
r"""
1040: Audio device module: An exception occurs with the audio drive.
Solutions:
- Disable or re-enable the audio device.
- Re-enable your device.
- Update the sound card drive.
"""
WARN_ADM_INCONSISTENT_AUDIO_DEVICE = _agorartc.WARN_ADM_INCONSISTENT_AUDIO_DEVICE
r"""
1042: Audio device module: The audio recording device is different from the audio playback device,
which may cause echoes problem. Agora recommends using the same audio device to record and playback
audio.
"""
WARN_APM_HOWLING = _agorartc.WARN_APM_HOWLING
r""" 1051: (Communication profile only) Audio processing module: A howling sound is detected when recording the audio data."""
WARN_ADM_GLITCH_STATE = _agorartc.WARN_ADM_GLITCH_STATE
r""" 1052: Audio Device Module: The device is in the glitch state."""
WARN_APM_RESIDUAL_ECHO = _agorartc.WARN_APM_RESIDUAL_ECHO
r""" 1053: Audio Processing Module: A residual echo is detected, which may be caused by the belated scheduling of system threads or the signal overflow."""
WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE = _agorartc.WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE
r""" Conditional comment:"""
WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE = _agorartc.WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
r"""
End of conditional comment. 1323: Audio device module: No available playback device.
Solution: Plug in the audio device.
"""
WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE = _agorartc.WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE
r"""
Audio device module: The capture device is released improperly.
Solutions:
- Disable or re-enable the audio device.
- Re-enable your device.
- Update the sound card drive.
"""
WARN_SUPER_RESOLUTION_STREAM_OVER_LIMITATION = _agorartc.WARN_SUPER_RESOLUTION_STREAM_OVER_LIMITATION
r""" 1610: Super-resolution warning: The original video dimensions of the remote user exceed 640 * 480."""
WARN_SUPER_RESOLUTION_USER_COUNT_OVER_LIMITATION = _agorartc.WARN_SUPER_RESOLUTION_USER_COUNT_OVER_LIMITATION
r""" 1611: Super-resolution warning: Another user is using super resolution."""
WARN_SUPER_RESOLUTION_DEVICE_NOT_SUPPORTED = _agorartc.WARN_SUPER_RESOLUTION_DEVICE_NOT_SUPPORTED
r""" 1612: The device is not supported."""
WARN_RTM_LOGIN_TIMEOUT = _agorartc.WARN_RTM_LOGIN_TIMEOUT
r""" Conditional comment:"""
WARN_RTM_KEEP_ALIVE_TIMEOUT = _agorartc.WARN_RTM_KEEP_ALIVE_TIMEOUT
ERR_OK = _agorartc.ERR_OK
r""" 0: No error occurs."""
ERR_FAILED = _agorartc.ERR_FAILED
r""" 1: A general error occurs (no specified reason)."""
ERR_INVALID_ARGUMENT = _agorartc.ERR_INVALID_ARGUMENT
r""" 2: An invalid parameter is used. For example, the specific channel name includes illegal characters."""
ERR_NOT_READY = _agorartc.ERR_NOT_READY
r"""
3: The SDK module is not ready. Possible solutions:
- Check the audio device.
- Check the completeness of the application.
- Re-initialize the RTC engine.
"""
ERR_NOT_SUPPORTED = _agorartc.ERR_NOT_SUPPORTED
r""" 4: The SDK does not support this function."""
ERR_REFUSED = _agorartc.ERR_REFUSED
r""" 5: The request is rejected."""
ERR_BUFFER_TOO_SMALL = _agorartc.ERR_BUFFER_TOO_SMALL
r""" 6: The buffer size is not big enough to store the returned data."""
ERR_NOT_INITIALIZED = _agorartc.ERR_NOT_INITIALIZED
r""" 7: The SDK is not initialized before calling this method."""
ERR_NO_PERMISSION = _agorartc.ERR_NO_PERMISSION
r""" 9: No permission exists. Check if the user has granted access to the audio or video device."""
ERR_TIMEDOUT = _agorartc.ERR_TIMEDOUT
r""" 10: An API method timeout occurs. Some API methods require the SDK to return the execution result, and this error occurs if the request takes too long (more than 10 seconds) for the SDK to process."""
ERR_CANCELED = _agorartc.ERR_CANCELED
r""" 11: The request is canceled. This is for internal SDK use only, and it does not return to the application through any method or callback."""
ERR_TOO_OFTEN = _agorartc.ERR_TOO_OFTEN
r""" 12: The method is called too often. This is for internal SDK use only, and it does not return to the application through any method or callback."""
ERR_BIND_SOCKET = _agorartc.ERR_BIND_SOCKET
r""" 13: The SDK fails to bind to the network socket. This is for internal SDK use only, and it does not return to the application through any method or callback."""
ERR_NET_DOWN = _agorartc.ERR_NET_DOWN
r""" 14: The network is unavailable. This is for internal SDK use only, and it does not return to the application through any method or callback."""
ERR_NET_NOBUFS = _agorartc.ERR_NET_NOBUFS
r""" 15: No network buffers are available. This is for internal SDK internal use only, and it does not return to the application through any method or callback."""
ERR_JOIN_CHANNEL_REJECTED = _agorartc.ERR_JOIN_CHANNEL_REJECTED
r"""
17: The request to join the channel is rejected.
- This error usually occurs when the user is already in the channel, and still calls the method to join the channel, for example, 'joinChannel'.
- This error usually occurs when the user tries to join a channel during a call test ('startEchoTest'). Once you call 'startEchoTest', you need to call 'stopEchoTest' before joining a channel.
"""
ERR_LEAVE_CHANNEL_REJECTED = _agorartc.ERR_LEAVE_CHANNEL_REJECTED
r"""
18: The request to leave the channel is rejected.
This error usually occurs:
- When the user has left the channel and still calls 'leaveChannel' to leave the channel. In this case, stop calling 'leaveChannel'.
- When the user has not joined the channel and still calls 'leaveChannel' to leave the channel. In this case, no extra operation is needed.
"""
ERR_ALREADY_IN_USE = _agorartc.ERR_ALREADY_IN_USE
r""" 19: Resources are occupied and cannot be reused."""
ERR_ABORTED = _agorartc.ERR_ABORTED
r""" 20: The SDK gives up the request due to too many requests."""
ERR_INIT_NET_ENGINE = _agorartc.ERR_INIT_NET_ENGINE
r""" 21: In Windows, specific firewall settings can cause the SDK to fail to initialize and crash."""
ERR_RESOURCE_LIMITED = _agorartc.ERR_RESOURCE_LIMITED
r""" 22: The application uses too much of the system resources and the SDK fails to allocate the resources."""
ERR_INVALID_APP_ID = _agorartc.ERR_INVALID_APP_ID
r""" 101: The specified App ID is invalid. Please try to rejoin the channel with a valid App ID."""
ERR_INVALID_CHANNEL_NAME = _agorartc.ERR_INVALID_CHANNEL_NAME
r""" 102: The specified channel name is invalid. Please try to rejoin the channel with a valid channel name."""
ERR_NO_SERVER_RESOURCES = _agorartc.ERR_NO_SERVER_RESOURCES
r""" 103: Fails to get server resources in the specified region. Please try to specify another region when calling 'initialize'."""
ERR_TOKEN_EXPIRED = _agorartc.ERR_TOKEN_EXPIRED
r"""
DEPRECATED** 109: Deprecated as of v2.4.1. Use CONNECTION_CHANGED_TOKEN_EXPIRED(9) in the 'onConnectionStateChanged' callback instead.
The token expired due to one of the following reasons:
- Authorized Timestamp expired: The timestamp is represented by the number of seconds elapsed since 1/1/1970. The user can use the Token to access the Agora service within 24 hours after the Token is generated. If the user does not access the Agora service after 24 hours, this Token is no longer valid.
- Call Expiration Timestamp expired: The timestamp is the exact time when a user can no longer use the Agora service (for example, when a user is forced to leave an ongoing call). When a value is set for the Call Expiration Timestamp, it does not mean that the token will expire, but that the user will be banned from the channel.
"""
ERR_INVALID_TOKEN = _agorartc.ERR_INVALID_TOKEN
r"""
DEPRECATED** 110: Deprecated as of v2.4.1. Use CONNECTION_CHANGED_INVALID_TOKEN(8) in the 'onConnectionStateChanged' callback instead.
The token is invalid due to one of the following reasons:
- The App Certificate for the project is enabled in Console, but the user is still using the App ID. Once the App Certificate is enabled, the user must use a token.
- The uid is mandatory, and users must set the same uid as the one set in the 'joinChannel' method.
"""
ERR_CONNECTION_INTERRUPTED = _agorartc.ERR_CONNECTION_INTERRUPTED
r""" 111: The internet connection is interrupted. This applies to the Agora Web SDK only."""
ERR_CONNECTION_LOST = _agorartc.ERR_CONNECTION_LOST
r""" 112: The internet connection is lost. This applies to the Agora Web SDK only."""
ERR_NOT_IN_CHANNEL = _agorartc.ERR_NOT_IN_CHANNEL
r""" 113: The user is not in the channel when calling the method."""
ERR_SIZE_TOO_LARGE = _agorartc.ERR_SIZE_TOO_LARGE
r""" 114: The size of the sent data is over 1024 bytes when the user calls the 'sendStreamMessage' method."""
ERR_BITRATE_LIMIT = _agorartc.ERR_BITRATE_LIMIT
r""" 115: The bitrate of the sent data exceeds the limit of 6 Kbps when the user calls the 'sendStreamMessage' method."""
ERR_TOO_MANY_DATA_STREAMS = _agorartc.ERR_TOO_MANY_DATA_STREAMS
r""" 116: Too many data streams (over 5 streams) are created when the user calls the 'createDataStream' method."""
ERR_STREAM_MESSAGE_TIMEOUT = _agorartc.ERR_STREAM_MESSAGE_TIMEOUT
r""" 117: The data stream transmission timed out."""
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED = _agorartc.ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
r""" 119: Switching roles fail. Please try to rejoin the channel."""
ERR_DECRYPTION_FAILED = _agorartc.ERR_DECRYPTION_FAILED
r""" 120: Decryption fails. The user may have used a different encryption password to join the channel. Check your settings or try rejoining the channel."""
ERR_CLIENT_IS_BANNED_BY_SERVER = _agorartc.ERR_CLIENT_IS_BANNED_BY_SERVER
r""" 123: The client is banned by the server."""
ERR_WATERMARK_PARAM = _agorartc.ERR_WATERMARK_PARAM
r""" 124: Incorrect watermark file parameter."""
ERR_WATERMARK_PATH = _agorartc.ERR_WATERMARK_PATH
r""" 125: Incorrect watermark file path."""
ERR_WATERMARK_PNG = _agorartc.ERR_WATERMARK_PNG
r""" 126: Incorrect watermark file format."""
ERR_WATERMARKR_INFO = _agorartc.ERR_WATERMARKR_INFO
r""" 127: Incorrect watermark file information."""
ERR_WATERMARK_ARGB = _agorartc.ERR_WATERMARK_ARGB
r""" 128: Incorrect watermark file data format."""
ERR_WATERMARK_READ = _agorartc.ERR_WATERMARK_READ
r""" 129: An error occurs in reading the watermark file."""
ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH = _agorartc.ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
r""" 130: Encryption is enabled when the user calls the 'addPublishStreamUrl' method (CDN live streaming does not support encrypted streams)."""
ERR_INVALID_USER_ACCOUNT = _agorartc.ERR_INVALID_USER_ACCOUNT
r""" 134: The user account is invalid."""
ERR_PUBLISH_STREAM_CDN_ERROR = _agorartc.ERR_PUBLISH_STREAM_CDN_ERROR
r""" 151: CDN related errors. Remove the original URL address and add a new one by calling the 'removePublishStreamUrl' and 'addPublishStreamUrl' methods."""
ERR_PUBLISH_STREAM_NUM_REACH_LIMIT = _agorartc.ERR_PUBLISH_STREAM_NUM_REACH_LIMIT
r""" 152: The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones."""
ERR_PUBLISH_STREAM_NOT_AUTHORIZED = _agorartc.ERR_PUBLISH_STREAM_NOT_AUTHORIZED
r""" 153: The host manipulates other hosts' URLs. Check your app logic."""
ERR_PUBLISH_STREAM_INTERNAL_SERVER_ERROR = _agorartc.ERR_PUBLISH_STREAM_INTERNAL_SERVER_ERROR
r""" 154: An error occurs in Agora's streaming server. Call the addPublishStreamUrl method to publish the streaming again."""
ERR_PUBLISH_STREAM_NOT_FOUND = _agorartc.ERR_PUBLISH_STREAM_NOT_FOUND
r""" 155: The server fails to find the stream."""
ERR_PUBLISH_STREAM_FORMAT_NOT_SUPPORTED = _agorartc.ERR_PUBLISH_STREAM_FORMAT_NOT_SUPPORTED
r""" 156: The format of the RTMP stream URL is not supported. Check whether the URL format is correct."""
ERR_LOGOUT_OTHER = _agorartc.ERR_LOGOUT_OTHER
ERR_LOGOUT_USER = _agorartc.ERR_LOGOUT_USER
ERR_LOGOUT_NET = _agorartc.ERR_LOGOUT_NET
ERR_LOGOUT_KICKED = _agorartc.ERR_LOGOUT_KICKED
ERR_LOGOUT_PACKET = _agorartc.ERR_LOGOUT_PACKET
ERR_LOGOUT_TOKEN_EXPIRED = _agorartc.ERR_LOGOUT_TOKEN_EXPIRED
ERR_LOGOUT_OLDVERSION = _agorartc.ERR_LOGOUT_OLDVERSION
ERR_LOGOUT_TOKEN_WRONG = _agorartc.ERR_LOGOUT_TOKEN_WRONG
ERR_LOGOUT_ALREADY_LOGOUT = _agorartc.ERR_LOGOUT_ALREADY_LOGOUT
ERR_LOGIN_OTHER = _agorartc.ERR_LOGIN_OTHER
ERR_LOGIN_NET = _agorartc.ERR_LOGIN_NET
ERR_LOGIN_FAILED = _agorartc.ERR_LOGIN_FAILED
ERR_LOGIN_CANCELED = _agorartc.ERR_LOGIN_CANCELED
ERR_LOGIN_TOKEN_EXPIRED = _agorartc.ERR_LOGIN_TOKEN_EXPIRED
ERR_LOGIN_OLD_VERSION = _agorartc.ERR_LOGIN_OLD_VERSION
ERR_LOGIN_TOKEN_WRONG = _agorartc.ERR_LOGIN_TOKEN_WRONG
ERR_LOGIN_TOKEN_KICKED = _agorartc.ERR_LOGIN_TOKEN_KICKED
ERR_LOGIN_ALREADY_LOGIN = _agorartc.ERR_LOGIN_ALREADY_LOGIN
ERR_JOIN_CHANNEL_OTHER = _agorartc.ERR_JOIN_CHANNEL_OTHER
ERR_SEND_MESSAGE_OTHER = _agorartc.ERR_SEND_MESSAGE_OTHER
ERR_SEND_MESSAGE_TIMEOUT = _agorartc.ERR_SEND_MESSAGE_TIMEOUT
ERR_QUERY_USERNUM_OTHER = _agorartc.ERR_QUERY_USERNUM_OTHER
ERR_QUERY_USERNUM_TIMEOUT = _agorartc.ERR_QUERY_USERNUM_TIMEOUT
ERR_QUERY_USERNUM_BYUSER = _agorartc.ERR_QUERY_USERNUM_BYUSER
ERR_LEAVE_CHANNEL_OTHER = _agorartc.ERR_LEAVE_CHANNEL_OTHER
ERR_LEAVE_CHANNEL_KICKED = _agorartc.ERR_LEAVE_CHANNEL_KICKED
ERR_LEAVE_CHANNEL_BYUSER = _agorartc.ERR_LEAVE_CHANNEL_BYUSER
ERR_LEAVE_CHANNEL_LOGOUT = _agorartc.ERR_LEAVE_CHANNEL_LOGOUT
ERR_LEAVE_CHANNEL_DISCONNECTED = _agorartc.ERR_LEAVE_CHANNEL_DISCONNECTED
ERR_INVITE_OTHER = _agorartc.ERR_INVITE_OTHER
ERR_INVITE_REINVITE = _agorartc.ERR_INVITE_REINVITE
ERR_INVITE_NET = _agorartc.ERR_INVITE_NET
ERR_INVITE_PEER_OFFLINE = _agorartc.ERR_INVITE_PEER_OFFLINE
ERR_INVITE_TIMEOUT = _agorartc.ERR_INVITE_TIMEOUT
ERR_INVITE_CANT_RECV = _agorartc.ERR_INVITE_CANT_RECV
ERR_LOAD_MEDIA_ENGINE = _agorartc.ERR_LOAD_MEDIA_ENGINE
r""" 1001: Fails to load the media engine."""
ERR_START_CALL = _agorartc.ERR_START_CALL
r""" 1002: Fails to start the call after enabling the media engine."""
ERR_START_CAMERA = _agorartc.ERR_START_CAMERA
r"""
DEPRECATED** 1003: Fails to start the camera.
Deprecated as of v2.4.1. Use LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE(4) in the 'onConnectionStateChanged' callback instead.
"""
ERR_START_VIDEO_RENDER = _agorartc.ERR_START_VIDEO_RENDER
r""" 1004: Fails to start the video rendering module."""
ERR_ADM_GENERAL_ERROR = _agorartc.ERR_ADM_GENERAL_ERROR
r""" 1005: A general error occurs in the Audio Device Module (no specified reason). Check if the audio device is used by another application, or try rejoining the channel."""
ERR_ADM_JAVA_RESOURCE = _agorartc.ERR_ADM_JAVA_RESOURCE
r""" 1006: Audio Device Module: An error occurs in using the Java resources."""
ERR_ADM_SAMPLE_RATE = _agorartc.ERR_ADM_SAMPLE_RATE
r""" 1007: Audio Device Module: An error occurs in setting the sampling frequency."""
ERR_ADM_INIT_PLAYOUT = _agorartc.ERR_ADM_INIT_PLAYOUT
r""" 1008: Audio Device Module: An error occurs in initializing the playback device."""
ERR_ADM_START_PLAYOUT = _agorartc.ERR_ADM_START_PLAYOUT
r""" 1009: Audio Device Module: An error occurs in starting the playback device."""
ERR_ADM_STOP_PLAYOUT = _agorartc.ERR_ADM_STOP_PLAYOUT
r""" 1010: Audio Device Module: An error occurs in stopping the playback device."""
ERR_ADM_INIT_RECORDING = _agorartc.ERR_ADM_INIT_RECORDING
r""" 1011: Audio Device Module: An error occurs in initializing the recording device."""
ERR_ADM_START_RECORDING = _agorartc.ERR_ADM_START_RECORDING
r""" 1012: Audio Device Module: An error occurs in starting the recording device."""
ERR_ADM_STOP_RECORDING = _agorartc.ERR_ADM_STOP_RECORDING
r""" 1013: Audio Device Module: An error occurs in stopping the recording device."""
ERR_ADM_RUNTIME_PLAYOUT_ERROR = _agorartc.ERR_ADM_RUNTIME_PLAYOUT_ERROR
r""" 1015: Audio Device Module: A playback error occurs. Check your playback device and try rejoining the channel."""
ERR_ADM_RUNTIME_RECORDING_ERROR = _agorartc.ERR_ADM_RUNTIME_RECORDING_ERROR
r""" 1017: Audio Device Module: A recording error occurs."""
ERR_ADM_RECORD_AUDIO_FAILED = _agorartc.ERR_ADM_RECORD_AUDIO_FAILED
r""" 1018: Audio Device Module: Fails to record."""
ERR_ADM_INIT_LOOPBACK = _agorartc.ERR_ADM_INIT_LOOPBACK
r"""
1022: Audio Device Module: An error occurs in initializing the
loopback device.
"""
ERR_ADM_START_LOOPBACK = _agorartc.ERR_ADM_START_LOOPBACK
r"""
1023: Audio Device Module: An error occurs in starting the loopback
device.
"""
ERR_ADM_NO_PERMISSION = _agorartc.ERR_ADM_NO_PERMISSION
r"""
1027: Audio Device Module: No recording permission exists. Check if the
recording permission is granted.
"""
ERR_ADM_RECORD_AUDIO_IS_ACTIVE = _agorartc.ERR_ADM_RECORD_AUDIO_IS_ACTIVE
r""" 1033: Audio device module: The device is occupied."""
ERR_ADM_ANDROID_JNI_JAVA_RESOURCE = _agorartc.ERR_ADM_ANDROID_JNI_JAVA_RESOURCE
r""" 1101: Audio device module: A fatal exception occurs."""
ERR_ADM_ANDROID_JNI_NO_RECORD_FREQUENCY = _agorartc.ERR_ADM_ANDROID_JNI_NO_RECORD_FREQUENCY
r"""
1108: Audio device module: The recording frequency is lower than 50.
0 indicates that the recording is not yet started. We recommend
checking your recording permission.
"""
ERR_ADM_ANDROID_JNI_NO_PLAYBACK_FREQUENCY = _agorartc.ERR_ADM_ANDROID_JNI_NO_PLAYBACK_FREQUENCY
r"""
1109: The playback frequency is lower than 50. 0 indicates that the
playback is not yet started. We recommend checking if you have created
too many AudioTrack instances.
"""
ERR_ADM_ANDROID_JNI_JAVA_START_RECORD = _agorartc.ERR_ADM_ANDROID_JNI_JAVA_START_RECORD
r"""
1111: Audio device module: AudioRecord fails to start up. A ROM system
error occurs. We recommend the following options to debug:
- Restart your App.
- Restart your cellphone.
- Check your recording permission.
"""
ERR_ADM_ANDROID_JNI_JAVA_START_PLAYBACK = _agorartc.ERR_ADM_ANDROID_JNI_JAVA_START_PLAYBACK
r"""
1112: Audio device module: AudioTrack fails to start up. A ROM system
error occurs. We recommend the following options to debug:
- Restart your App.
- Restart your cellphone.
- Check your playback permission.
"""
ERR_ADM_ANDROID_JNI_JAVA_RECORD_ERROR = _agorartc.ERR_ADM_ANDROID_JNI_JAVA_RECORD_ERROR
r"""
1115: Audio device module: AudioRecord returns error. The SDK will
automatically restart AudioRecord.
"""
ERR_ADM_ANDROID_OPENSL_CREATE_ENGINE = _agorartc.ERR_ADM_ANDROID_OPENSL_CREATE_ENGINE
r"""DEPRECATED**"""
ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_RECORDER = _agorartc.ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_RECORDER
r"""DEPRECATED**"""
ERR_ADM_ANDROID_OPENSL_START_RECORDER_THREAD = _agorartc.ERR_ADM_ANDROID_OPENSL_START_RECORDER_THREAD
r"""DEPRECATED**"""
ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_PLAYER = _agorartc.ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_PLAYER
r"""DEPRECATED**"""
ERR_ADM_ANDROID_OPENSL_START_PLAYER_THREAD = _agorartc.ERR_ADM_ANDROID_OPENSL_START_PLAYER_THREAD
r"""DEPRECATED**"""
ERR_ADM_IOS_INPUT_NOT_AVAILABLE = _agorartc.ERR_ADM_IOS_INPUT_NOT_AVAILABLE
r"""
1201: Audio device module: The current device does not support audio
input, possibly because you have mistakenly configured the audio session
category, or because some other app is occupying the input device. We
recommend terminating all background apps and re-joining the channel.
"""
ERR_ADM_IOS_ACTIVATE_SESSION_FAIL = _agorartc.ERR_ADM_IOS_ACTIVATE_SESSION_FAIL
r""" 1206: Audio device module: Cannot activate the Audio Session."""
ERR_ADM_IOS_VPIO_INIT_FAIL = _agorartc.ERR_ADM_IOS_VPIO_INIT_FAIL
r"""
1210: Audio device module: Fails to initialize the audio device,
normally because the audio device parameters are wrongly set.
"""
ERR_ADM_IOS_VPIO_REINIT_FAIL = _agorartc.ERR_ADM_IOS_VPIO_REINIT_FAIL
r"""
1213: Audio device module: Fails to re-initialize the audio device,
normally because the audio device parameters are wrongly set.
"""
ERR_ADM_IOS_VPIO_RESTART_FAIL = _agorartc.ERR_ADM_IOS_VPIO_RESTART_FAIL
r"""
1214: Fails to re-start up the Audio Unit, possibly because the audio
session category is not compatible with the settings of the Audio Unit.
"""
ERR_ADM_IOS_SET_RENDER_CALLBACK_FAIL = _agorartc.ERR_ADM_IOS_SET_RENDER_CALLBACK_FAIL
r""" Conditional comment:"""
ERR_ADM_IOS_SESSION_SAMPLERATR_ZERO = _agorartc.ERR_ADM_IOS_SESSION_SAMPLERATR_ZERO
r""" End of conditional comment. **DEPRECATED**"""
ERR_ADM_WIN_CORE_INIT = _agorartc.ERR_ADM_WIN_CORE_INIT
r"""
1301: Audio device module: An audio driver abnomality or a
compatibility issue occurs. Solutions: Disable and restart the audio
device, or reboot the system.
"""
ERR_ADM_WIN_CORE_INIT_RECORDING = _agorartc.ERR_ADM_WIN_CORE_INIT_RECORDING
r"""
1303: Audio device module: A recording driver abnomality or a
compatibility issue occurs. Solutions: Disable and restart the audio
device, or reboot the system.
"""
ERR_ADM_WIN_CORE_INIT_PLAYOUT = _agorartc.ERR_ADM_WIN_CORE_INIT_PLAYOUT
r"""
1306: Audio device module: A playout driver abnomality or a
compatibility issue occurs. Solutions: Disable and restart the audio
device, or reboot the system.
"""
ERR_ADM_WIN_CORE_INIT_PLAYOUT_NULL = _agorartc.ERR_ADM_WIN_CORE_INIT_PLAYOUT_NULL
r"""
1307: Audio device module: No audio device is available. Solutions:
Plug in a proper audio device.
"""
ERR_ADM_WIN_CORE_START_RECORDING = _agorartc.ERR_ADM_WIN_CORE_START_RECORDING
r"""
1309: Audio device module: An audio driver abnomality or a
compatibility issue occurs. Solutions: Disable and restart the audio
device, or reboot the system.
"""
ERR_ADM_WIN_CORE_CREATE_REC_THREAD = _agorartc.ERR_ADM_WIN_CORE_CREATE_REC_THREAD
r"""
1311: Audio device module: Insufficient system memory or poor device
performance. Solutions: Reboot the system or replace the device.
"""
ERR_ADM_WIN_CORE_CAPTURE_NOT_STARTUP = _agorartc.ERR_ADM_WIN_CORE_CAPTURE_NOT_STARTUP
r"""
1314: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_CORE_CREATE_RENDER_THREAD = _agorartc.ERR_ADM_WIN_CORE_CREATE_RENDER_THREAD
r"""
1319: Audio device module: Insufficient system memory or poor device
performance. Solutions: Reboot the system or replace the device.
"""
ERR_ADM_WIN_CORE_RENDER_NOT_STARTUP = _agorartc.ERR_ADM_WIN_CORE_RENDER_NOT_STARTUP
r"""
1320: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Replace the device.
"""
ERR_ADM_WIN_CORE_NO_RECORDING_DEVICE = _agorartc.ERR_ADM_WIN_CORE_NO_RECORDING_DEVICE
r"""
1322: Audio device module: No audio sampling device is available.
Solutions: Plug in a proper recording device.
"""
ERR_ADM_WIN_CORE_NO_PLAYOUT_DEVICE = _agorartc.ERR_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
r"""
1323: Audio device module: No audio playout device is available.
Solutions: Plug in a proper playback device.
"""
ERR_ADM_WIN_WAVE_INIT = _agorartc.ERR_ADM_WIN_WAVE_INIT
r"""
1351: Audio device module: An audio driver abnormality or a
compatibility issue occurs. Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_INIT_RECORDING = _agorartc.ERR_ADM_WIN_WAVE_INIT_RECORDING
r"""
1353: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_INIT_MICROPHONE = _agorartc.ERR_ADM_WIN_WAVE_INIT_MICROPHONE
r"""
1354: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_INIT_PLAYOUT = _agorartc.ERR_ADM_WIN_WAVE_INIT_PLAYOUT
r"""
1355: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_INIT_SPEAKER = _agorartc.ERR_ADM_WIN_WAVE_INIT_SPEAKER
r"""
1356: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_START_RECORDING = _agorartc.ERR_ADM_WIN_WAVE_START_RECORDING
r"""
1357: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_WIN_WAVE_START_PLAYOUT = _agorartc.ERR_ADM_WIN_WAVE_START_PLAYOUT
r"""
1358: Audio device module: An audio driver abnormality occurs.
Solutions:
- Disable and then re-enable the audio device.
- Reboot the system.
- Upgrade your audio card driver.
"""
ERR_ADM_NO_RECORDING_DEVICE = _agorartc.ERR_ADM_NO_RECORDING_DEVICE
r""" 1359: Audio Device Module: No recording device exists."""
ERR_ADM_NO_PLAYOUT_DEVICE = _agorartc.ERR_ADM_NO_PLAYOUT_DEVICE
r""" 1360: Audio Device Module: No playback device exists."""
ERR_VDM_CAMERA_NOT_AUTHORIZED = _agorartc.ERR_VDM_CAMERA_NOT_AUTHORIZED
r""" 1501: Video Device Module: The camera is unauthorized."""
ERR_VDM_WIN_DEVICE_IN_USE = _agorartc.ERR_VDM_WIN_DEVICE_IN_USE
r"""
DEPRECATED** 1502: Video Device Module: The camera in use.
Deprecated as of v2.4.1. Use LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY(3) in the 'onConnectionStateChanged' callback instead.
"""
ERR_VCM_UNKNOWN_ERROR = _agorartc.ERR_VCM_UNKNOWN_ERROR
r""" 1600: Video Device Module: An unknown error occurs."""
ERR_VCM_ENCODER_INIT_ERROR = _agorartc.ERR_VCM_ENCODER_INIT_ERROR
r""" 1601: Video Device Module: An error occurs in initializing the video encoder."""
ERR_VCM_ENCODER_ENCODE_ERROR = _agorartc.ERR_VCM_ENCODER_ENCODE_ERROR
r""" 1602: Video Device Module: An error occurs in encoding."""
ERR_VCM_ENCODER_SET_ERROR = _agorartc.ERR_VCM_ENCODER_SET_ERROR
r""" 1603: Video Device Module: An error occurs in setting the video encoder."""
LOG_FILTER_OFF = _agorartc.LOG_FILTER_OFF
r""" 0: Do not output any log information."""
LOG_FILTER_DEBUG = _agorartc.LOG_FILTER_DEBUG
r"""
0x080f: Output all log information.
Set your log filter as debug if you want to get the most complete log file.
"""
LOG_FILTER_INFO = _agorartc.LOG_FILTER_INFO
r"""
0x000f: Output CRITICAL, ERROR, WARNING, and INFO level log information.
We recommend setting your log filter as this level.
"""
LOG_FILTER_WARN = _agorartc.LOG_FILTER_WARN
r""" 0x000e: Outputs CRITICAL, ERROR, and WARNING level log information."""
LOG_FILTER_ERROR = _agorartc.LOG_FILTER_ERROR
r""" 0x000c: Outputs CRITICAL and ERROR level log information."""
LOG_FILTER_CRITICAL = _agorartc.LOG_FILTER_CRITICAL
r""" 0x0008: Outputs CRITICAL level log information."""
LOG_FILTER_MASK = _agorartc.LOG_FILTER_MASK
r""" Conditional comment:"""
MAX_DEVICE_ID_LENGTH = _agorartc.MAX_DEVICE_ID_LENGTH
r""" The maximum length of the device ID is 512 bytes."""
MAX_USER_ACCOUNT_LENGTH = _agorartc.MAX_USER_ACCOUNT_LENGTH
r""" The maximum length of user account is 255 bytes."""
MAX_CHANNEL_ID_LENGTH = _agorartc.MAX_CHANNEL_ID_LENGTH
r""" The maximum length of channel id is 64 bytes."""
QUALITY_REPORT_JSON = _agorartc.QUALITY_REPORT_JSON
r""" 0: The quality report in JSON format,"""
QUALITY_REPORT_HTML = _agorartc.QUALITY_REPORT_HTML
r""" 1: The quality report in HTML format."""
MEDIA_ENGINE_RECORDING_ERROR = _agorartc.MEDIA_ENGINE_RECORDING_ERROR
r""" 0: For internal use only."""
MEDIA_ENGINE_PLAYOUT_ERROR = _agorartc.MEDIA_ENGINE_PLAYOUT_ERROR
r""" 1: For internal use only."""
MEDIA_ENGINE_RECORDING_WARNING = _agorartc.MEDIA_ENGINE_RECORDING_WARNING
r""" 2: For internal use only."""
MEDIA_ENGINE_PLAYOUT_WARNING = _agorartc.MEDIA_ENGINE_PLAYOUT_WARNING
r""" 3: For internal use only."""
MEDIA_ENGINE_AUDIO_FILE_MIX_FINISH = _agorartc.MEDIA_ENGINE_AUDIO_FILE_MIX_FINISH
r""" 10: For internal use only."""
MEDIA_ENGINE_AUDIO_FAREND_MUSIC_BEGINS = _agorartc.MEDIA_ENGINE_AUDIO_FAREND_MUSIC_BEGINS
r""" 12: For internal use only."""
MEDIA_ENGINE_AUDIO_FAREND_MUSIC_ENDS = _agorartc.MEDIA_ENGINE_AUDIO_FAREND_MUSIC_ENDS
r""" 13: For internal use only."""
MEDIA_ENGINE_LOCAL_AUDIO_RECORD_ENABLED = _agorartc.MEDIA_ENGINE_LOCAL_AUDIO_RECORD_ENABLED
r""" 14: For internal use only."""
MEDIA_ENGINE_LOCAL_AUDIO_RECORD_DISABLED = _agorartc.MEDIA_ENGINE_LOCAL_AUDIO_RECORD_DISABLED
r""" 15: For internal use only."""
MEDIA_ENGINE_ROLE_BROADCASTER_SOLO = _agorartc.MEDIA_ENGINE_ROLE_BROADCASTER_SOLO
r""" 20: For internal use only."""
MEDIA_ENGINE_ROLE_BROADCASTER_INTERACTIVE = _agorartc.MEDIA_ENGINE_ROLE_BROADCASTER_INTERACTIVE
r""" 21: For internal use only."""
MEDIA_ENGINE_ROLE_AUDIENCE = _agorartc.MEDIA_ENGINE_ROLE_AUDIENCE
r""" 22: For internal use only."""
MEDIA_ENGINE_ROLE_COMM_PEER = _agorartc.MEDIA_ENGINE_ROLE_COMM_PEER
r""" 23: For internal use only."""
MEDIA_ENGINE_ROLE_GAME_PEER = _agorartc.MEDIA_ENGINE_ROLE_GAME_PEER
r""" 24: For internal use only."""
MEDIA_ENGINE_AUDIO_ADM_REQUIRE_RESTART = _agorartc.MEDIA_ENGINE_AUDIO_ADM_REQUIRE_RESTART
r""" 110: For internal use only."""
MEDIA_ENGINE_AUDIO_ADM_SPECIAL_RESTART = _agorartc.MEDIA_ENGINE_AUDIO_ADM_SPECIAL_RESTART
r""" 111: For internal use only."""
MEDIA_ENGINE_AUDIO_ADM_USING_COMM_PARAMS = _agorartc.MEDIA_ENGINE_AUDIO_ADM_USING_COMM_PARAMS
r""" 112: For internal use only."""
MEDIA_ENGINE_AUDIO_ADM_USING_NORM_PARAMS = _agorartc.MEDIA_ENGINE_AUDIO_ADM_USING_NORM_PARAMS
r""" 113: For internal use only."""
MEDIA_ENGINE_AUDIO_EVENT_MIXING_PLAY = _agorartc.MEDIA_ENGINE_AUDIO_EVENT_MIXING_PLAY
r""" 710: For internal use only."""
MEDIA_ENGINE_AUDIO_EVENT_MIXING_PAUSED = _agorartc.MEDIA_ENGINE_AUDIO_EVENT_MIXING_PAUSED
r""" 711: For internal use only."""
MEDIA_ENGINE_AUDIO_EVENT_MIXING_RESTART = _agorartc.MEDIA_ENGINE_AUDIO_EVENT_MIXING_RESTART
r""" 712: For internal use only."""
MEDIA_ENGINE_AUDIO_EVENT_MIXING_STOPPED = _agorartc.MEDIA_ENGINE_AUDIO_EVENT_MIXING_STOPPED
r""" 713: For internal use only."""
MEDIA_ENGINE_AUDIO_EVENT_MIXING_ERROR = _agorartc.MEDIA_ENGINE_AUDIO_EVENT_MIXING_ERROR
r""" 714: For internal use only."""
MEDIA_ENGINE_AUDIO_ERROR_MIXING_OPEN = _agorartc.MEDIA_ENGINE_AUDIO_ERROR_MIXING_OPEN
r""" 701: For internal use only."""
MEDIA_ENGINE_AUDIO_ERROR_MIXING_TOO_FREQUENT = _agorartc.MEDIA_ENGINE_AUDIO_ERROR_MIXING_TOO_FREQUENT
r""" 702: For internal use only."""
MEDIA_ENGINE_AUDIO_ERROR_MIXING_INTERRUPTED_EOF = _agorartc.MEDIA_ENGINE_AUDIO_ERROR_MIXING_INTERRUPTED_EOF
r""" 703: The audio mixing file playback is interrupted. For internal use only."""
MEDIA_ENGINE_AUDIO_ERROR_MIXING_NO_ERROR = _agorartc.MEDIA_ENGINE_AUDIO_ERROR_MIXING_NO_ERROR
r""" 0: For internal use only."""
AUDIO_MIXING_STATE_PLAYING = _agorartc.AUDIO_MIXING_STATE_PLAYING
r""" 710: The audio mixing file is playing."""
AUDIO_MIXING_STATE_PAUSED = _agorartc.AUDIO_MIXING_STATE_PAUSED
r""" 711: The audio mixing file pauses playing."""
AUDIO_MIXING_STATE_STOPPED = _agorartc.AUDIO_MIXING_STATE_STOPPED
r""" 713: The audio mixing file stops playing."""
AUDIO_MIXING_STATE_FAILED = _agorartc.AUDIO_MIXING_STATE_FAILED
r""" 714: An exception occurs when playing the audio mixing file. See #AUDIO_MIXING_ERROR_TYPE."""
AUDIO_MIXING_ERROR_CAN_NOT_OPEN = _agorartc.AUDIO_MIXING_ERROR_CAN_NOT_OPEN
r""" 701: The SDK cannot open the audio mixing file."""
AUDIO_MIXING_ERROR_TOO_FREQUENT_CALL = _agorartc.AUDIO_MIXING_ERROR_TOO_FREQUENT_CALL
r""" 702: The SDK opens the audio mixing file too frequently."""
AUDIO_MIXING_ERROR_INTERRUPTED_EOF = _agorartc.AUDIO_MIXING_ERROR_INTERRUPTED_EOF
r""" 703: The audio mixing file playback is interrupted."""
AUDIO_MIXING_ERROR_OK = _agorartc.AUDIO_MIXING_ERROR_OK
r""" 0: The SDK can open the audio mixing file."""
MEDIA_DEVICE_STATE_ACTIVE = _agorartc.MEDIA_DEVICE_STATE_ACTIVE
r""" 1: The device is active."""
MEDIA_DEVICE_STATE_DISABLED = _agorartc.MEDIA_DEVICE_STATE_DISABLED
r""" 2: The device is disabled."""
MEDIA_DEVICE_STATE_NOT_PRESENT = _agorartc.MEDIA_DEVICE_STATE_NOT_PRESENT
r""" 4: The device is not present."""
MEDIA_DEVICE_STATE_UNPLUGGED = _agorartc.MEDIA_DEVICE_STATE_UNPLUGGED
r""" 8: The device is unplugged."""
UNKNOWN_AUDIO_DEVICE = _agorartc.UNKNOWN_AUDIO_DEVICE
r""" -1: Unknown device type."""
AUDIO_PLAYOUT_DEVICE = _agorartc.AUDIO_PLAYOUT_DEVICE
r""" 0: Audio playback device."""
AUDIO_RECORDING_DEVICE = _agorartc.AUDIO_RECORDING_DEVICE
r""" 1: Audio recording device."""
VIDEO_RENDER_DEVICE = _agorartc.VIDEO_RENDER_DEVICE
r""" 2: Video renderer."""
VIDEO_CAPTURE_DEVICE = _agorartc.VIDEO_CAPTURE_DEVICE
r""" 3: Video capturer."""
AUDIO_APPLICATION_PLAYOUT_DEVICE = _agorartc.AUDIO_APPLICATION_PLAYOUT_DEVICE
r""" 4: Application audio playback device."""
LOCAL_VIDEO_STREAM_STATE_STOPPED = _agorartc.LOCAL_VIDEO_STREAM_STATE_STOPPED
r""" 0: Initial state"""
LOCAL_VIDEO_STREAM_STATE_CAPTURING = _agorartc.LOCAL_VIDEO_STREAM_STATE_CAPTURING
r"""
1: The local video capturing device starts successfully.
The SDK also reports this state when you share a maximized window by calling 'startScreenCaptureByWindowId'.
"""
LOCAL_VIDEO_STREAM_STATE_ENCODING = _agorartc.LOCAL_VIDEO_STREAM_STATE_ENCODING
r""" 2: The first video frame is successfully encoded."""
LOCAL_VIDEO_STREAM_STATE_FAILED = _agorartc.LOCAL_VIDEO_STREAM_STATE_FAILED
r""" 3: The local video fails to start."""
LOCAL_VIDEO_STREAM_ERROR_OK = _agorartc.LOCAL_VIDEO_STREAM_ERROR_OK
r""" 0: The local video is normal."""
LOCAL_VIDEO_STREAM_ERROR_FAILURE = _agorartc.LOCAL_VIDEO_STREAM_ERROR_FAILURE
r""" 1: No specified reason for the local video failure."""
LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION = _agorartc.LOCAL_VIDEO_STREAM_ERROR_DEVICE_NO_PERMISSION
r""" 2: No permission to use the local video capturing device."""
LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY = _agorartc.LOCAL_VIDEO_STREAM_ERROR_DEVICE_BUSY
r""" 3: The local video capturing device is in use."""
LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE = _agorartc.LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE
r""" 4: The local video capture fails. Check whether the capturing device is working properly."""
LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE = _agorartc.LOCAL_VIDEO_STREAM_ERROR_ENCODE_FAILURE
r""" 5: The local video encoding fails."""
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_MINIMIZED = _agorartc.LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_MINIMIZED
r""" 11: The shared window is minimized when you call 'startScreenCaptureByWindowId' to share a window."""
LOCAL_AUDIO_STREAM_STATE_STOPPED = _agorartc.LOCAL_AUDIO_STREAM_STATE_STOPPED
r""" 0: The local audio is in the initial state."""
LOCAL_AUDIO_STREAM_STATE_RECORDING = _agorartc.LOCAL_AUDIO_STREAM_STATE_RECORDING
r""" 1: The recording device starts successfully."""
LOCAL_AUDIO_STREAM_STATE_ENCODING = _agorartc.LOCAL_AUDIO_STREAM_STATE_ENCODING
r""" 2: The first audio frame encodes successfully."""
LOCAL_AUDIO_STREAM_STATE_FAILED = _agorartc.LOCAL_AUDIO_STREAM_STATE_FAILED
r""" 3: The local audio fails to start."""
LOCAL_AUDIO_STREAM_ERROR_OK = _agorartc.LOCAL_AUDIO_STREAM_ERROR_OK
r""" 0: The local audio is normal."""
LOCAL_AUDIO_STREAM_ERROR_FAILURE = _agorartc.LOCAL_AUDIO_STREAM_ERROR_FAILURE
r""" 1: No specified reason for the local audio failure."""
LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION = _agorartc.LOCAL_AUDIO_STREAM_ERROR_DEVICE_NO_PERMISSION
r""" 2: No permission to use the local audio device."""
LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY = _agorartc.LOCAL_AUDIO_STREAM_ERROR_DEVICE_BUSY
r""" 3: The microphone is in use."""
LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE = _agorartc.LOCAL_AUDIO_STREAM_ERROR_RECORD_FAILURE
r"""
4: The local audio recording fails. Check whether the recording device
is working properly.
"""
LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE = _agorartc.LOCAL_AUDIO_STREAM_ERROR_ENCODE_FAILURE
r""" 5: The local audio encoding fails."""
AUDIO_RECORDING_QUALITY_LOW = _agorartc.AUDIO_RECORDING_QUALITY_LOW
r"""
0: Low quality. The sample rate is 32 kHz, and the file size is around
1.2 MB after 10 minutes of recording.
"""
AUDIO_RECORDING_QUALITY_MEDIUM = _agorartc.AUDIO_RECORDING_QUALITY_MEDIUM
r"""
1: Medium quality. The sample rate is 32 kHz, and the file size is
around 2 MB after 10 minutes of recording.
"""
AUDIO_RECORDING_QUALITY_HIGH = _agorartc.AUDIO_RECORDING_QUALITY_HIGH
r"""
2: High quality. The sample rate is 32 kHz, and the file size is
around 3.75 MB after 10 minutes of recording.
"""
QUALITY_UNKNOWN = _agorartc.QUALITY_UNKNOWN
r""" 0: The network quality is unknown."""
QUALITY_EXCELLENT = _agorartc.QUALITY_EXCELLENT
r""" 1: The network quality is excellent."""
QUALITY_GOOD = _agorartc.QUALITY_GOOD
r""" 2: The network quality is quite good, but the bitrate may be slightly lower than excellent."""
QUALITY_POOR = _agorartc.QUALITY_POOR
r""" 3: Users can feel the communication slightly impaired."""
QUALITY_BAD = _agorartc.QUALITY_BAD
r""" 4: Users cannot communicate smoothly."""
QUALITY_VBAD = _agorartc.QUALITY_VBAD
r""" 5: The network is so bad that users can barely communicate."""
QUALITY_DOWN = _agorartc.QUALITY_DOWN
r""" 6: The network is down and users cannot communicate at all."""
QUALITY_UNSUPPORTED = _agorartc.QUALITY_UNSUPPORTED
r""" 7: Users cannot detect the network quality. (Not in use.)"""
QUALITY_DETECTING = _agorartc.QUALITY_DETECTING
r""" 8: Detecting the network quality."""
RENDER_MODE_HIDDEN = _agorartc.RENDER_MODE_HIDDEN
r"""1: Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents."""
RENDER_MODE_FIT = _agorartc.RENDER_MODE_FIT
r"""2: Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to disparity in the aspect ratio are filled with black."""
RENDER_MODE_ADAPTIVE = _agorartc.RENDER_MODE_ADAPTIVE
r"""DEPRECATED** 3: This mode is deprecated."""
RENDER_MODE_FILL = _agorartc.RENDER_MODE_FILL
r""" 4: The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window."""
VIDEO_MIRROR_MODE_AUTO = _agorartc.VIDEO_MIRROR_MODE_AUTO
r""" 0: (Default) The SDK enables the mirror mode."""
VIDEO_MIRROR_MODE_ENABLED = _agorartc.VIDEO_MIRROR_MODE_ENABLED
r""" 1: Enable mirror mode."""
VIDEO_MIRROR_MODE_DISABLED = _agorartc.VIDEO_MIRROR_MODE_DISABLED
r""" 2: Disable mirror mode."""
VIDEO_PROFILE_LANDSCAPE_120P = _agorartc.VIDEO_PROFILE_LANDSCAPE_120P
r""" 0: 160 * 120, frame rate 15 fps, bitrate 65 Kbps."""
VIDEO_PROFILE_LANDSCAPE_120P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_120P_3
r""" 2: 120 * 120, frame rate 15 fps, bitrate 50 Kbps."""
VIDEO_PROFILE_LANDSCAPE_180P = _agorartc.VIDEO_PROFILE_LANDSCAPE_180P
r""" 10: 320*180, frame rate 15 fps, bitrate 140 Kbps."""
VIDEO_PROFILE_LANDSCAPE_180P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_180P_3
r""" 12: 180 * 180, frame rate 15 fps, bitrate 100 Kbps."""
VIDEO_PROFILE_LANDSCAPE_180P_4 = _agorartc.VIDEO_PROFILE_LANDSCAPE_180P_4
r""" 13: 240 * 180, frame rate 15 fps, bitrate 120 Kbps."""
VIDEO_PROFILE_LANDSCAPE_240P = _agorartc.VIDEO_PROFILE_LANDSCAPE_240P
r""" 20: 320 * 240, frame rate 15 fps, bitrate 200 Kbps."""
VIDEO_PROFILE_LANDSCAPE_240P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_240P_3
r""" 22: 240 * 240, frame rate 15 fps, bitrate 140 Kbps."""
VIDEO_PROFILE_LANDSCAPE_240P_4 = _agorartc.VIDEO_PROFILE_LANDSCAPE_240P_4
r""" 23: 424 * 240, frame rate 15 fps, bitrate 220 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P
r""" 30: 640 * 360, frame rate 15 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_3
r""" 32: 360 * 360, frame rate 15 fps, bitrate 260 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_4 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_4
r""" 33: 640 * 360, frame rate 30 fps, bitrate 600 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_6 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_6
r""" 35: 360 * 360, frame rate 30 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_7 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_7
r""" 36: 480 * 360, frame rate 15 fps, bitrate 320 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_8 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_8
r""" 37: 480 * 360, frame rate 30 fps, bitrate 490 Kbps."""
VIDEO_PROFILE_LANDSCAPE_360P_9 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_9
r"""
38: 640 * 360, frame rate 15 fps, bitrate 800 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_LANDSCAPE_360P_10 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_10
r"""
39: 640 * 360, frame rate 24 fps, bitrate 800 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_LANDSCAPE_360P_11 = _agorartc.VIDEO_PROFILE_LANDSCAPE_360P_11
r"""
100: 640 * 360, frame rate 24 fps, bitrate 1000 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_LANDSCAPE_480P = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P
r""" 40: 640 * 480, frame rate 15 fps, bitrate 500 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_3
r""" 42: 480 * 480, frame rate 15 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_4 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_4
r""" 43: 640 * 480, frame rate 30 fps, bitrate 750 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_6 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_6
r""" 45: 480 * 480, frame rate 30 fps, bitrate 600 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_8 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_8
r""" 47: 848 * 480, frame rate 15 fps, bitrate 610 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_9 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_9
r""" 48: 848 * 480, frame rate 30 fps, bitrate 930 Kbps."""
VIDEO_PROFILE_LANDSCAPE_480P_10 = _agorartc.VIDEO_PROFILE_LANDSCAPE_480P_10
r""" 49: 640 * 480, frame rate 10 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_LANDSCAPE_720P = _agorartc.VIDEO_PROFILE_LANDSCAPE_720P
r""" 50: 1280 * 720, frame rate 15 fps, bitrate 1130 Kbps."""
VIDEO_PROFILE_LANDSCAPE_720P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_720P_3
r""" 52: 1280 * 720, frame rate 30 fps, bitrate 1710 Kbps."""
VIDEO_PROFILE_LANDSCAPE_720P_5 = _agorartc.VIDEO_PROFILE_LANDSCAPE_720P_5
r""" 54: 960 * 720, frame rate 15 fps, bitrate 910 Kbps."""
VIDEO_PROFILE_LANDSCAPE_720P_6 = _agorartc.VIDEO_PROFILE_LANDSCAPE_720P_6
r""" 55: 960 * 720, frame rate 30 fps, bitrate 1380 Kbps."""
VIDEO_PROFILE_LANDSCAPE_1080P = _agorartc.VIDEO_PROFILE_LANDSCAPE_1080P
r""" 60: 1920 * 1080, frame rate 15 fps, bitrate 2080 Kbps."""
VIDEO_PROFILE_LANDSCAPE_1080P_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_1080P_3
r""" 62: 1920 * 1080, frame rate 30 fps, bitrate 3150 Kbps."""
VIDEO_PROFILE_LANDSCAPE_1080P_5 = _agorartc.VIDEO_PROFILE_LANDSCAPE_1080P_5
r""" 64: 1920 * 1080, frame rate 60 fps, bitrate 4780 Kbps."""
VIDEO_PROFILE_LANDSCAPE_1440P = _agorartc.VIDEO_PROFILE_LANDSCAPE_1440P
r""" 66: 2560 * 1440, frame rate 30 fps, bitrate 4850 Kbps."""
VIDEO_PROFILE_LANDSCAPE_1440P_2 = _agorartc.VIDEO_PROFILE_LANDSCAPE_1440P_2
r""" 67: 2560 * 1440, frame rate 60 fps, bitrate 6500 Kbps."""
VIDEO_PROFILE_LANDSCAPE_4K = _agorartc.VIDEO_PROFILE_LANDSCAPE_4K
r""" 70: 3840 * 2160, frame rate 30 fps, bitrate 6500 Kbps."""
VIDEO_PROFILE_LANDSCAPE_4K_3 = _agorartc.VIDEO_PROFILE_LANDSCAPE_4K_3
r""" 72: 3840 * 2160, frame rate 60 fps, bitrate 6500 Kbps."""
VIDEO_PROFILE_PORTRAIT_120P = _agorartc.VIDEO_PROFILE_PORTRAIT_120P
r""" 1000: 120 * 160, frame rate 15 fps, bitrate 65 Kbps."""
VIDEO_PROFILE_PORTRAIT_120P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_120P_3
r""" 1002: 120 * 120, frame rate 15 fps, bitrate 50 Kbps."""
VIDEO_PROFILE_PORTRAIT_180P = _agorartc.VIDEO_PROFILE_PORTRAIT_180P
r""" 1010: 180 * 320, frame rate 15 fps, bitrate 140 Kbps."""
VIDEO_PROFILE_PORTRAIT_180P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_180P_3
r""" 1012: 180 * 180, frame rate 15 fps, bitrate 100 Kbps."""
VIDEO_PROFILE_PORTRAIT_180P_4 = _agorartc.VIDEO_PROFILE_PORTRAIT_180P_4
r""" 1013: 180 * 240, frame rate 15 fps, bitrate 120 Kbps."""
VIDEO_PROFILE_PORTRAIT_240P = _agorartc.VIDEO_PROFILE_PORTRAIT_240P
r""" 1020: 240 * 320, frame rate 15 fps, bitrate 200 Kbps."""
VIDEO_PROFILE_PORTRAIT_240P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_240P_3
r""" 1022: 240 * 240, frame rate 15 fps, bitrate 140 Kbps."""
VIDEO_PROFILE_PORTRAIT_240P_4 = _agorartc.VIDEO_PROFILE_PORTRAIT_240P_4
r""" 1023: 240 * 424, frame rate 15 fps, bitrate 220 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P = _agorartc.VIDEO_PROFILE_PORTRAIT_360P
r""" 1030: 360 * 640, frame rate 15 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_3
r""" 1032: 360 * 360, frame rate 15 fps, bitrate 260 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_4 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_4
r""" 1033: 360 * 640, frame rate 30 fps, bitrate 600 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_6 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_6
r""" 1035: 360 * 360, frame rate 30 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_7 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_7
r""" 1036: 360 * 480, frame rate 15 fps, bitrate 320 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_8 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_8
r""" 1037: 360 * 480, frame rate 30 fps, bitrate 490 Kbps."""
VIDEO_PROFILE_PORTRAIT_360P_9 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_9
r"""
1038: 360 * 640, frame rate 15 fps, bitrate 800 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_PORTRAIT_360P_10 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_10
r"""
1039: 360 * 640, frame rate 24 fps, bitrate 800 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_PORTRAIT_360P_11 = _agorartc.VIDEO_PROFILE_PORTRAIT_360P_11
r"""
1100: 360 * 640, frame rate 24 fps, bitrate 1000 Kbps.
Notes: `LIVE_BROADCASTING` profile only.
"""
VIDEO_PROFILE_PORTRAIT_480P = _agorartc.VIDEO_PROFILE_PORTRAIT_480P
r""" 1040: 480 * 640, frame rate 15 fps, bitrate 500 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_3
r""" 1042: 480 * 480, frame rate 15 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_4 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_4
r""" 1043: 480 * 640, frame rate 30 fps, bitrate 750 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_6 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_6
r""" 1045: 480 * 480, frame rate 30 fps, bitrate 600 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_8 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_8
r""" 1047: 480 * 848, frame rate 15 fps, bitrate 610 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_9 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_9
r""" 1048: 480 * 848, frame rate 30 fps, bitrate 930 Kbps."""
VIDEO_PROFILE_PORTRAIT_480P_10 = _agorartc.VIDEO_PROFILE_PORTRAIT_480P_10
r""" 1049: 480 * 640, frame rate 10 fps, bitrate 400 Kbps."""
VIDEO_PROFILE_PORTRAIT_720P = _agorartc.VIDEO_PROFILE_PORTRAIT_720P
r""" 1050: 720 * 1280, frame rate 15 fps, bitrate 1130 Kbps."""
VIDEO_PROFILE_PORTRAIT_720P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_720P_3
r""" 1052: 720 * 1280, frame rate 30 fps, bitrate 1710 Kbps."""
VIDEO_PROFILE_PORTRAIT_720P_5 = _agorartc.VIDEO_PROFILE_PORTRAIT_720P_5
r""" 1054: 720 * 960, frame rate 15 fps, bitrate 910 Kbps."""
VIDEO_PROFILE_PORTRAIT_720P_6 = _agorartc.VIDEO_PROFILE_PORTRAIT_720P_6
r""" 1055: 720 * 960, frame rate 30 fps, bitrate 1380 Kbps."""
VIDEO_PROFILE_PORTRAIT_1080P = _agorartc.VIDEO_PROFILE_PORTRAIT_1080P
r""" 1060: 1080 * 1920, frame rate 15 fps, bitrate 2080 Kbps."""
VIDEO_PROFILE_PORTRAIT_1080P_3 = _agorartc.VIDEO_PROFILE_PORTRAIT_1080P_3
r""" 1062: 1080 * 1920, frame rate 30 fps, bitrate 3150 Kbps."""
VIDEO_PROFILE_PORTRAIT_1080P_5 = _agorartc.VIDEO_PROFILE_PORTRAIT_1080P_5
r""" 1064: 1080 * 1920, frame rate 60 fps, bitrate 4780 Kbps."""
VIDEO_PROFILE_PORTRAIT_1440P = _agorartc.VIDEO_PROFILE_PORTRAIT_1440P