Skip to content

Commit f80806c

Browse files
committed
Add THEOlive demo source
1 parent 61ecdb8 commit f80806c

File tree

1 file changed

+7
-0
lines changed
  • app/src/main/java/com/theoplayer/android/connector

1 file changed

+7
-0
lines changed

app/src/main/java/com/theoplayer/android/connector/Sources.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import com.theoplayer.android.api.source.SourceType
77
import com.theoplayer.android.api.source.TypedSource
88
import com.theoplayer.android.api.source.addescription.GoogleImaAdDescription
99
import com.theoplayer.android.api.source.metadata.MetadataDescription
10+
import com.theoplayer.android.api.theolive.TheoLiveSource
1011
import com.theoplayer.android.connector.uplynk.UplynkAssetType
1112
import com.theoplayer.android.connector.uplynk.UplynkPingConfiguration
1213
import com.theoplayer.android.connector.uplynk.UplynkSsaiDescription
@@ -40,6 +41,12 @@ val sources: List<Source> by lazy {
4041
"program" to "BigBuckBunny with Google IMA ads"
4142
)
4243
),
44+
Source(
45+
name = "THEOlive demo",
46+
sourceDescription = SourceDescription.Builder(TheoLiveSource(src = "9lwkudxeyjwwm132pukwwhhtk"))
47+
.metadata(MetadataDescription(mutableMapOf("title" to "THEOlive demo")))
48+
.build()
49+
),
4350
Source(
4451
name = "Yospace HLS VOD",
4552
sourceDescription = SourceDescription

0 commit comments

Comments
 (0)