I am trying to implement DRM and EME in my my dashjs music streaming app but then I realized that to use dashjs I need to have a manifest xml file to handle segmentation ..etc so does any one know how to generate manifest automatically or even better generate it on the cliemt side when uploading audio
i solved it using shaka packager to encrypt and create the xml manifest for me automatically
Related
I want to retrieve file(s) with ASP.NET Web Api, XML file(s) or zip file(s).
There are many examples how to do this, like this:
http://www.asp.net/web-api/overview/working-with-http/sending-html-form-data,-part-2
But the problem is, I don't want to save them on HDD!
I just want to validate the XML with some functions and generate a report on the fly and want to return this report.
But every tutorial use the "MultipartFormDataStreamProvider" witch save the files on HDD.
How can I get the file(s) and file name(s) in memory?
Kind regards
I think you can use the MultipartMemoryStreamProvider?
See a way to implement file upload without writing to the file system.
I have a Windows Service developed with C#. Now, I have to add a Http-Listener which should provide a small Html-Page. On this page, there should be a link, which can be clicked by the user for downloading a file. My Windows-Service should now provide the file. The Windows Service has the file but there is now way with directory from the client to the file. Does anybody know a library which I can use for this or other samples? - Thank you.
Best Regards, Thomas
Why don't you just use the normal System.IO classes to open a stream from the file and then push that stream into the HttpResponse (and set all the appropriate headers)?
I want to create a file and write some data (userid) into the file at first run of my application, during the second run all the operation (will go to the next state) based on the file data, is it possible? How to create and write data into file?
It depends if you're working on a pure-Flex or an AIR project.
If you are making an AIR application, you can access local files using the File class (more informations can be found here and here) ;
If not, you'll have to use a server-side script (PHP, ColdFusion, Java EE...) to do the job, calling it using a HTTPService object for instance.
If you are not concerned about file's location and max content of file is less than 100 KB then you may make use of Shared Objects in flash.
I am developing a ASP.NET by using c#.net and have many WMV files and have to watch the range of the file which I gave.The size of files are too big also the users shouldn't download the all of the file , should download between the range which I give . Is there anybody to help me ?
Unfortunately since WMV files have a header at the beginning and an index at the end you can't just use a FileStream to deliver partial files, for that "streaming" formats like MPEG1/2 or H.264 are much better.
For partial WMV file streaming I would investigate in
Microsoft Media Services
This will basically do the job for you, although if you want tight control over the offsets you want to stream from you will have to dynamically create playlists for your files (i.e. see Server side playlists)
I want to Export in charts & datagrid data into different file formats - "PDF, Word and
Excel" in my web application..I am using Flex 3 and want to export the file in local system.
Any help will be highly appreciable...
Thanks in Advance...
If you are using Java/.NET/PHP or any back-end, you should be using PDF/word generation API to stream the file in required format.
For ex: You can use Apache POI or APache FOP apis to render MSword or PDF files and using Flex, users can download the files.
http://poi.apache.org/
xmlgraphics.apache.org/fop/
You can use AlivePDF to create PDF files in AS3.