# Can Any one help me about wowza streaming ,

**URL:** <https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [January 6, 2021, 12:27pm UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642 "2021-01-06T12:27:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheo\_choudhary](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sheo\_choudhary](https://community.wowza.com/u/sheo_choudhary)\
**Post date:** [January 6, 2021, 12:27pm UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/1 "2021-01-06T12:27:33Z")

</div>

Help me  
i am not able to understand Wowza modules i studied but in  
public void onAppStart(IApplicationInstance appInstance)  
{  
// String fullname = appInstance.getApplication().getName() + “/” + appInstance.getName();  
// String clients = appInstance.toString();  
// int playstreamcount = appInstance.getPlayStreamCount(fullname);  
// String path = appInstance.getStreamKeyPath();  
// String streamtype = appInstance.getStreamType();  
// String datestartes = appInstance.getDateStarted();  
//   
// getLogger().info("onAppStart:Shiv++Rama " + fullname + clients + playstreamcount + path + streamtype + datestartes);

```
	appInstance.setMediaListProvider(new MyMediaListProvider());
	
}

```

i make jar file and configure in Application.xml  
  
MyStreamingRecording  
MyStreamingRecording  
com.myapp.digivive.MyStreamingRecording  
  
but its not working when i use content streaming in VLC and see the log files its shows  
\*_Module class not found or could not be loaded. Check [install-dir]/conf/vod/Application.xml to be sure all Modules/Module/Class paths are correct:_ MyStreamingRecording

please guide me so that i can make java customize API for my project…

Aslo guide me to learn best way

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 6, 2021, 6:15pm UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/2 "2021-01-06T18:15:16Z")

</div>

> [@sheo\_choudhary](#):
>
> Module class not found or could not be loaded.

Sure, we’d be happy to help, but it would require we have full access to your Engine files and logs so we can confirm that the package and classes were configured as expected. The “not found” message usually just means that it was not found defined in the correct location.

Tech support doesn’t debug in forums so you’ll need to submit a ticket. But, yes we can help you and guide you. A wowza engineer will work with you directly until it’s working as you’d like…

You can submit one here:

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

**Author:** ![sheo\_choudhary](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sheo\_choudhary](https://community.wowza.com/u/sheo_choudhary)\
**Post date:** [January 7, 2021, 5:11am UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/3 "2021-01-07T05:11:00Z")

</div>

ok i will open the ticket but send me the java and wowza beginner guide because basic knowledge of java and new to wowza . and i want to make API in java so my wowza will work after customizes API  
Waiting for your help.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [January 7, 2021, 10:45am UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/4 "2021-01-07T10:45:01Z")

</div>

Stupid question; but did you copy the JAR file to the /lib folder? If so; please post the entire module code (as an attachment)

---

<div class="post-metadata">

**Author:** ![sheo\_choudhary](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sheo\_choudhary](https://community.wowza.com/u/sheo_choudhary)\
**Post date:** [January 7, 2021, 11:12am UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/5 "2021-01-07T11:12:07Z")

</div>

Yes i copied my jar file into the /lib folder and see the code i mention my jar file in the application.xml  
also… here is my module code.  
package com.myapp.digivive;

import com.wowza.wms.application._;  
import com.wowza.wms.amf._;  
import com.wowza.wms.client._;  
import com.wowza.wms.module._;  
import com.wowza.wms.request._;  
import com.wowza.wms.stream._;  
import com.wowza.wms.rtp.model._;  
import com.wowza.wms.httpstreamer.model._;  
import com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer._;  
import com.wowza.wms.httpstreamer.smoothstreaming.httpstreamer._;  
import com.wowza.wms.medialist.MediaList;  
import com.wowza.wms.medialist.MediaListRendition;  
import com.wowza.wms.medialist.MediaListSegment;

public class MyStreamingRecording extends ModuleBase  
{

```
public void doSomething(IClient client, RequestFunction function, AMFDataList params)
{
	getLogger().info("Hello Wowza Server");
	sendResult(client, params, "Hello Wowza");
}

```

// public class MyMediaListProvider implements IMediaListProvider  
// {  
// public MediaList resolveMediaList(IMediaListReader mediaListReader, IMediaStream stream, String streamName)  
// {  
// MediaList mediaList = new MediaList();  
//  
// MediaListSegment segment = new MediaListSegment();  
// mediaList.addSegment(segment);  
//  
// MediaListRendition rendition1 = new MediaListRendition();  
// segment.addRendition(rendition1);  
//  
// rendition1.setName(streamName+"\_400");  
// rendition1.setBitrateAudio(128000);  
// rendition1.setBitrateVideo(400000);  
// rendition1.setWidth(320);  
// rendition1.setHeight(240);  
// rendition1.setAudioCodecId(“mp4a.40.2”);  
//   
//  
// MediaListRendition rendition2 = new MediaListRendition();  
// segment.addRendition(rendition2);  
//  
// rendition2.setName(streamName+"\_800");  
// rendition2.setBitrateAudio(128000);  
// rendition2.setBitrateVideo(800000);  
// rendition2.setWidth(640);  
// rendition2.setHeight(480);  
// rendition2.setAudioCodecId(“mp4a.40.2”);  
//   
//  
// return mediaList;  
// }

```
public void onAppStart(IApplicationInstance appInstance)
{
	String fullname = appInstance.getApplication().getName() + "/" + appInstance.getName();
	String clients = appInstance.toString();
	int playstreamcount = appInstance.getPlayStreamCount(fullname);
	String path = appInstance.getStreamKeyPath();
	String streamtype = appInstance.getStreamType();
	String datestartes = appInstance.getDateStarted();
	
	getLogger().info("onAppStart:Shiv++Rama " + fullname + clients + playstreamcount + path + streamtype + datestartes);

```

// appInstance.setMediaListProvider(new MyMediaListProvider());

```
}

```

and Application.xml

```
		<Module>
			<Name>flvplayback</Name>
			<Description>FLVPlayback</Description>
			<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
		</Module>
		<Module>
			<Name>MyStreamingRecording</Name>
			<Description>MyStreamingRecording</Description>
			<Class>com.myapp.digivive.MyStreamingRecording</Class>
		</Module>
		<Module>
			<Name>Wowzacheck</Name>
			<Description>Wowzacheck</Description>
			<Class>com.net.mydata.Wowzacheck</Class>
		</Module>
		
	
		
	</Modules>

```

Help me to learn Wowza customize java API

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [January 7, 2021, 11:41am UTC](https://community.wowza.com/t/can-any-one-help-me-about-wowza-streaming/92642/6 "2021-01-07T11:41:18Z")

</div>

That post is a mess; better to provide code in proper code blocks or as an attachment. That will also prevent your code being altered by the forum editor (like changing asterisks `*` into _italic_) as happens for your import statements at the top.

Check the compilation process; does it say that the module has been compiled successfully? In the code above there’s a missing curly bracket at the end.
