Fix network indicator for fullscreen video. Fixes #218
parent
d6d962e379
commit
3e858ae6cd
|
|
@ -96,11 +96,6 @@ const FullScreenView = (props) =>
|
||||||
!consumer.remotelyPaused
|
!consumer.remotelyPaused
|
||||||
);
|
);
|
||||||
|
|
||||||
let consumerProfile;
|
|
||||||
|
|
||||||
if (consumer)
|
|
||||||
consumerProfile = consumer.profile;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={classes.root}>
|
<div className={classes.root}>
|
||||||
<div className={classes.controls}>
|
<div className={classes.controls}>
|
||||||
|
|
@ -121,9 +116,25 @@ const FullScreenView = (props) =>
|
||||||
<VideoView
|
<VideoView
|
||||||
advancedMode={advancedMode}
|
advancedMode={advancedMode}
|
||||||
videoContain
|
videoContain
|
||||||
videoTrack={consumer ? consumer.track : null}
|
consumerSpatialLayers={consumer ? consumer.spatialLayers : null}
|
||||||
|
consumerTemporalLayers={consumer ? consumer.temporalLayers : null}
|
||||||
|
consumerCurrentSpatialLayer={
|
||||||
|
consumer ? consumer.currentSpatialLayer : null
|
||||||
|
}
|
||||||
|
consumerCurrentTemporalLayer={
|
||||||
|
consumer ? consumer.currentTemporalLayer : null
|
||||||
|
}
|
||||||
|
consumerPreferredSpatialLayer={
|
||||||
|
consumer ? consumer.preferredSpatialLayer : null
|
||||||
|
}
|
||||||
|
consumerPreferredTemporalLayer={
|
||||||
|
consumer ? consumer.preferredTemporalLayer : null
|
||||||
|
}
|
||||||
|
videoMultiLayer={consumer && consumer.type !== 'simple'}
|
||||||
|
videoTrack={consumer && consumer.track}
|
||||||
videoVisible={consumerVisible}
|
videoVisible={consumerVisible}
|
||||||
videoProfile={consumerProfile}
|
videoCodec={consumer && consumer.codec}
|
||||||
|
videoScore={consumer ? consumer.score : null}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue