Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read using C++ (C#) sound stream sent by flash?

I need to read sound stream sent by flash audio in my C++ application (C++ is not a real limitation, it may be C# or any other desktop language). Now flash app sends audio to another flash app but I need to receive the same audio by desktop application. So, is there a standard or best way how to do it?

Thank you for your answers.

like image 460
Oleg Avatar asked Feb 28 '10 11:02

Oleg


People also ask

How do I open a .C file?

How to Open a C File. Any text editor like Notepad++, Emacs, the Windows Notepad program, EditPlus, TextMate, and others, can open and view a C file if it's a C/C++ source code file.

What is reading in C?

C programming provides a set of built-in functions to read the given input and feed it to the program as per requirement. When we say Output, it means to display some data on screen, printer, or in any file.

How do you read and write from a file in C?

For reading and writing to a text file, we use the functions fprintf() and fscanf(). They are just the file versions of printf() and scanf() . The only difference is that fprintf() and fscanf() expects a pointer to the structure FILE.


1 Answers

How is the sound actually sent? Via the network?

Edit: You'd be either capturing the audio from an HTTP stream, or an RTMP stream. Run Wireshark to find out, but I suspect you're doing something slightly shady...

like image 151
Adam Baxter Avatar answered Sep 28 '22 04:09

Adam Baxter