larksr_websdk 3.2.323 → 3.2.326
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.
- package/dist/doc/config.md +169 -0
- package/dist/doc/events.md +149 -0
- package/dist/doc/functions.md +465 -0
- package/dist/doc/index.md +82 -0
- package/dist/doc/member_variables.md +385 -0
- package/dist/doc/sdkid_encryption.md +40 -0
- package/dist/doc/update.md +266 -0
- package/dist/larksr-web-sdk.min.js +1 -1
- package/dist/types/api.d.ts +131 -0
- package/dist/types/appli_params.d.ts +291 -0
- package/dist/types/common/cmd.d.ts +28 -0
- package/dist/types/common/constant.d.ts +4 -0
- package/dist/types/common/interface.d.ts +30 -0
- package/dist/types/config.d.ts +59 -0
- package/dist/types/event/event_base.d.ts +11 -0
- package/dist/types/event/iframe_poster.d.ts +9 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/lark/Worker.d.ts +0 -0
- package/dist/types/lark/application.d.ts +185 -0
- package/dist/types/lark/custom.d.ts +7 -0
- package/dist/types/lark/ice_candiadate_parser.d.ts +24 -0
- package/dist/types/lark/lark_event_type.d.ts +113 -0
- package/dist/types/lark/message.d.ts +20 -0
- package/dist/types/lark/peer_connection.d.ts +178 -0
- package/dist/types/lark/recoder.d.ts +55 -0
- package/dist/types/lark/sdp_util.d.ts +36 -0
- package/dist/types/lark/test_pixel_streaming.d.ts +54 -0
- package/dist/types/lark/websocket_channel.d.ts +56 -0
- package/dist/types/lark/websocket_proxy.d.ts +56 -0
- package/dist/types/larksr.d.ts +998 -0
- package/dist/types/localization/base.d.ts +8 -0
- package/dist/types/localization/gesture_ins.d.ts +4 -0
- package/dist/types/localization/language.d.ts +6 -0
- package/dist/types/localization/loader.d.ts +14 -0
- package/dist/types/localization/message.d.ts +81 -0
- package/dist/types/localization/ui.d.ts +58 -0
- package/dist/types/operation/gamepad_handler.d.ts +67 -0
- package/dist/types/operation/gesture.d.ts +72 -0
- package/dist/types/operation/gesture_handler.d.ts +53 -0
- package/dist/types/operation/handler_base.d.ts +8 -0
- package/dist/types/operation/keyboard_handler.d.ts +21 -0
- package/dist/types/operation/keymap.d.ts +24 -0
- package/dist/types/operation/letter_keymap.d.ts +8 -0
- package/dist/types/operation/mouse_handler.d.ts +42 -0
- package/dist/types/operation/num_keymap.d.ts +12 -0
- package/dist/types/operation/operation.d.ts +97 -0
- package/dist/types/operation/pixel_streaming_input.d.ts +82 -0
- package/dist/types/operation/touch_handler.d.ts +11 -0
- package/dist/types/operation/utils.d.ts +18 -0
- package/dist/types/protobuf/cloudlark.d.ts +7855 -0
- package/dist/types/screen_state.d.ts +118 -0
- package/dist/types/utils/browser_type.d.ts +37 -0
- package/dist/types/utils/capabilities.d.ts +54 -0
- package/dist/types/utils/full_screen.d.ts +25 -0
- package/dist/types/utils/ios-inner-height.d.ts +4 -0
- package/dist/types/utils/lock_pointer.d.ts +23 -0
- package/dist/types/utils/log.d.ts +25 -0
- package/dist/types/utils/scale_mode.d.ts +26 -0
- package/dist/types/utils/unit.d.ts +142 -0
- package/package.json +1 -1
- package/types/api.d.ts +5 -0
- package/types/appli_params.d.ts +2 -0
- package/types/lark/application.d.ts +7 -1
- package/types/lark/peer_connection.d.ts +5 -1
- package/types/larksr.d.ts +69 -5
- package/types/protobuf/cloudlark.d.ts +473 -2
- package/types/screen_state.d.ts +5 -3
|
@@ -6992,6 +6992,453 @@ export namespace CloudLark {
|
|
|
6992
6992
|
public toJSON(): { [k: string]: any };
|
|
6993
6993
|
}
|
|
6994
6994
|
|
|
6995
|
+
/** Properties of a Rtmp_Start. */
|
|
6996
|
+
interface IRtmp_Start {
|
|
6997
|
+
|
|
6998
|
+
/** Rtmp_Start width */
|
|
6999
|
+
width?: (number|null);
|
|
7000
|
+
|
|
7001
|
+
/** Rtmp_Start height */
|
|
7002
|
+
height?: (number|null);
|
|
7003
|
+
|
|
7004
|
+
/** Rtmp_Start framerate */
|
|
7005
|
+
framerate?: (number|null);
|
|
7006
|
+
|
|
7007
|
+
/** Rtmp_Start bitrate */
|
|
7008
|
+
bitrate?: (number|null);
|
|
7009
|
+
|
|
7010
|
+
/** Rtmp_Start path */
|
|
7011
|
+
path?: (string|null);
|
|
7012
|
+
|
|
7013
|
+
/** Rtmp_Start key */
|
|
7014
|
+
key?: (string|null);
|
|
7015
|
+
|
|
7016
|
+
/** Rtmp_Start reconnect */
|
|
7017
|
+
reconnect?: (boolean|null);
|
|
7018
|
+
|
|
7019
|
+
/** Rtmp_Start reconnectRetries */
|
|
7020
|
+
reconnectRetries?: (number|null);
|
|
7021
|
+
|
|
7022
|
+
/** Rtmp_Start voice */
|
|
7023
|
+
voice?: (boolean|null);
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
/** Represents a Rtmp_Start. */
|
|
7027
|
+
class Rtmp_Start implements IRtmp_Start {
|
|
7028
|
+
|
|
7029
|
+
/**
|
|
7030
|
+
* Constructs a new Rtmp_Start.
|
|
7031
|
+
* @param [properties] Properties to set
|
|
7032
|
+
*/
|
|
7033
|
+
constructor(properties?: CloudLark.IRtmp_Start);
|
|
7034
|
+
|
|
7035
|
+
/** Rtmp_Start width. */
|
|
7036
|
+
public width: number;
|
|
7037
|
+
|
|
7038
|
+
/** Rtmp_Start height. */
|
|
7039
|
+
public height: number;
|
|
7040
|
+
|
|
7041
|
+
/** Rtmp_Start framerate. */
|
|
7042
|
+
public framerate: number;
|
|
7043
|
+
|
|
7044
|
+
/** Rtmp_Start bitrate. */
|
|
7045
|
+
public bitrate: number;
|
|
7046
|
+
|
|
7047
|
+
/** Rtmp_Start path. */
|
|
7048
|
+
public path: string;
|
|
7049
|
+
|
|
7050
|
+
/** Rtmp_Start key. */
|
|
7051
|
+
public key: string;
|
|
7052
|
+
|
|
7053
|
+
/** Rtmp_Start reconnect. */
|
|
7054
|
+
public reconnect: boolean;
|
|
7055
|
+
|
|
7056
|
+
/** Rtmp_Start reconnectRetries. */
|
|
7057
|
+
public reconnectRetries: number;
|
|
7058
|
+
|
|
7059
|
+
/** Rtmp_Start voice. */
|
|
7060
|
+
public voice: boolean;
|
|
7061
|
+
|
|
7062
|
+
/**
|
|
7063
|
+
* Creates a new Rtmp_Start instance using the specified properties.
|
|
7064
|
+
* @param [properties] Properties to set
|
|
7065
|
+
* @returns Rtmp_Start instance
|
|
7066
|
+
*/
|
|
7067
|
+
public static create(properties?: CloudLark.IRtmp_Start): CloudLark.Rtmp_Start;
|
|
7068
|
+
|
|
7069
|
+
/**
|
|
7070
|
+
* Encodes the specified Rtmp_Start message. Does not implicitly {@link CloudLark.Rtmp_Start.verify|verify} messages.
|
|
7071
|
+
* @param message Rtmp_Start message or plain object to encode
|
|
7072
|
+
* @param [writer] Writer to encode to
|
|
7073
|
+
* @returns Writer
|
|
7074
|
+
*/
|
|
7075
|
+
public static encode(message: CloudLark.IRtmp_Start, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7076
|
+
|
|
7077
|
+
/**
|
|
7078
|
+
* Encodes the specified Rtmp_Start message, length delimited. Does not implicitly {@link CloudLark.Rtmp_Start.verify|verify} messages.
|
|
7079
|
+
* @param message Rtmp_Start message or plain object to encode
|
|
7080
|
+
* @param [writer] Writer to encode to
|
|
7081
|
+
* @returns Writer
|
|
7082
|
+
*/
|
|
7083
|
+
public static encodeDelimited(message: CloudLark.IRtmp_Start, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7084
|
+
|
|
7085
|
+
/**
|
|
7086
|
+
* Decodes a Rtmp_Start message from the specified reader or buffer.
|
|
7087
|
+
* @param reader Reader or buffer to decode from
|
|
7088
|
+
* @param [length] Message length if known beforehand
|
|
7089
|
+
* @returns Rtmp_Start
|
|
7090
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7091
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7092
|
+
*/
|
|
7093
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.Rtmp_Start;
|
|
7094
|
+
|
|
7095
|
+
/**
|
|
7096
|
+
* Decodes a Rtmp_Start message from the specified reader or buffer, length delimited.
|
|
7097
|
+
* @param reader Reader or buffer to decode from
|
|
7098
|
+
* @returns Rtmp_Start
|
|
7099
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7100
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7101
|
+
*/
|
|
7102
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.Rtmp_Start;
|
|
7103
|
+
|
|
7104
|
+
/**
|
|
7105
|
+
* Verifies a Rtmp_Start message.
|
|
7106
|
+
* @param message Plain object to verify
|
|
7107
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7108
|
+
*/
|
|
7109
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7110
|
+
|
|
7111
|
+
/**
|
|
7112
|
+
* Creates a Rtmp_Start message from a plain object. Also converts values to their respective internal types.
|
|
7113
|
+
* @param object Plain object
|
|
7114
|
+
* @returns Rtmp_Start
|
|
7115
|
+
*/
|
|
7116
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.Rtmp_Start;
|
|
7117
|
+
|
|
7118
|
+
/**
|
|
7119
|
+
* Creates a plain object from a Rtmp_Start message. Also converts values to other types if specified.
|
|
7120
|
+
* @param message Rtmp_Start
|
|
7121
|
+
* @param [options] Conversion options
|
|
7122
|
+
* @returns Plain object
|
|
7123
|
+
*/
|
|
7124
|
+
public static toObject(message: CloudLark.Rtmp_Start, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7125
|
+
|
|
7126
|
+
/**
|
|
7127
|
+
* Converts this Rtmp_Start to JSON.
|
|
7128
|
+
* @returns JSON object
|
|
7129
|
+
*/
|
|
7130
|
+
public toJSON(): { [k: string]: any };
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
/** Properties of a Rtmp_Stop. */
|
|
7134
|
+
interface IRtmp_Stop {
|
|
7135
|
+
|
|
7136
|
+
/** Rtmp_Stop flag */
|
|
7137
|
+
flag?: (boolean|null);
|
|
7138
|
+
}
|
|
7139
|
+
|
|
7140
|
+
/** Represents a Rtmp_Stop. */
|
|
7141
|
+
class Rtmp_Stop implements IRtmp_Stop {
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* Constructs a new Rtmp_Stop.
|
|
7145
|
+
* @param [properties] Properties to set
|
|
7146
|
+
*/
|
|
7147
|
+
constructor(properties?: CloudLark.IRtmp_Stop);
|
|
7148
|
+
|
|
7149
|
+
/** Rtmp_Stop flag. */
|
|
7150
|
+
public flag: boolean;
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* Creates a new Rtmp_Stop instance using the specified properties.
|
|
7154
|
+
* @param [properties] Properties to set
|
|
7155
|
+
* @returns Rtmp_Stop instance
|
|
7156
|
+
*/
|
|
7157
|
+
public static create(properties?: CloudLark.IRtmp_Stop): CloudLark.Rtmp_Stop;
|
|
7158
|
+
|
|
7159
|
+
/**
|
|
7160
|
+
* Encodes the specified Rtmp_Stop message. Does not implicitly {@link CloudLark.Rtmp_Stop.verify|verify} messages.
|
|
7161
|
+
* @param message Rtmp_Stop message or plain object to encode
|
|
7162
|
+
* @param [writer] Writer to encode to
|
|
7163
|
+
* @returns Writer
|
|
7164
|
+
*/
|
|
7165
|
+
public static encode(message: CloudLark.IRtmp_Stop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7166
|
+
|
|
7167
|
+
/**
|
|
7168
|
+
* Encodes the specified Rtmp_Stop message, length delimited. Does not implicitly {@link CloudLark.Rtmp_Stop.verify|verify} messages.
|
|
7169
|
+
* @param message Rtmp_Stop message or plain object to encode
|
|
7170
|
+
* @param [writer] Writer to encode to
|
|
7171
|
+
* @returns Writer
|
|
7172
|
+
*/
|
|
7173
|
+
public static encodeDelimited(message: CloudLark.IRtmp_Stop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7174
|
+
|
|
7175
|
+
/**
|
|
7176
|
+
* Decodes a Rtmp_Stop message from the specified reader or buffer.
|
|
7177
|
+
* @param reader Reader or buffer to decode from
|
|
7178
|
+
* @param [length] Message length if known beforehand
|
|
7179
|
+
* @returns Rtmp_Stop
|
|
7180
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7181
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7182
|
+
*/
|
|
7183
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.Rtmp_Stop;
|
|
7184
|
+
|
|
7185
|
+
/**
|
|
7186
|
+
* Decodes a Rtmp_Stop message from the specified reader or buffer, length delimited.
|
|
7187
|
+
* @param reader Reader or buffer to decode from
|
|
7188
|
+
* @returns Rtmp_Stop
|
|
7189
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7190
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7191
|
+
*/
|
|
7192
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.Rtmp_Stop;
|
|
7193
|
+
|
|
7194
|
+
/**
|
|
7195
|
+
* Verifies a Rtmp_Stop message.
|
|
7196
|
+
* @param message Plain object to verify
|
|
7197
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7198
|
+
*/
|
|
7199
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7200
|
+
|
|
7201
|
+
/**
|
|
7202
|
+
* Creates a Rtmp_Stop message from a plain object. Also converts values to their respective internal types.
|
|
7203
|
+
* @param object Plain object
|
|
7204
|
+
* @returns Rtmp_Stop
|
|
7205
|
+
*/
|
|
7206
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.Rtmp_Stop;
|
|
7207
|
+
|
|
7208
|
+
/**
|
|
7209
|
+
* Creates a plain object from a Rtmp_Stop message. Also converts values to other types if specified.
|
|
7210
|
+
* @param message Rtmp_Stop
|
|
7211
|
+
* @param [options] Conversion options
|
|
7212
|
+
* @returns Plain object
|
|
7213
|
+
*/
|
|
7214
|
+
public static toObject(message: CloudLark.Rtmp_Stop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7215
|
+
|
|
7216
|
+
/**
|
|
7217
|
+
* Converts this Rtmp_Stop to JSON.
|
|
7218
|
+
* @returns JSON object
|
|
7219
|
+
*/
|
|
7220
|
+
public toJSON(): { [k: string]: any };
|
|
7221
|
+
}
|
|
7222
|
+
|
|
7223
|
+
/** Properties of a Rtmp_State. */
|
|
7224
|
+
interface IRtmp_State {
|
|
7225
|
+
|
|
7226
|
+
/** Rtmp_State state */
|
|
7227
|
+
state?: (CloudLark.Rtmp_State.STATE|null);
|
|
7228
|
+
|
|
7229
|
+
/** Rtmp_State desc */
|
|
7230
|
+
desc?: (string|null);
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
/** Represents a Rtmp_State. */
|
|
7234
|
+
class Rtmp_State implements IRtmp_State {
|
|
7235
|
+
|
|
7236
|
+
/**
|
|
7237
|
+
* Constructs a new Rtmp_State.
|
|
7238
|
+
* @param [properties] Properties to set
|
|
7239
|
+
*/
|
|
7240
|
+
constructor(properties?: CloudLark.IRtmp_State);
|
|
7241
|
+
|
|
7242
|
+
/** Rtmp_State state. */
|
|
7243
|
+
public state: CloudLark.Rtmp_State.STATE;
|
|
7244
|
+
|
|
7245
|
+
/** Rtmp_State desc. */
|
|
7246
|
+
public desc: string;
|
|
7247
|
+
|
|
7248
|
+
/**
|
|
7249
|
+
* Creates a new Rtmp_State instance using the specified properties.
|
|
7250
|
+
* @param [properties] Properties to set
|
|
7251
|
+
* @returns Rtmp_State instance
|
|
7252
|
+
*/
|
|
7253
|
+
public static create(properties?: CloudLark.IRtmp_State): CloudLark.Rtmp_State;
|
|
7254
|
+
|
|
7255
|
+
/**
|
|
7256
|
+
* Encodes the specified Rtmp_State message. Does not implicitly {@link CloudLark.Rtmp_State.verify|verify} messages.
|
|
7257
|
+
* @param message Rtmp_State message or plain object to encode
|
|
7258
|
+
* @param [writer] Writer to encode to
|
|
7259
|
+
* @returns Writer
|
|
7260
|
+
*/
|
|
7261
|
+
public static encode(message: CloudLark.IRtmp_State, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7262
|
+
|
|
7263
|
+
/**
|
|
7264
|
+
* Encodes the specified Rtmp_State message, length delimited. Does not implicitly {@link CloudLark.Rtmp_State.verify|verify} messages.
|
|
7265
|
+
* @param message Rtmp_State message or plain object to encode
|
|
7266
|
+
* @param [writer] Writer to encode to
|
|
7267
|
+
* @returns Writer
|
|
7268
|
+
*/
|
|
7269
|
+
public static encodeDelimited(message: CloudLark.IRtmp_State, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7270
|
+
|
|
7271
|
+
/**
|
|
7272
|
+
* Decodes a Rtmp_State message from the specified reader or buffer.
|
|
7273
|
+
* @param reader Reader or buffer to decode from
|
|
7274
|
+
* @param [length] Message length if known beforehand
|
|
7275
|
+
* @returns Rtmp_State
|
|
7276
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7277
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7278
|
+
*/
|
|
7279
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.Rtmp_State;
|
|
7280
|
+
|
|
7281
|
+
/**
|
|
7282
|
+
* Decodes a Rtmp_State message from the specified reader or buffer, length delimited.
|
|
7283
|
+
* @param reader Reader or buffer to decode from
|
|
7284
|
+
* @returns Rtmp_State
|
|
7285
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7286
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7287
|
+
*/
|
|
7288
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.Rtmp_State;
|
|
7289
|
+
|
|
7290
|
+
/**
|
|
7291
|
+
* Verifies a Rtmp_State message.
|
|
7292
|
+
* @param message Plain object to verify
|
|
7293
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7294
|
+
*/
|
|
7295
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7296
|
+
|
|
7297
|
+
/**
|
|
7298
|
+
* Creates a Rtmp_State message from a plain object. Also converts values to their respective internal types.
|
|
7299
|
+
* @param object Plain object
|
|
7300
|
+
* @returns Rtmp_State
|
|
7301
|
+
*/
|
|
7302
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.Rtmp_State;
|
|
7303
|
+
|
|
7304
|
+
/**
|
|
7305
|
+
* Creates a plain object from a Rtmp_State message. Also converts values to other types if specified.
|
|
7306
|
+
* @param message Rtmp_State
|
|
7307
|
+
* @param [options] Conversion options
|
|
7308
|
+
* @returns Plain object
|
|
7309
|
+
*/
|
|
7310
|
+
public static toObject(message: CloudLark.Rtmp_State, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7311
|
+
|
|
7312
|
+
/**
|
|
7313
|
+
* Converts this Rtmp_State to JSON.
|
|
7314
|
+
* @returns JSON object
|
|
7315
|
+
*/
|
|
7316
|
+
public toJSON(): { [k: string]: any };
|
|
7317
|
+
}
|
|
7318
|
+
|
|
7319
|
+
namespace Rtmp_State {
|
|
7320
|
+
|
|
7321
|
+
/** STATE enum. */
|
|
7322
|
+
enum STATE {
|
|
7323
|
+
CONNECTING = 0,
|
|
7324
|
+
CONNECTED = 1,
|
|
7325
|
+
RECONNECTING = 2,
|
|
7326
|
+
DISCONNECTING = 3,
|
|
7327
|
+
DISCONNECTED = 4
|
|
7328
|
+
}
|
|
7329
|
+
}
|
|
7330
|
+
|
|
7331
|
+
/** Properties of a Rtmp_Error. */
|
|
7332
|
+
interface IRtmp_Error {
|
|
7333
|
+
|
|
7334
|
+
/** Rtmp_Error error */
|
|
7335
|
+
error?: (CloudLark.Rtmp_Error.ERR|null);
|
|
7336
|
+
|
|
7337
|
+
/** Rtmp_Error desc */
|
|
7338
|
+
desc?: (string|null);
|
|
7339
|
+
}
|
|
7340
|
+
|
|
7341
|
+
/** Represents a Rtmp_Error. */
|
|
7342
|
+
class Rtmp_Error implements IRtmp_Error {
|
|
7343
|
+
|
|
7344
|
+
/**
|
|
7345
|
+
* Constructs a new Rtmp_Error.
|
|
7346
|
+
* @param [properties] Properties to set
|
|
7347
|
+
*/
|
|
7348
|
+
constructor(properties?: CloudLark.IRtmp_Error);
|
|
7349
|
+
|
|
7350
|
+
/** Rtmp_Error error. */
|
|
7351
|
+
public error: CloudLark.Rtmp_Error.ERR;
|
|
7352
|
+
|
|
7353
|
+
/** Rtmp_Error desc. */
|
|
7354
|
+
public desc: string;
|
|
7355
|
+
|
|
7356
|
+
/**
|
|
7357
|
+
* Creates a new Rtmp_Error instance using the specified properties.
|
|
7358
|
+
* @param [properties] Properties to set
|
|
7359
|
+
* @returns Rtmp_Error instance
|
|
7360
|
+
*/
|
|
7361
|
+
public static create(properties?: CloudLark.IRtmp_Error): CloudLark.Rtmp_Error;
|
|
7362
|
+
|
|
7363
|
+
/**
|
|
7364
|
+
* Encodes the specified Rtmp_Error message. Does not implicitly {@link CloudLark.Rtmp_Error.verify|verify} messages.
|
|
7365
|
+
* @param message Rtmp_Error message or plain object to encode
|
|
7366
|
+
* @param [writer] Writer to encode to
|
|
7367
|
+
* @returns Writer
|
|
7368
|
+
*/
|
|
7369
|
+
public static encode(message: CloudLark.IRtmp_Error, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7370
|
+
|
|
7371
|
+
/**
|
|
7372
|
+
* Encodes the specified Rtmp_Error message, length delimited. Does not implicitly {@link CloudLark.Rtmp_Error.verify|verify} messages.
|
|
7373
|
+
* @param message Rtmp_Error message or plain object to encode
|
|
7374
|
+
* @param [writer] Writer to encode to
|
|
7375
|
+
* @returns Writer
|
|
7376
|
+
*/
|
|
7377
|
+
public static encodeDelimited(message: CloudLark.IRtmp_Error, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
7378
|
+
|
|
7379
|
+
/**
|
|
7380
|
+
* Decodes a Rtmp_Error message from the specified reader or buffer.
|
|
7381
|
+
* @param reader Reader or buffer to decode from
|
|
7382
|
+
* @param [length] Message length if known beforehand
|
|
7383
|
+
* @returns Rtmp_Error
|
|
7384
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7385
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7386
|
+
*/
|
|
7387
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): CloudLark.Rtmp_Error;
|
|
7388
|
+
|
|
7389
|
+
/**
|
|
7390
|
+
* Decodes a Rtmp_Error message from the specified reader or buffer, length delimited.
|
|
7391
|
+
* @param reader Reader or buffer to decode from
|
|
7392
|
+
* @returns Rtmp_Error
|
|
7393
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
7394
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
7395
|
+
*/
|
|
7396
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): CloudLark.Rtmp_Error;
|
|
7397
|
+
|
|
7398
|
+
/**
|
|
7399
|
+
* Verifies a Rtmp_Error message.
|
|
7400
|
+
* @param message Plain object to verify
|
|
7401
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
7402
|
+
*/
|
|
7403
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
7404
|
+
|
|
7405
|
+
/**
|
|
7406
|
+
* Creates a Rtmp_Error message from a plain object. Also converts values to their respective internal types.
|
|
7407
|
+
* @param object Plain object
|
|
7408
|
+
* @returns Rtmp_Error
|
|
7409
|
+
*/
|
|
7410
|
+
public static fromObject(object: { [k: string]: any }): CloudLark.Rtmp_Error;
|
|
7411
|
+
|
|
7412
|
+
/**
|
|
7413
|
+
* Creates a plain object from a Rtmp_Error message. Also converts values to other types if specified.
|
|
7414
|
+
* @param message Rtmp_Error
|
|
7415
|
+
* @param [options] Conversion options
|
|
7416
|
+
* @returns Plain object
|
|
7417
|
+
*/
|
|
7418
|
+
public static toObject(message: CloudLark.Rtmp_Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
7419
|
+
|
|
7420
|
+
/**
|
|
7421
|
+
* Converts this Rtmp_Error to JSON.
|
|
7422
|
+
* @returns JSON object
|
|
7423
|
+
*/
|
|
7424
|
+
public toJSON(): { [k: string]: any };
|
|
7425
|
+
}
|
|
7426
|
+
|
|
7427
|
+
namespace Rtmp_Error {
|
|
7428
|
+
|
|
7429
|
+
/** ERR enum. */
|
|
7430
|
+
enum ERR {
|
|
7431
|
+
PROCESS = 0,
|
|
7432
|
+
BADPATH = 1,
|
|
7433
|
+
ENCODER = 2,
|
|
7434
|
+
CONNECTE_FAILED = 3,
|
|
7435
|
+
INVALID_STREAM = 4,
|
|
7436
|
+
DISCONNECTED = 5,
|
|
7437
|
+
UNSUPPORTED = 6,
|
|
7438
|
+
REPEATED = 7
|
|
7439
|
+
}
|
|
7440
|
+
}
|
|
7441
|
+
|
|
6995
7442
|
/** Properties of a ClientInput. */
|
|
6996
7443
|
interface IClientInput {
|
|
6997
7444
|
|
|
@@ -7066,6 +7513,12 @@ export namespace CloudLark {
|
|
|
7066
7513
|
|
|
7067
7514
|
/** ClientInput aiVoiceText */
|
|
7068
7515
|
aiVoiceText?: (CloudLark.IAiVoiceText|null);
|
|
7516
|
+
|
|
7517
|
+
/** ClientInput rtmpStart */
|
|
7518
|
+
rtmpStart?: (CloudLark.IRtmp_Start|null);
|
|
7519
|
+
|
|
7520
|
+
/** ClientInput rtmpStop */
|
|
7521
|
+
rtmpStop?: (CloudLark.IRtmp_Stop|null);
|
|
7069
7522
|
}
|
|
7070
7523
|
|
|
7071
7524
|
/** Represents a ClientInput. */
|
|
@@ -7149,8 +7602,14 @@ export namespace CloudLark {
|
|
|
7149
7602
|
/** ClientInput aiVoiceText. */
|
|
7150
7603
|
public aiVoiceText?: (CloudLark.IAiVoiceText|null);
|
|
7151
7604
|
|
|
7605
|
+
/** ClientInput rtmpStart. */
|
|
7606
|
+
public rtmpStart?: (CloudLark.IRtmp_Start|null);
|
|
7607
|
+
|
|
7608
|
+
/** ClientInput rtmpStop. */
|
|
7609
|
+
public rtmpStop?: (CloudLark.IRtmp_Stop|null);
|
|
7610
|
+
|
|
7152
7611
|
/** ClientInput input. */
|
|
7153
|
-
public input?: ("mouseMove"|"mouseDown"|"mouseUp"|"mouseWheel"|"keyDown"|"keyUp"|"clientEnter"|"clientLeave"|"dispatchController"|"requesController"|"textInput"|"gamepadInputJoystickStates"|"gamepadInputButtonDown"|"gamepadInputButtonUp"|"gamepadInputTriger"|"clientDcMsg"|"touchMove"|"touchDown"|"touchUp"|"aiVoicestreamStart"|"aiVoicestreamSlice"|"aiVoicestreamStop"|"aiVoicestreamReset"|"aiVoiceText");
|
|
7612
|
+
public input?: ("mouseMove"|"mouseDown"|"mouseUp"|"mouseWheel"|"keyDown"|"keyUp"|"clientEnter"|"clientLeave"|"dispatchController"|"requesController"|"textInput"|"gamepadInputJoystickStates"|"gamepadInputButtonDown"|"gamepadInputButtonUp"|"gamepadInputTriger"|"clientDcMsg"|"touchMove"|"touchDown"|"touchUp"|"aiVoicestreamStart"|"aiVoicestreamSlice"|"aiVoicestreamStop"|"aiVoicestreamReset"|"aiVoiceText"|"rtmpStart"|"rtmpStop");
|
|
7154
7613
|
|
|
7155
7614
|
/**
|
|
7156
7615
|
* Creates a new ClientInput instance using the specified properties.
|
|
@@ -7261,6 +7720,12 @@ export namespace CloudLark {
|
|
|
7261
7720
|
|
|
7262
7721
|
/** AppNotification aiVoiceErr */
|
|
7263
7722
|
aiVoiceErr?: (CloudLark.IAivoiceError|null);
|
|
7723
|
+
|
|
7724
|
+
/** AppNotification rtmpState */
|
|
7725
|
+
rtmpState?: (CloudLark.IRtmp_State|null);
|
|
7726
|
+
|
|
7727
|
+
/** AppNotification rtmpError */
|
|
7728
|
+
rtmpError?: (CloudLark.IRtmp_Error|null);
|
|
7264
7729
|
}
|
|
7265
7730
|
|
|
7266
7731
|
/** Represents an AppNotification. */
|
|
@@ -7308,8 +7773,14 @@ export namespace CloudLark {
|
|
|
7308
7773
|
/** AppNotification aiVoiceErr. */
|
|
7309
7774
|
public aiVoiceErr?: (CloudLark.IAivoiceError|null);
|
|
7310
7775
|
|
|
7776
|
+
/** AppNotification rtmpState. */
|
|
7777
|
+
public rtmpState?: (CloudLark.IRtmp_State|null);
|
|
7778
|
+
|
|
7779
|
+
/** AppNotification rtmpError. */
|
|
7780
|
+
public rtmpError?: (CloudLark.IRtmp_Error|null);
|
|
7781
|
+
|
|
7311
7782
|
/** AppNotification notify. */
|
|
7312
|
-
public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr");
|
|
7783
|
+
public notify?: ("resize"|"mousemode"|"updatePlayers"|"requestInput"|"gamepadOutput"|"datachannelState"|"appDcMsg"|"cursorStyle"|"aiVoiceRealtimeParseresult"|"aiVoiceResult"|"aiVoiceServiceStatus"|"aiVoiceErr"|"rtmpState"|"rtmpError");
|
|
7313
7784
|
|
|
7314
7785
|
/**
|
|
7315
7786
|
* Creates a new AppNotification instance using the specified properties.
|
package/types/screen_state.d.ts
CHANGED
|
@@ -104,12 +104,14 @@ export default class ScreenState extends EventBase<SCREEN_EVENT_TYPE, ScreenEven
|
|
|
104
104
|
private _rootElement;
|
|
105
105
|
private mobileForceLandScape;
|
|
106
106
|
private bgColor;
|
|
107
|
-
get
|
|
108
|
-
private
|
|
107
|
+
get handleRootElementSize(): boolean;
|
|
108
|
+
private _handleRootElementSize;
|
|
109
|
+
get onlyHandleRootElementTransform(): boolean;
|
|
110
|
+
private _onlyHandleRootElementTransform;
|
|
109
111
|
private larksr;
|
|
110
112
|
get baseElementScale(): number;
|
|
111
113
|
private _baseElementScale;
|
|
112
|
-
constructor(rootElement: HTMLElement, params: IAppliParams, larksr: LarkSR,
|
|
114
|
+
constructor(rootElement: HTMLElement, params: IAppliParams, larksr: LarkSR, handleRootElementSize?: boolean, onlyHandleRootElementTransform?: boolean);
|
|
113
115
|
reset(params: IAppliParams): void;
|
|
114
116
|
setMobileForceLandScape(force: boolean): void;
|
|
115
117
|
resize(baseElementScale?: number): void;
|