diff --git a/DeepDrftPublic.Client/Controls/AudioPlayerProvider.razor b/DeepDrftPublic.Client/Controls/AudioPlayerProvider.razor index c7c9cd8..48ae6bf 100644 --- a/DeepDrftPublic.Client/Controls/AudioPlayerProvider.razor +++ b/DeepDrftPublic.Client/Controls/AudioPlayerProvider.razor @@ -1,3 +1,7 @@ - +@* IsFixed="true": the StreamingAudioPlayerService instance is created once in OnInitialized + and is never replaced — the reference is stable for the lifetime of the component. + If instance swapping at runtime is ever needed, change IsFixed to false (adds subscription + overhead on every parent re-render, but allows children to see the new reference). *@ + @ChildContent \ No newline at end of file