How to play a dss audio file in Asp.net - asp.net

I want to play a dss audio file in Asp.net. Any suggestions?

In order to play music on the user's machine (as opposed to the Web server), you'll need to use HTML/JavaScript.
To play songs in the ASP.NET, we can use the following tags
<embed src="Name of the audio file or vedio file with virtual path"> </embed>
<bgsound src=src="Name of the audio file or vedio file with virtual path"/>

In a web application, playing audio files is the task of the client. This means, the client needs to be capable of recognizing and playing the served sound files.
If you intend to require clients to handle DSS, follow adatapost's answer.
Otherwise, you need to convert DSS to mp3 on the server. Quick web search resulted in various DSS converters which perform (manual) batch conversion.
If you want to convert on-the-fly, you need to find a library which converts DSS to a more common audio file format.

Related

How to Convert OAISYS .PVD File to .MP3 or .WAV File Format?

I have tons of OAISYS PVD (Portable Voice Document) Call Recording Audio Files that are stored in my file system, I need to deploy these files on a web server and allow the website user to download these files in a playable format (like MP3 or WAV, or whatever playable) using some PVD Audio Converter, or at least, I need to let the user to listen to these recordings online (using some PVD Online Audio Player).
I spent hours searching for such an API or code that may help, but all what I found was some windows apps from OAISYS itself:
1- OAISYS Stand Alone PVD Player (A.K.A Multicall PVD Player), which can be used to play PVD files on windows, but it's a standalone windows app, which not what I need (I need a web service).
2- OAISYS Management Studio, Available for System Admins, it allows the user to download any call recording as MP3, WAV, etc... (which is great, but not what I need). This program can be used for calls on OAISYS server, and my calls aren't in my case, they are saved on some server's file system. Maybe, not sure, but maybe the user can open (import) PVD files from file system and convert them using this program, but it is very hard to use this program with tons (millions) of PVD files, I need something more practical.
So, I need some code or API that can be used in my website to deal with these files (convert or play them online).
NOTE: Please keep in mind that these files aren't saved on OAISYS server, which means I CANNOT use OAISYS APIs to deal with them (like HistoricalCalls API or Playback API) that mentioned in these Docs

How can i play recorded adobe connect session?

I downloaded session record by adding /output/recording.zip?download=zip at the end of the recording URL. Record folder has some .flv and .xml files. How can i play this session? Am i use flv editor?
The recording you download using /output/recording.zip?download=zip query is not the video, it contains form FLV but they will not play.
To play the recording make the recording offline, in Adobe Connect 9 there is an option on recording page "Make Flv" under Actions tab.
You will have to play complete recording to download.
Yes, I think you'll need to use an editor for that.
Usually the way to download an Adobe Connect recording is the one described in the official documentation.
You should only use flv files, not xml files
cameraVoip.flv file for microphone, camera video and screenshare.flv for shared screen (from desktop).
You can also get the start time of these files in the indexstream.xml file, if you know how to work with ffmpeg software or other software, you can combine these files.
But if you can not and only audio and video are important to you and not a text conversation, you can use the program I wrote.
It goes without saying that Adobe Connect files may be corrupted for any reason, so make sure they are safe and then work with Adobe files.
https://github.com/HosseinShams00/AdobeConnectDownloader

Saving recorded Voice in Flex using as3

I am trying save the recorded voice locally in my file system using flex and as3.
I am successful in recording voice and playback again. I am using web application prospective in Flex.
Here I noticed that if I used windowed application, I am successfully saving voice record in my system(using adobe air file system).
Pleas let me know the process of saving recorded file.
You can save VoiceRecord in ByteArray on Flex Side, and send this ByteArray to Server and save there in File or Database
FileReference.save(), but it has to be converted to ByteArray
There is also a open source alchemy c++ plugin someone built for flash that can encode it to an mp3 on the client. Would probably be of great use to you: https://github.com/kikko/Shine-MP3-Encoder-on-AS3-Alchemy

Run a Virus Scan While Uploading files in ASP.NET

I have developed a web based application in ASP.NET and C# where users have the facility to upload files on the server through this application I want the application to Scan the uploaded files for viruses before saving on the server. Same like when we attach files with our email in Yahoo. Please guide me how I can achieve this functionality Any API which can be integrated in ASP.NET application or any other way you can suggest. We can purchase the licensed version of a product which can achieve this. I have googled but did not find specific results.
Thanks in advance!
First of all the file must be saved onto the server before you can scan it. If you notice Yahoo will upload the file first - but not allow the attachment to be sent until scanned.
Then you can use an antivirus with a command line interface or some other kind of API. Both of these can be called via C# and should provide the functionality you require. Parhaps write a wrapper class that takes a file and returns true or false depending on whether a virus was detected.
Other applications that provide you with a command line interface:
Microsoft Security Essentials
clamAv
I believe MS AV provides better results.
Just purchase antivirus software that has a command-line interface (several popular packages include this). Once the file has been uploaded, run the scan.
I would think, in order to upload and scan at the same time, you might need to implement your own antivirus software as I'm not familiar with any package that would provide that sort of interface.
I run a shareware site. It doesn't work as you described, but I download each file to my local computer and run a scan on them. You would be doing something similar.

ASP.NET - fast Segmented download of file through webservice

Im doing this project where i need to download files through a webservice (images, videos). The download MUST go through an existing webservice. The existing webservice was made when there were no need to upload and download files but the project has changed and now we need to do It through a webservice.
Right now I have implemented the download as a method that returns a byte[], I open a streamreader and resds the entire file into a byte[] and returns it to my method. This is working file on small files <~1Mb, above it takes too long time. I want to show some progress (e.g. when the user downlaods a 20Mb video) which i cannot do right now. And i want to make it download much faster (is a strategy to use multithreading and several threads that downloads a part of the file?). It is within a WPF application i need to do this.
Any ideas on how to approach this?
You can't do what you want to do using old ASMX web services. They will buffer the input internally, several times.
You need a way to move to WCF, at least for this new function. You can keep the old code, but you need a new, WCF service to properly handle the new.

Resources