Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 209
Registered: ‎11-08-2008
My Device: Not Specified

How to Test Audio RTSP application on Simulator

Hi All,

 

I want to make application to play audio File while streaming with RTSP server.

And i am getting no Exception while playing on 4.3.0 JDE Simulator, but getting no sound. It looks like that Application is working fine, but no sound.

Please tell me how can i test it on Simulator ?

I may be missing something basic so i attested the code below.

 

Thanks.

 

            String url = "xyz.com/SongName.mp3";

            player = javax.microedition.media.Manager.createPlayer(url);
           
            player.realize();

            volumeControl = getVolumeControl(player);
           
            if (volumeControl != null)
                volumeControl.setLevel(90);
            player.prefetch();
            player.start();

 

Thanks and Regards
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: How to Test Audio RTSP application on Simulator

What route are you making the RTSP stream over?  Note that you can not open and RTSP stream through a BlackBerry Enterprise Server or MDS Simulator.

 

What Is - Different ways to make an HTTP or socket connection
Article Number: DB-00396
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

 

Network Transports Video
http://www.blackberry.com/DevMediaLibrary/view.do?name=NetworkingTransports

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker