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
Developer
babakar
Posts: 696
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Play a rtsp video

yone knows how to play an rtsp video?

 

a sample..small one..not complex.

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Play a rtsp video

This sample gives you some direction

 

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To...

 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Developer
babakar
Posts: 696
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Play a rtsp video

its not what i am looking for, thats playing a local file in ur machine. i am talking rtsp link, as i know http doesnt work ( the workaround for http is opening with browser)
Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Play a rtsp video

try with BlackBerry Browser .

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Play a rtsp video

The BlackBerry® devices with BlackBerry® Device Software version 4.3.0 or later that supports EVDO will support RTSP functionality

    Import the required classes.

    import javax.microedition.media.Manager;
    import javax.microedition.media.Player;

    Invoke Manager.createPlayer(String) to stream media by passing a parameter that represents an RTSP locator.

    Player p = Manager.createPlayer("rtsp://streaming.rim.com/streaming_video.3gp");


Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: Play a rtsp video

Source:

 

http://docs.blackberry.com/en/developers/deliverables/11942/Create_BB_app_that_plays_streaming_media...

 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.