I’m working on an architecture where a telephone gateway sends an RTP stream to Wowza and I want to restream it to flash player (just one way). The system supports multiple sessions and each stream is created dynamically.
I’m trying to figure out how Wowza can pick up the RTP stream from the gateway without resorting to sdp files. I already have HTTP-based communication going between the 2 servers, so it’s no problem to exchange id’s, urls, ports or other stuff.
How can I get Wowza to initiate restreaming in response to, say, a request by a Flash client?
To clarify, here’s a little event sequence:
Flash Client connects to a Wowza Application
Flash Client sends a dial request to the Application
The Application assigns an id to this request and sends an HTTP request to the phone gateway
The phone gateway places a call
When the call is connected, the gateway starts streaming (using the id) to Wowza and notifies the Wowza Application with an HTTP request
When the Wowza App is notified, it needs to start restreaming and notify the Flash Client
When Flash Client is notified, it starts playing the new stream
Now, I could predefine, say, 30 sdp files and just keep track of a mapping between the dial request and the sdp file, but that would get rather messy. I prefer not having the sdp files at all. Is that possible?