0

I am new to Red5. From my Red5 webapp I need to provide static content (in external directory) as a resource. In red5-web.xml,

       <mvc:resources mapping="/videos/**" location="file:/user/recordings/" />

I spent lot of time but could not figure out why its not working (getting 404). Any suggestions will be very helpful. Thank you.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
user4231878
  • 45
  • 1
  • 4

1 Answers1

0

Since Red5 uses embedded Tomcat for its Java EE container, you should be able to externally link resources via their configuration. In addition, there should be no restrictions that I know of when using Spring MVC (if that's what you're using). Here are some links for you to review:

Tomcat Context
Serving external images
Source paths and Aliases

Community
  • 1
  • 1
Paul Gregoire
  • 9,715
  • 11
  • 67
  • 131