Skip to content

Commit

Permalink
fix(java): fix java and android test live streams thumbnails url
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Oct 6, 2023
1 parent d79fd13 commit ec4ecaa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr"))
.hls(URI.create("https://live.api.video/li400mYKSgQ6xs7taUeSaEKr.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg")))
.thumbnail(URI.create("https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg")))
.restreams(Arrays.asList(
new RestreamsResponseObject().name("YouTube")
.serverUrl("rtmp://youtube.broadcast.example.com")
Expand All @@ -148,7 +148,7 @@ public void responseWithStatus200Test() throws ApiException {
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create(
"https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")))
"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")))
.restreams(Arrays.asList(
new RestreamsResponseObject().name("YouTube")
.serverUrl("rtmp://youtube.broadcast.example.com")
Expand Down Expand Up @@ -191,7 +191,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}
}

Expand Down Expand Up @@ -230,7 +230,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}

@Test
Expand Down Expand Up @@ -281,7 +281,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr"))
.hls(URI.create("https://live.api.video/li400mYKSgQ6xs7taUeSaEKr.m3u8")).thumbnail(
URI.create("https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg")))
URI.create("https://live.api.video/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg")))
.restreams(Arrays.asList(
new RestreamsResponseObject().name("YouTube").serverUrl("rtmp://youtube.broadcast.example.com").streamKey("cc1b4df0-d1c5-4064-a8f9-9f0368385188"),
new RestreamsResponseObject().name("Twitch").serverUrl("rtmp://twitch.broadcast.example.com").streamKey("cc1b4df0-d1c5-4064-a8f9-9f0368385188"))),
Expand All @@ -134,7 +134,7 @@ public void responseWithStatus200Test() throws ApiException {
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create(
"https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")))
"https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")))
.restreams(Arrays.asList(
new RestreamsResponseObject().name("YouTube").serverUrl("rtmp://youtube.broadcast.example.com").streamKey("cc1b4df0-d1c5-4064-a8f9-9f0368385135"),
new RestreamsResponseObject().name("Twitch").serverUrl("rtmp://twitch.broadcast.example.com").streamKey("cc1b4df0-d1c5-4064-a8f9-9f0368385135"))));
Expand Down Expand Up @@ -172,7 +172,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}
}

Expand Down Expand Up @@ -211,7 +211,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}

@Test
Expand Down Expand Up @@ -259,7 +259,7 @@ public void responseWithStatus200Test() throws ApiException {
"<iframe src=\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\" width=\"100%\" height=\"100%\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"\"></iframe>")
.player(URI.create("https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5"))
.hls(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8"))
.thumbnail(URI.create("https://cdn.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
.thumbnail(URI.create("https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5/thumbnail.jpg")));
}

@Test
Expand Down

0 comments on commit ec4ecaa

Please sign in to comment.