I am using Media 7.x-1.3 on Drupal 7.21.
I have created simple
StreamWrapper to use with some other modules and it works great for them. It extends
DrupalLocalStreamWrapper and overrides
When I set this
StreamWrapper as my "Default download method" at admin/config/media/file-system and upload file using Media Browser, I do see this file created at the location it should but Media shows the "404 broken image" icon and when I add it to my node I see the 404 image also.
StreamWrapper saves the files to a local path and serves it through CDN URL.
Do you have any suggestion about how I should work this out?