Skip to content

Commit f2372bf

Browse files
authored
Fix/rc fixes (#4896)
* Fix axccessing a null value * Fix styling in ll sample
1 parent 9b9505b commit f2372bf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

samples/low-latency/testplayer/main.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ video {
66
width: 100%;
77
height: auto;
88
margin: auto;
9+
aspect-ratio: 16 / 9;
910
}
1011

1112
#manifest {
@@ -48,4 +49,4 @@ video {
4849
.btn-success:hover {
4950
background-color: #007bff !important;
5051
border-color: #007bff !important;
51-
}
52+
}

src/streaming/MediaPlayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,7 @@ function MediaPlayer() {
27812781
if (value.audioChannelConfiguration !== undefined) {
27822782
output.audioChannelConfiguration = __sanitizeDescriptorType('audioChannelConfiguration', value.audioChannelConfiguration, defaults.audioChannelConfiguration);
27832783
}
2784-
if (value.role !== undefined) {
2784+
if (value.role !== undefined && value.role !== null) {
27852785
output.role = __sanitizeDescriptorType('role', value.role, defaults.role);
27862786

27872787
// conceal misspelled "Main" from earlier MPEG-DASH editions (fixed with 6th edition)

0 commit comments

Comments
 (0)