# Receiving RTP audio stream without the sdp file

**URL:** <https://community.wowza.com/t/receiving-rtp-audio-stream-without-the-sdp-file/34199>\
**Category:** Wowza Streaming Engine\
**Created:** [September 3, 2010, 4:00pm UTC](https://community.wowza.com/t/receiving-rtp-audio-stream-without-the-sdp-file/34199 "2010-09-03T16:00:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [September 3, 2010, 4:07pm UTC](https://community.wowza.com/t/receiving-rtp-audio-stream-without-the-sdp-file/34199/3 "2010-09-03T16:07:03Z")

</div>

> How can I get Wowza to initiate restreaming in response to, say, a request by a Flash client?

You can use netconnection.call and the [MediaCaster API](http://community.wowza.com/t/-/88):

client-side:

```auto
netconnection.call("startMediaCasterStream", "somestream.stream");

```

Where “some.stream” is a text file in content folder that might have an RTSP url to an IP camera, for example. Or you could just send the rtsp url as a parameter or other MediaCaster source.

Server-side:

```auto
package com.wowza.wms.example.module;
import com.wowza.wms.amf.*;
import com.wowza.wms.client.*;
import com.wowza.wms.module.*;
import com.wowza.wms.request.*;
public class ModuleMediaCasterExample extends ModuleBase {
	public void startMediaCasterStream(IClient client,
			RequestFunction function, AMFDataList params) {
		String streamName = params.getString(PARAM1);
		client.getAppInstance().startMediaCasterStream(streamName, "rtp");
	}
}

```

Richard

---

_[View the full topic](https://community.wowza.com/t/receiving-rtp-audio-stream-without-the-sdp-file/34199)._
