简体   繁体   中英

Streaming files from a remote server to a asp.net mvc client

I am trying to stream secure content located on server A via a secure application located on server B to a web client in an mvc application.

Basically, it looks like I have to authenticate with server A in my app and stream chunks of the file from server to server to client to prevent the overhead of downloading a temp copy in full prior to downloading. ( I do not want to write the file to server B's disk )

In this case the content is comprised of video file being viewed in an html5 video element and the files are coming from a cdn.

Does anyone know of any shortcuts to get me started?

Thanks

Figured it out. I was able to use query string authorization while creating the video url to the remote server, so no need for a file proxy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM