Skip to content

Commit

Permalink
Bump player version to 3.100.2
Browse files Browse the repository at this point in the history
  • Loading branch information
matamegger committed Jan 20, 2025
1 parent 68a5a29 commit 467062a
Show file tree
Hide file tree
Showing 40 changed files with 52 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected void initializePlayer() {
playerView.setPlayer(player);

// create a source with a sourceMetadata for custom analytics tracking
SourceConfig sourceConfig = SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd");
SourceConfig sourceConfig = SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd");
CustomData customData = new CustomData.Builder().setCustomData1("CustomData1").setExperimentName("Experiment1").build();
SourceMetadata sourceMetadata = new SourceMetadata.Builder().setCustomData(customData).build();
Source source = new SourceBuilder(sourceConfig)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import com.bitmovin.player.api.source.Source
import com.bitmovin.player.api.source.SourceConfig
import com.bitmovin.player.samples.analytics.databinding.ActivityMainBinding

private const val Sintel = "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"
private const val Sintel = "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"

class MainActivity : AppCompatActivity() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ private void onListItemClicked(ListItem item)
private List<ListItem> getExampleListItems()
{
List<ListItem> items = new ArrayList<ListItem>();
items.add(new ListItem("Sintel", "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"));
items.add(new ListItem("Art of Motion", "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"));
items.add(new ListItem("Sintel", "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"));
items.add(new ListItem("Art of Motion", "https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"));
return items;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class MainActivity : AppCompatActivity() {
}

private fun getExampleListItems(): List<ListItem> = listOf(
ListItem("Sintel", "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"),
ListItem("Art of Motion", "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd")
ListItem("Sintel", "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"),
ListItem("Art of Motion", "https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd")
)

private data class ListItem(val title: String, val url: String)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected void onDestroy() {

protected void initializePlayer() {
// Create a new source config
SourceConfig sourceConfig = SourceConfig.fromUrl("https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd");
SourceConfig sourceConfig = SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/art-of-motion_drm/mpds/11331.mpd");

// Attach DRM handling to the source config
sourceConfig.setDrmConfig(new WidevineConfig("https://cwip-shaka-proxy.appspot.com/no_auth"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MainActivity : AppCompatActivity() {

private fun initializePlayer() {
// Create a new source config
val sourceConfig = SourceConfig.fromUrl("https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd")
val sourceConfig = SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/art-of-motion_drm/mpds/11331.mpd")

// Attach DRM handling to the source config
sourceConfig.drmConfig = WidevineConfig("https://cwip-shaka-proxy.appspot.com/no_auth")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ protected void onDestroy() {

protected void initializePlayer() {
// Load a new source
player.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"));
player.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ class MainActivity : AppCompatActivity() {

private fun initializePlayer() {
// Load a new source
player?.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"))
player?.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected void onDestroy() {

protected void initializePlayer() {
// load source using a source item
player.load(new SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
player.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MainActivity : AppCompatActivity() {
// load source using a source item
bitmovinPlayer.load(
SourceConfig(
url = "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd",
url = "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd",
type = SourceType.Dash
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ protected void initializePlayer() {
playerView.setPlayer(player);

// load source using a source config
player.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"));
player.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import com.bitmovin.player.api.analytics.AnalyticsPlayerConfig
import com.bitmovin.player.api.source.SourceConfig
import com.bitmovin.player.samples.playback.basic.databinding.ActivityMainBinding

private const val Sintel = "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"
private const val Sintel = "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"

class MainActivity : AppCompatActivity() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void initializePlayer() {
layout.addView(playerView, 0);

// Create a new SourceItem. In this case we are loading a DASH source.
String sourceURL = "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd";
String sourceURL = "https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd";
SourceConfig sourceConfig = new SourceConfig(sourceURL, SourceType.Dash);

player.load(sourceConfig);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class MainActivity : AppCompatActivity() {
binding.playerRootLayout.addView(playerView, 0)

// Create a new SourceConfig. In this case we are loading a DASH source.
val sourceURL = "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"
val sourceURL = "https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"

player.load(SourceConfig(sourceURL, SourceType.Dash))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ protected void onCreate(Bundle savedInstanceState) {
this.playerView = this.findViewById(R.id.playerView);
this.player = this.playerView.getPlayer();

SourceConfig sourceConfig1 = SourceConfig.fromUrl("https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8");
SourceConfig sourceConfig1 = SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/MI201109210084/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8");
sourceConfig1.setTitle("Art of Motions");
SourceConfig sourceConfig2 = SourceConfig.fromUrl("https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8");
SourceConfig sourceConfig2 = SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/hls/playlist.m3u8");
sourceConfig2.setTitle("Sintel");

List<Source> sources = Arrays.asList(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import com.bitmovin.player.api.source.SourceConfig
import com.bitmovin.player.api.source.SourceType
import com.bitmovin.player.samples.playlist.basic.databinding.ActivityMainBinding

private const val SintelHls = "https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8"
private const val ArtOfMotionProgressive = "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4"
private const val SintelDash = "https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"
private const val SintelHls = "https://cdn.bitmovin.com/content/assets/sintel/hls/playlist.m3u8"
private const val ArtOfMotionProgressive = "https://cdn.bitmovin.com/content/assets/MI201109210084/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4"
private const val SintelDash = "https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"
private const val KronehitLiveHls = "https://bitcdn-kronehit.bitmovin.com/v2/hls/playlist.m3u8"

class MainActivity : AppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected void onCreate(Bundle savedInstanceState) {
)
);
playerView.setKeepScreenOn(true);
playerView.getPlayer().load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"));
playerView.getPlayer().load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"));

LinearLayout rootView = findViewById(R.id.activity_main);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MainActivity : AppCompatActivity() {
)
}
playerView.keepScreenOn = true
player.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"))
player.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"))

// Add PlayerView to the layout
binding.root.addView(playerView, 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class MainActivity : AppCompatActivity() {
playerView.keepScreenOn = true
player.load(
SourceConfig(
"https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd",
"https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd",
SourceType.Dash,
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void onCreate(Bundle savedInstanceState) {
bitmovinPlayerView.setPlayer(bitmovinPlayer);


bitmovinPlayer.load(new SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
bitmovinPlayer.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class MainActivity : AppCompatActivity() {

player.load(
SourceConfig(
"https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd",
"https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd",
SourceType.Dash
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
.build();
playerView = new PlayerView(this, player);

player.load(new SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
player.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));

LinearLayout rootView = findViewById(R.id.root);
playerView.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class MainActivity : AppCompatActivity() {
)
playerView = PlayerView(this, player)

player.load(SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash))
player.load(SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash))

playerView.layoutParams = LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT)
playerView.keepScreenOn = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public String closePlayer(String data) {
playerView.setCustomMessageHandler(customMessageHandler);

//load the SourceConfig into the player
player.load(new SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
player.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));

LinearLayout playerRootLayout = (LinearLayout) findViewById(R.id.player_view);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class PlaybackActivity : AppCompatActivity() {
playerView.setCustomMessageHandler(customMessageHandler)

//load the SourceConfig into the player
player.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"))
player.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"))

// Add PlayerView to the layout as first child
binding.playerRootLayout.addView(playerView, 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected void onCreate(Bundle savedInstanceState) {
playerUi = new PlayerUI(this, player);
fullscreenHandler = new CustomFullscreenHandler(this, playerUi);

player.load(new SourceConfig("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
player.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));

// Set the FullscreenHandler of the PlayerUI
playerUi.setFullscreenHandler(fullscreenHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MainActivity : AppCompatActivity() {
playerUi.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)

// Load the Source into the player
playerUi.load(Source(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd")))
playerUi.load(Source(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd")))

binding.rootView.addView(playerUi)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected void onCreate(Bundle savedInstanceState) {
);
playerView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
playerView.setKeepScreenOn(true);
player.load(new SourceConfig("https://bitmovin-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash));
player.load(new SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash));

// Creating a SubtitleView and assign the current player instance.
subtitleView = new SubtitleView(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MainActivity : AppCompatActivity() {
)
keepScreenOn = true
}
player.load(SourceConfig("https://bitmovin-a.akamaihd.net/content/sintel/sintel.mpd", SourceType.Dash))
player.load(SourceConfig("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd", SourceType.Dash))

// Creating a SubtitleView and assign the current player instance.
subtitleView = SubtitleView(this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected void onCreate(Bundle savedInstanceState) {
)
);
playerView.setKeepScreenOn(true);
playerView.getPlayer().load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"));
playerView.getPlayer().load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"));

LinearLayout rootView = findViewById(R.id.activity_main);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class MainActivity : AppCompatActivity() {
)
}
playerView.keepScreenOn = true
player.load(SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd"))
player.load(SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd"))

// Add PlayerView to the layout
binding.root.addView(playerView, 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void initializePlayer() {
.configureAnalytics(new AnalyticsConfig(key))
.build();
Source source = new SourceBuilder(
SourceConfig.fromUrl("https://bitdash-a.akamaihd.net/content/sintel/sintel.mpd")
SourceConfig.fromUrl("https://cdn.bitmovin.com/content/assets/sintel/sintel.mpd")
).build();

viewLogger.attach(playerView);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import com.bitmovin.player.api.source.Source
import com.bitmovin.player.api.source.SourceConfig
import com.bitmovin.player.samples.logging.databinding.ActivityMainBinding

private const val ART_OF_MOTION = "https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"
private const val ART_OF_MOTION = "https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd"

class MainActivity : AppCompatActivity() {
private lateinit var player: Player
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class MainActivity : AppCompatActivity() {
private fun initializePlayer() {
// Load a new source
val sourceConfig = SourceConfig(
"https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd",
"https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd",
SourceType.Dash,
posterSource = "https://bitmovin-a.akamaihd.net/content/poster/hd/RedBull.jpg"
posterSource = "https://cdn.bitmovin.com/content/assets/poster/hd/RedBull.jpg"
)

player?.load(sourceConfig)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ private List<ListItem> getListItems() {
List<ListItem> listItems = new ArrayList<>();

// Initialize a SourceConfig
SourceConfig artOfMotion = new SourceConfig("https://bitmovin-a.akamaihd.net/content/MI201109210084_1/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd", SourceType.Dash);
artOfMotion.setThumbnailTrack(new ThumbnailTrack("https://bitmovin-a.akamaihd.net/content/MI201109210084_1/thumbnails/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.vtt"));
SourceConfig artOfMotion = new SourceConfig("https://cdn.bitmovin.com/content/assets/MI201109210084/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd", SourceType.Dash);
artOfMotion.setThumbnailTrack(new ThumbnailTrack("https://cdn.bitmovin.com/content/assets/MI201109210084/thumbnails/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.vtt"));
artOfMotion.setTitle("Art of Motion");

// Initialize an OfflineContentManager in the rootFolder with the id "artOfMotion"
Expand All @@ -313,7 +313,7 @@ private List<ListItem> getListItems() {
listItems.add(artOfMotionListItem);

// Initialize a SourceConfig with a DRM configuration
SourceConfig artOfMotionDrm = new SourceConfig("https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd", SourceType.Dash);
SourceConfig artOfMotionDrm = new SourceConfig("https://cdn.bitmovin.com/content/assets/art-of-motion_drm/mpds/11331.mpd", SourceType.Dash);
artOfMotionDrm.setDrmConfig(new WidevineConfig("https://cwip-shaka-proxy.appspot.com/no_auth"));
artOfMotionDrm.setTitle("Art of Motion with DRM");

Expand Down
Loading

0 comments on commit 467062a

Please sign in to comment.