You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find a way to do that with Nima WebServer. Maybe I'm missing something but it seems to rely only on service loading of MediaSupportProviders.
Note that this is different than Features which have useSystemServices() to turn on/off auto loading of services and there are ways to programmatically add a feature using addFeature.
The text was updated successfully, but these errors were encountered:
Looks like you are right. MediaContextImpl in nima builds media providers using service loader. There is also a way to set your own MediaContext using WebServer builder, but you have to write it yourself.
Also MediaContext in nima and MediaContext in reactive are disjunct classes, they have no common ancestor.
The same with MediaSupport (reactive) vs. MediaSupportProvider (nima/media).
So we have two separate worlds. Fortunately there is a direct conenction between MediaSupport and MediaSupportProvider and looks like I can just add some builder method to manually register MediaSupportProvider during the build process.
But builder API won't be identical to reactive server builder. I'll use the same pattern that I made for content encoders and which was already reviewed and approved for nima.
While working on migrating the Bookstore test application to Nima WebServer I ran into a gap (or maybe it is ignorance on my part).
In 3.x I can add specific media support programmatically:
I can't find a way to do that with Nima WebServer. Maybe I'm missing something but it seems to rely only on service loading of
MediaSupportProvider
s.Note that this is different than Features which have
useSystemServices()
to turn on/off auto loading of services and there are ways to programmatically add a feature usingaddFeature
.The text was updated successfully, but these errors were encountered: