@bluebillywig/react-native-bb-player 8.47.2 → 8.47.3
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/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk/8.46.0/bbnativeplayersdk-8.46.0.aar +0 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk/8.46.0/bbnativeplayersdk-8.46.0.module +137 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk/8.46.0/bbnativeplayersdk-8.46.0.pom +57 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk-core/8.46.0/bbnativeplayersdk-core-8.46.0.aar +0 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk-core/8.46.0/bbnativeplayersdk-core-8.46.0.module +264 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeplayersdk-core/8.46.0/bbnativeplayersdk-core-8.46.0.pom +171 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared/8.46.0/bbnativeshared-8.46.0.jar +0 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared/8.46.0/bbnativeshared-8.46.0.module +159 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared/8.46.0/bbnativeshared-8.46.0.pom +36 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared-android/8.46.0/bbnativeshared-android-8.46.0.aar +0 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared-android/8.46.0/bbnativeshared-android-8.46.0.module +329 -0
- package/android/repo/com/bluebillywig/bbnativeplayersdk/bbnativeshared-android/8.46.0/bbnativeshared-android-8.46.0.pom +267 -0
- package/android/src/main/java/com/bluebillywig/bbplayer/BBPlayerModule.kt +5 -0
- package/android/src/main/java/com/bluebillywig/bbplayer/BBPlayerView.kt +8 -0
- package/ios/BBCastButtonViewManager.swift +1 -1
- package/ios/BBCastMiniControlsViewManager.swift +1 -1
- package/ios/BBPlayerModule.mm +1 -0
- package/ios/BBPlayerModule.swift +6 -0
- package/ios/BBPlayerView.swift +8 -0
- package/ios/BBPlayerViewManager.swift +1 -1
- package/ios/BBShortsView.swift +3 -1
- package/ios/BBShortsViewManager.swift +1 -1
- package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64/BBNativePlayerKit.framework/_CodeSignature/CodeResources +256 -0
- package/ios/Frameworks/BBNativePlayerKit.xcframework/ios-arm64_x86_64-simulator/BBNativePlayerKit.framework/_CodeSignature/CodeResources +311 -0
- package/lib/commonjs/BBOutstreamView.js +1 -0
- package/lib/commonjs/BBOutstreamView.js.map +1 -1
- package/lib/commonjs/NativeCommands.js +4 -0
- package/lib/commonjs/NativeCommands.js.map +1 -1
- package/lib/commonjs/specs/NativeBBPlayerModule.js.map +1 -1
- package/lib/module/BBOutstreamView.js +1 -0
- package/lib/module/BBOutstreamView.js.map +1 -1
- package/lib/module/NativeCommands.js +4 -0
- package/lib/module/NativeCommands.js.map +1 -1
- package/lib/module/specs/NativeBBPlayerModule.js.map +1 -1
- package/lib/typescript/src/BBOutstreamView.d.ts.map +1 -1
- package/lib/typescript/src/BBPlayer.types.d.ts +2 -0
- package/lib/typescript/src/BBPlayer.types.d.ts.map +1 -1
- package/lib/typescript/src/NativeCommands.d.ts +1 -0
- package/lib/typescript/src/NativeCommands.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeBBPlayerModule.d.ts +1 -0
- package/lib/typescript/src/specs/NativeBBPlayerModule.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/BBOutstreamView.tsx +1 -0
- package/src/BBPlayer.types.ts +2 -0
- package/src/NativeCommands.ts +4 -0
- package/src/specs/NativeBBPlayerModule.ts +1 -0
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
3
|
+
<!-- This module was also published with a richer model, Gradle metadata, -->
|
|
4
|
+
<!-- which should be used instead. Do not delete the following line which -->
|
|
5
|
+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
|
|
6
|
+
<!-- that they should prefer consuming it instead. -->
|
|
7
|
+
<!-- do_not_remove: published-with-gradle-metadata -->
|
|
8
|
+
<modelVersion>4.0.0</modelVersion>
|
|
9
|
+
<groupId>com.bluebillywig.bbnativeplayersdk</groupId>
|
|
10
|
+
<artifactId>bbnativeshared-android</artifactId>
|
|
11
|
+
<version>8.46.0</version>
|
|
12
|
+
<packaging>aar</packaging>
|
|
13
|
+
<name>bbnativeplayersdk Shared</name>
|
|
14
|
+
<description>Blue Billywig Native Player SDK for Android</description>
|
|
15
|
+
<url>https://github.com/bluebillywig/bbnativeplayersdk-kotlin</url>
|
|
16
|
+
<inceptionYear>2021</inceptionYear>
|
|
17
|
+
<licenses>
|
|
18
|
+
<license>
|
|
19
|
+
<name>The Apache Software License, Version 2.0</name>
|
|
20
|
+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
21
|
+
<distribution>repo</distribution>
|
|
22
|
+
</license>
|
|
23
|
+
</licenses>
|
|
24
|
+
<developers>
|
|
25
|
+
<developer>
|
|
26
|
+
<id>blue-billywig-github-workflow</id>
|
|
27
|
+
<name>Blue Billywig Github Workflow</name>
|
|
28
|
+
<email>j.koppen@bluebillywig.com</email>
|
|
29
|
+
</developer>
|
|
30
|
+
</developers>
|
|
31
|
+
<scm>
|
|
32
|
+
<connection>scm:git@github.com:bluebillywig/bbnativeplayersdk-kotlin.git</connection>
|
|
33
|
+
<developerConnection>scm:git@github.com:bluebillywig/bbnativeplayersdk-kotlin.git</developerConnection>
|
|
34
|
+
<url>https://github.com/bluebillywig/bbnativeplayersdk-kotlin</url>
|
|
35
|
+
</scm>
|
|
36
|
+
<dependencyManagement>
|
|
37
|
+
<dependencies>
|
|
38
|
+
<dependency>
|
|
39
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
40
|
+
<artifactId>kotlin-stdlib</artifactId>
|
|
41
|
+
<version>2.1.0</version>
|
|
42
|
+
</dependency>
|
|
43
|
+
</dependencies>
|
|
44
|
+
</dependencyManagement>
|
|
45
|
+
<dependencies>
|
|
46
|
+
<dependency>
|
|
47
|
+
<groupId>org.jetbrains.kotlinx</groupId>
|
|
48
|
+
<artifactId>kotlinx-coroutines-android</artifactId>
|
|
49
|
+
<version>1.9.0</version>
|
|
50
|
+
<scope>runtime</scope>
|
|
51
|
+
<exclusions>
|
|
52
|
+
<exclusion>
|
|
53
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
54
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
55
|
+
</exclusion>
|
|
56
|
+
<exclusion>
|
|
57
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
58
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
59
|
+
</exclusion>
|
|
60
|
+
<exclusion>
|
|
61
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
62
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
63
|
+
</exclusion>
|
|
64
|
+
</exclusions>
|
|
65
|
+
</dependency>
|
|
66
|
+
<dependency>
|
|
67
|
+
<groupId>io.ktor</groupId>
|
|
68
|
+
<artifactId>ktor-client-android</artifactId>
|
|
69
|
+
<version>[2.0, 3.1)</version>
|
|
70
|
+
<scope>runtime</scope>
|
|
71
|
+
<exclusions>
|
|
72
|
+
<exclusion>
|
|
73
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
74
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
75
|
+
</exclusion>
|
|
76
|
+
<exclusion>
|
|
77
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
78
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
79
|
+
</exclusion>
|
|
80
|
+
<exclusion>
|
|
81
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
82
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
83
|
+
</exclusion>
|
|
84
|
+
</exclusions>
|
|
85
|
+
</dependency>
|
|
86
|
+
<dependency>
|
|
87
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
88
|
+
<artifactId>kotlin-stdlib</artifactId>
|
|
89
|
+
<scope>runtime</scope>
|
|
90
|
+
<exclusions>
|
|
91
|
+
<exclusion>
|
|
92
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
93
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
94
|
+
</exclusion>
|
|
95
|
+
<exclusion>
|
|
96
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
97
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
98
|
+
</exclusion>
|
|
99
|
+
<exclusion>
|
|
100
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
101
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
102
|
+
</exclusion>
|
|
103
|
+
</exclusions>
|
|
104
|
+
<version>unspecified</version>
|
|
105
|
+
</dependency>
|
|
106
|
+
<dependency>
|
|
107
|
+
<groupId>org.jetbrains.kotlinx</groupId>
|
|
108
|
+
<artifactId>kotlinx-coroutines-core</artifactId>
|
|
109
|
+
<version>[1.5.2-native-mt, 1.9.0]</version>
|
|
110
|
+
<scope>runtime</scope>
|
|
111
|
+
<exclusions>
|
|
112
|
+
<exclusion>
|
|
113
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
114
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
115
|
+
</exclusion>
|
|
116
|
+
<exclusion>
|
|
117
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
118
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
119
|
+
</exclusion>
|
|
120
|
+
<exclusion>
|
|
121
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
122
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
123
|
+
</exclusion>
|
|
124
|
+
</exclusions>
|
|
125
|
+
</dependency>
|
|
126
|
+
<dependency>
|
|
127
|
+
<groupId>io.ktor</groupId>
|
|
128
|
+
<artifactId>ktor-client-core</artifactId>
|
|
129
|
+
<version>[2.0, 3.1)</version>
|
|
130
|
+
<scope>runtime</scope>
|
|
131
|
+
<exclusions>
|
|
132
|
+
<exclusion>
|
|
133
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
134
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
135
|
+
</exclusion>
|
|
136
|
+
<exclusion>
|
|
137
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
138
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
139
|
+
</exclusion>
|
|
140
|
+
<exclusion>
|
|
141
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
142
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
143
|
+
</exclusion>
|
|
144
|
+
</exclusions>
|
|
145
|
+
</dependency>
|
|
146
|
+
<dependency>
|
|
147
|
+
<groupId>org.jetbrains.kotlinx</groupId>
|
|
148
|
+
<artifactId>kotlinx-serialization-json</artifactId>
|
|
149
|
+
<version>1.5.1</version>
|
|
150
|
+
<scope>runtime</scope>
|
|
151
|
+
<exclusions>
|
|
152
|
+
<exclusion>
|
|
153
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
154
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
155
|
+
</exclusion>
|
|
156
|
+
<exclusion>
|
|
157
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
158
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
159
|
+
</exclusion>
|
|
160
|
+
<exclusion>
|
|
161
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
162
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
163
|
+
</exclusion>
|
|
164
|
+
</exclusions>
|
|
165
|
+
</dependency>
|
|
166
|
+
<dependency>
|
|
167
|
+
<groupId>io.ktor</groupId>
|
|
168
|
+
<artifactId>ktor-client-serialization</artifactId>
|
|
169
|
+
<version>[2.0, 3.1)</version>
|
|
170
|
+
<scope>runtime</scope>
|
|
171
|
+
<exclusions>
|
|
172
|
+
<exclusion>
|
|
173
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
174
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
175
|
+
</exclusion>
|
|
176
|
+
<exclusion>
|
|
177
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
178
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
179
|
+
</exclusion>
|
|
180
|
+
<exclusion>
|
|
181
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
182
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
183
|
+
</exclusion>
|
|
184
|
+
</exclusions>
|
|
185
|
+
</dependency>
|
|
186
|
+
<dependency>
|
|
187
|
+
<groupId>org.jetbrains.kotlinx</groupId>
|
|
188
|
+
<artifactId>kotlinx-datetime-jvm</artifactId>
|
|
189
|
+
<version>0.6.2</version>
|
|
190
|
+
<scope>runtime</scope>
|
|
191
|
+
<exclusions>
|
|
192
|
+
<exclusion>
|
|
193
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
194
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
195
|
+
</exclusion>
|
|
196
|
+
<exclusion>
|
|
197
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
198
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
199
|
+
</exclusion>
|
|
200
|
+
<exclusion>
|
|
201
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
202
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
203
|
+
</exclusion>
|
|
204
|
+
</exclusions>
|
|
205
|
+
</dependency>
|
|
206
|
+
<dependency>
|
|
207
|
+
<groupId>com.benasher44</groupId>
|
|
208
|
+
<artifactId>uuid-jvm</artifactId>
|
|
209
|
+
<version>0.3.1</version>
|
|
210
|
+
<scope>runtime</scope>
|
|
211
|
+
<exclusions>
|
|
212
|
+
<exclusion>
|
|
213
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
214
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
215
|
+
</exclusion>
|
|
216
|
+
<exclusion>
|
|
217
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
218
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
219
|
+
</exclusion>
|
|
220
|
+
<exclusion>
|
|
221
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
222
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
223
|
+
</exclusion>
|
|
224
|
+
</exclusions>
|
|
225
|
+
</dependency>
|
|
226
|
+
<dependency>
|
|
227
|
+
<groupId>com.soywiz.korlibs.krypto</groupId>
|
|
228
|
+
<artifactId>krypto-android</artifactId>
|
|
229
|
+
<version>2.4.12</version>
|
|
230
|
+
<scope>runtime</scope>
|
|
231
|
+
<exclusions>
|
|
232
|
+
<exclusion>
|
|
233
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
234
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
235
|
+
</exclusion>
|
|
236
|
+
<exclusion>
|
|
237
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
238
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
239
|
+
</exclusion>
|
|
240
|
+
<exclusion>
|
|
241
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
242
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
243
|
+
</exclusion>
|
|
244
|
+
</exclusions>
|
|
245
|
+
</dependency>
|
|
246
|
+
<dependency>
|
|
247
|
+
<groupId>co.touchlab</groupId>
|
|
248
|
+
<artifactId>stately-common-jvm</artifactId>
|
|
249
|
+
<version>1.2.2</version>
|
|
250
|
+
<scope>runtime</scope>
|
|
251
|
+
<exclusions>
|
|
252
|
+
<exclusion>
|
|
253
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
254
|
+
<artifactId>kotlin-stdlib-common</artifactId>
|
|
255
|
+
</exclusion>
|
|
256
|
+
<exclusion>
|
|
257
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
258
|
+
<artifactId>kotlin-test-common</artifactId>
|
|
259
|
+
</exclusion>
|
|
260
|
+
<exclusion>
|
|
261
|
+
<groupId>org.jetbrains.kotlin</groupId>
|
|
262
|
+
<artifactId>kotlin-test-annotations-common</artifactId>
|
|
263
|
+
</exclusion>
|
|
264
|
+
</exclusions>
|
|
265
|
+
</dependency>
|
|
266
|
+
</dependencies>
|
|
267
|
+
</project>
|
|
@@ -137,6 +137,11 @@ class BBPlayerModule(private val reactContext: ReactApplicationContext) :
|
|
|
137
137
|
runOnUiThread(viewTag.toInt()) { it.showCastPicker() }
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
@ReactMethod
|
|
141
|
+
override fun updatePlayout(viewTag: Double, playoutJson: String) {
|
|
142
|
+
runOnUiThread(viewTag.toInt()) { it.updatePlayout(playoutJson) }
|
|
143
|
+
}
|
|
144
|
+
|
|
140
145
|
@ReactMethod
|
|
141
146
|
override fun loadWithClipId(
|
|
142
147
|
viewTag: Double,
|
|
@@ -524,6 +524,14 @@ class BBPlayerView(private val reactContext: ThemedReactContext) : FrameLayout(r
|
|
|
524
524
|
return null
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
+
fun updatePlayout(playoutJson: String) {
|
|
528
|
+
if (!::playerView.isInitialized) {
|
|
529
|
+
Log.w("BBPlayerView", "Cannot updatePlayout - playerView not initialized")
|
|
530
|
+
return
|
|
531
|
+
}
|
|
532
|
+
playerView.player?.updatePlayoutWithJson(playoutJson)
|
|
533
|
+
}
|
|
534
|
+
|
|
527
535
|
fun destroy() {
|
|
528
536
|
Log.d("BBPlayerView", "destroy() called")
|
|
529
537
|
if (::playerView.isInitialized) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@objc(BBCastButtonViewManager)
|
|
4
4
|
class BBCastButtonViewManager: RCTViewManager, @unchecked Sendable {
|
|
5
5
|
override func view() -> UIView! {
|
|
6
|
-
return BBCastButtonView()
|
|
6
|
+
return MainActor.assumeIsolated { BBCastButtonView() }
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
override static func requiresMainQueueSetup() -> Bool {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@objc(BBCastMiniControlsViewManager)
|
|
4
4
|
class BBCastMiniControlsViewManager: RCTViewManager, @unchecked Sendable {
|
|
5
5
|
override func view() -> UIView! {
|
|
6
|
-
return BBCastMiniControlsView()
|
|
6
|
+
return MainActor.assumeIsolated { BBCastMiniControlsView() }
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
override static func requiresMainQueueSetup() -> Bool {
|
package/ios/BBPlayerModule.mm
CHANGED
|
@@ -28,6 +28,7 @@ RCT_EXTERN_METHOD(expand:(nonnull NSNumber *)viewTag)
|
|
|
28
28
|
RCT_EXTERN_METHOD(autoPlayNextCancel:(nonnull NSNumber *)viewTag)
|
|
29
29
|
RCT_EXTERN_METHOD(destroy:(nonnull NSNumber *)viewTag)
|
|
30
30
|
RCT_EXTERN_METHOD(showCastPicker:(nonnull NSNumber *)viewTag)
|
|
31
|
+
RCT_EXTERN_METHOD(updatePlayout:(nonnull NSNumber *)viewTag playoutJson:(NSString *)playoutJson)
|
|
31
32
|
|
|
32
33
|
// Load methods
|
|
33
34
|
RCT_EXTERN_METHOD(loadWithClipId:(nonnull NSNumber *)viewTag clipId:(NSString *)clipId initiator:(NSString *)initiator autoPlay:(BOOL)autoPlay seekTo:(NSNumber *)seekTo contextJson:(NSString *)contextJson)
|
package/ios/BBPlayerModule.swift
CHANGED
|
@@ -159,6 +159,12 @@ class BBPlayerModule: RCTEventEmitter, @unchecked Sendable {
|
|
|
159
159
|
onMainActor { self.getView(viewTag)?.showCastPicker() }
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
@objc func updatePlayout(_ viewTag: NSNumber, playoutJson: String) {
|
|
163
|
+
DispatchQueue.main.async {
|
|
164
|
+
self.getView(viewTag)?.updatePlayout(playoutJson)
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
162
168
|
@objc func loadWithClipId(_ viewTag: NSNumber, clipId: String?, initiator: String?, autoPlay: Bool, seekTo: NSNumber?, contextJson: String?) {
|
|
163
169
|
onMainActor { self.getView(viewTag)?.loadWithClipId(clipId ?? "", initiator: initiator, autoPlay: autoPlay, seekTo: seekTo?.doubleValue, contextJson: contextJson) }
|
|
164
170
|
}
|
package/ios/BBPlayerView.swift
CHANGED
|
@@ -581,6 +581,14 @@ class BBPlayerView: UIView, BBNativePlayerViewDelegate {
|
|
|
581
581
|
// iOS SDK cleans up automatically when view is removed
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
+
func updatePlayout(_ playoutJson: String) {
|
|
585
|
+
guard playerView != nil else {
|
|
586
|
+
NSLog("BBPlayerView.updatePlayout ERROR - playerView not initialized")
|
|
587
|
+
return
|
|
588
|
+
}
|
|
589
|
+
playerView?.player.updatePlayoutWithJson(playoutJson: playoutJson)
|
|
590
|
+
}
|
|
591
|
+
|
|
584
592
|
func pause() {
|
|
585
593
|
playerView?.player.pause()
|
|
586
594
|
}
|
package/ios/BBShortsView.swift
CHANGED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>files</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Assets.car</key>
|
|
8
|
+
<data>
|
|
9
|
+
S1iQEv6HbOrsRubZonnjSqq1Hgs=
|
|
10
|
+
</data>
|
|
11
|
+
<key>BBNativePlayerKit_profile</key>
|
|
12
|
+
<data>
|
|
13
|
+
g7r1f4GSGqHpbDYAut83Vkh5wJQ=
|
|
14
|
+
</data>
|
|
15
|
+
<key>Headers/BBNativePlayerKit-Swift.h</key>
|
|
16
|
+
<data>
|
|
17
|
+
WK257JI91NLOxGQUbZjtywSPlG0=
|
|
18
|
+
</data>
|
|
19
|
+
<key>Headers/BBNativePlayerKit.h</key>
|
|
20
|
+
<data>
|
|
21
|
+
Sd5fkz2BbYi42DYeTrPYQHBABM0=
|
|
22
|
+
</data>
|
|
23
|
+
<key>Headers/UMPBridge.h</key>
|
|
24
|
+
<data>
|
|
25
|
+
wW3NZxtLVCtOToBA3e0bpaLcaY8=
|
|
26
|
+
</data>
|
|
27
|
+
<key>Info.plist</key>
|
|
28
|
+
<data>
|
|
29
|
+
xJDLico9u2kNi11Wr2kURxcp88o=
|
|
30
|
+
</data>
|
|
31
|
+
<key>Lato-Black.ttf</key>
|
|
32
|
+
<data>
|
|
33
|
+
oAHrgndDY24E+O+n1K7t8FQcRqw=
|
|
34
|
+
</data>
|
|
35
|
+
<key>Lato-Bold.ttf</key>
|
|
36
|
+
<data>
|
|
37
|
+
VCSYIh2XvuW9vM+G7oiQv46ABck=
|
|
38
|
+
</data>
|
|
39
|
+
<key>Lato-Regular.ttf</key>
|
|
40
|
+
<data>
|
|
41
|
+
6SPHLtpeUKh+GP9ccenvSztkVaM=
|
|
42
|
+
</data>
|
|
43
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.abi.json</key>
|
|
44
|
+
<data>
|
|
45
|
+
yw2xWn1ZP62uJuqBKPWoToQiksU=
|
|
46
|
+
</data>
|
|
47
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
48
|
+
<data>
|
|
49
|
+
sB8Bt8dbzqSMT/g3BlLKS4FLx+w=
|
|
50
|
+
</data>
|
|
51
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
52
|
+
<data>
|
|
53
|
+
E7shsWshdHFaYii0Pm6euoUj5X8=
|
|
54
|
+
</data>
|
|
55
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftinterface</key>
|
|
56
|
+
<data>
|
|
57
|
+
sB8Bt8dbzqSMT/g3BlLKS4FLx+w=
|
|
58
|
+
</data>
|
|
59
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
60
|
+
<data>
|
|
61
|
+
oqrslR9y22dGxotmTHtqiw9AFWg=
|
|
62
|
+
</data>
|
|
63
|
+
<key>Modules/module.modulemap</key>
|
|
64
|
+
<data>
|
|
65
|
+
j8QiMbKutvhEt6A/mOSKTX+5wq0=
|
|
66
|
+
</data>
|
|
67
|
+
</dict>
|
|
68
|
+
<key>files2</key>
|
|
69
|
+
<dict>
|
|
70
|
+
<key>Assets.car</key>
|
|
71
|
+
<dict>
|
|
72
|
+
<key>hash2</key>
|
|
73
|
+
<data>
|
|
74
|
+
QHCrCDnZFhCg++jYzr/chGU6317OSWlDF5lpJKPSxmg=
|
|
75
|
+
</data>
|
|
76
|
+
</dict>
|
|
77
|
+
<key>BBNativePlayerKit_profile</key>
|
|
78
|
+
<dict>
|
|
79
|
+
<key>hash2</key>
|
|
80
|
+
<data>
|
|
81
|
+
7hAdJ+VcxNhTZBX+hTnNNNfIEhB1uw7fLZ12wmJBY6o=
|
|
82
|
+
</data>
|
|
83
|
+
</dict>
|
|
84
|
+
<key>Headers/BBNativePlayerKit-Swift.h</key>
|
|
85
|
+
<dict>
|
|
86
|
+
<key>hash2</key>
|
|
87
|
+
<data>
|
|
88
|
+
zbWS71esaj7J7UalReM5wVKziu/22D779zN+hju1GRU=
|
|
89
|
+
</data>
|
|
90
|
+
</dict>
|
|
91
|
+
<key>Headers/BBNativePlayerKit.h</key>
|
|
92
|
+
<dict>
|
|
93
|
+
<key>hash2</key>
|
|
94
|
+
<data>
|
|
95
|
+
NuHAQXk6Ohm5UEOQLTXU7YHOb4+abe+YD6neYTfFcw8=
|
|
96
|
+
</data>
|
|
97
|
+
</dict>
|
|
98
|
+
<key>Headers/UMPBridge.h</key>
|
|
99
|
+
<dict>
|
|
100
|
+
<key>hash2</key>
|
|
101
|
+
<data>
|
|
102
|
+
xIRx+PZTn1FsvqYDUuTWGrZwv16GWgRYqg8hNIb3ZgM=
|
|
103
|
+
</data>
|
|
104
|
+
</dict>
|
|
105
|
+
<key>Lato-Black.ttf</key>
|
|
106
|
+
<dict>
|
|
107
|
+
<key>hash2</key>
|
|
108
|
+
<data>
|
|
109
|
+
q/ZM+hRkUEOnwz92Q1El+LPeecUQrbk4ocFghVGNQ0E=
|
|
110
|
+
</data>
|
|
111
|
+
</dict>
|
|
112
|
+
<key>Lato-Bold.ttf</key>
|
|
113
|
+
<dict>
|
|
114
|
+
<key>hash2</key>
|
|
115
|
+
<data>
|
|
116
|
+
1/C38lcPLyi1BNoRgbTXGxQgsQvixP1pCSfxyO47GcM=
|
|
117
|
+
</data>
|
|
118
|
+
</dict>
|
|
119
|
+
<key>Lato-Regular.ttf</key>
|
|
120
|
+
<dict>
|
|
121
|
+
<key>hash2</key>
|
|
122
|
+
<data>
|
|
123
|
+
6CVCrtgpP0n8g8Sq6lZrH2tPx6mrXaEeb7m8CXO1Mks=
|
|
124
|
+
</data>
|
|
125
|
+
</dict>
|
|
126
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.abi.json</key>
|
|
127
|
+
<dict>
|
|
128
|
+
<key>hash2</key>
|
|
129
|
+
<data>
|
|
130
|
+
yeMLAlNC8Z7GOdqPPUlbfKIF0GEuFUwin1tslBCZbmA=
|
|
131
|
+
</data>
|
|
132
|
+
</dict>
|
|
133
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.private.swiftinterface</key>
|
|
134
|
+
<dict>
|
|
135
|
+
<key>hash2</key>
|
|
136
|
+
<data>
|
|
137
|
+
LJJSLQ8g0hhfZtP4ZVkqDSdugMeKl59v0U4fQvpEnww=
|
|
138
|
+
</data>
|
|
139
|
+
</dict>
|
|
140
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftdoc</key>
|
|
141
|
+
<dict>
|
|
142
|
+
<key>hash2</key>
|
|
143
|
+
<data>
|
|
144
|
+
JKOiEeeDgtZBg8TCnOOO+iXylo0vBAu+lZjNuE8aVgQ=
|
|
145
|
+
</data>
|
|
146
|
+
</dict>
|
|
147
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftinterface</key>
|
|
148
|
+
<dict>
|
|
149
|
+
<key>hash2</key>
|
|
150
|
+
<data>
|
|
151
|
+
LJJSLQ8g0hhfZtP4ZVkqDSdugMeKl59v0U4fQvpEnww=
|
|
152
|
+
</data>
|
|
153
|
+
</dict>
|
|
154
|
+
<key>Modules/BBNativePlayerKit.swiftmodule/arm64-apple-ios.swiftmodule</key>
|
|
155
|
+
<dict>
|
|
156
|
+
<key>hash2</key>
|
|
157
|
+
<data>
|
|
158
|
+
rq1q6RtKjB9apY70eZNx0KEFyFZ0Du2KZypV1FbIGKs=
|
|
159
|
+
</data>
|
|
160
|
+
</dict>
|
|
161
|
+
<key>Modules/module.modulemap</key>
|
|
162
|
+
<dict>
|
|
163
|
+
<key>hash2</key>
|
|
164
|
+
<data>
|
|
165
|
+
894T7of5RWAtj7zeDygrNTigDoWzX7oTz4UtXinlZ7Y=
|
|
166
|
+
</data>
|
|
167
|
+
</dict>
|
|
168
|
+
</dict>
|
|
169
|
+
<key>rules</key>
|
|
170
|
+
<dict>
|
|
171
|
+
<key>^.*</key>
|
|
172
|
+
<true/>
|
|
173
|
+
<key>^.*\.lproj/</key>
|
|
174
|
+
<dict>
|
|
175
|
+
<key>optional</key>
|
|
176
|
+
<true/>
|
|
177
|
+
<key>weight</key>
|
|
178
|
+
<real>1000</real>
|
|
179
|
+
</dict>
|
|
180
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
181
|
+
<dict>
|
|
182
|
+
<key>omit</key>
|
|
183
|
+
<true/>
|
|
184
|
+
<key>weight</key>
|
|
185
|
+
<real>1100</real>
|
|
186
|
+
</dict>
|
|
187
|
+
<key>^Base\.lproj/</key>
|
|
188
|
+
<dict>
|
|
189
|
+
<key>weight</key>
|
|
190
|
+
<real>1010</real>
|
|
191
|
+
</dict>
|
|
192
|
+
<key>^version.plist$</key>
|
|
193
|
+
<true/>
|
|
194
|
+
</dict>
|
|
195
|
+
<key>rules2</key>
|
|
196
|
+
<dict>
|
|
197
|
+
<key>.*\.dSYM($|/)</key>
|
|
198
|
+
<dict>
|
|
199
|
+
<key>weight</key>
|
|
200
|
+
<real>11</real>
|
|
201
|
+
</dict>
|
|
202
|
+
<key>^(.*/)?\.DS_Store$</key>
|
|
203
|
+
<dict>
|
|
204
|
+
<key>omit</key>
|
|
205
|
+
<true/>
|
|
206
|
+
<key>weight</key>
|
|
207
|
+
<real>2000</real>
|
|
208
|
+
</dict>
|
|
209
|
+
<key>^.*</key>
|
|
210
|
+
<true/>
|
|
211
|
+
<key>^.*\.lproj/</key>
|
|
212
|
+
<dict>
|
|
213
|
+
<key>optional</key>
|
|
214
|
+
<true/>
|
|
215
|
+
<key>weight</key>
|
|
216
|
+
<real>1000</real>
|
|
217
|
+
</dict>
|
|
218
|
+
<key>^.*\.lproj/locversion.plist$</key>
|
|
219
|
+
<dict>
|
|
220
|
+
<key>omit</key>
|
|
221
|
+
<true/>
|
|
222
|
+
<key>weight</key>
|
|
223
|
+
<real>1100</real>
|
|
224
|
+
</dict>
|
|
225
|
+
<key>^Base\.lproj/</key>
|
|
226
|
+
<dict>
|
|
227
|
+
<key>weight</key>
|
|
228
|
+
<real>1010</real>
|
|
229
|
+
</dict>
|
|
230
|
+
<key>^Info\.plist$</key>
|
|
231
|
+
<dict>
|
|
232
|
+
<key>omit</key>
|
|
233
|
+
<true/>
|
|
234
|
+
<key>weight</key>
|
|
235
|
+
<real>20</real>
|
|
236
|
+
</dict>
|
|
237
|
+
<key>^PkgInfo$</key>
|
|
238
|
+
<dict>
|
|
239
|
+
<key>omit</key>
|
|
240
|
+
<true/>
|
|
241
|
+
<key>weight</key>
|
|
242
|
+
<real>20</real>
|
|
243
|
+
</dict>
|
|
244
|
+
<key>^embedded\.provisionprofile$</key>
|
|
245
|
+
<dict>
|
|
246
|
+
<key>weight</key>
|
|
247
|
+
<real>20</real>
|
|
248
|
+
</dict>
|
|
249
|
+
<key>^version\.plist$</key>
|
|
250
|
+
<dict>
|
|
251
|
+
<key>weight</key>
|
|
252
|
+
<real>20</real>
|
|
253
|
+
</dict>
|
|
254
|
+
</dict>
|
|
255
|
+
</dict>
|
|
256
|
+
</plist>
|