opencore sdp file

46 views
Skip to first unread message

drugz'

unread,
Dec 28, 2009, 7:14:09 AM12/28/09
to android-platform
Hi,

Is it possible to setDatasource for PVPlayer as some sdp file(having
session description), so that it can play rtp stream ?

I can see there is pvplayer test case 12 that has support for this. I
want to query that is it possible to pass sdp file as setDatasource
from MediaPlayer java object so that I can play rtp stream.

Many thanks beforehand.

Kind Regards

DM

// C

unread,
Jan 19, 2010, 8:41:10 AM1/19/10
to android-platform
I am also wondering about this.
I place a local SDP at the sdcard and perform SetDataSource with a
reference to its location:

player.SetDataSource("/sdcard/mysdp.sdp");
player.prepare();

and so on ..

but when I try to launch the streaming session it fails with an
exception.

Do we really ahve full functionality of local SDP in OpenCore? In that
case, what am I doing wrong ?

// C

Durgesh Mishra

unread,
Jan 19, 2010, 12:32:55 PM1/19/10
to android-...@googlegroups.com
Yes. same here.

I am quite sure opencore has handling for SDP file locally. Its only mediaplayer wrapper playing limiting role in between.

2010/1/19 // C <clas....@gmail.com>
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.






--
"If you only have a hammer, you tend to see every problem as a nail."

RaviY

unread,
Jan 20, 2010, 12:08:09 AM1/20/10
to android-platform
The way "sdp" file playback is supported is:
- User clicks on a link in Browser.
- The mimetype sent by the server is "application/sdp".
- The MovieView of Camera app. should vouch that it can play the file
when downloaded.
<prompt> cd droid/packages/apps/Camera
<prompt> git log --pretty=oneline | grep SDP
8ac5c9d5e0049fbe3c70381278a60b9cd6822a8a Support to download and
play from a SDP file.
- Then the file is downloaded and is associated with the Gallery app.

-Ravi

On Jan 19, 10:32 pm, Durgesh Mishra <durgesh.mis...@gmail.com> wrote:
> Yes. same here.
>
> I am quite sure opencore has handling for SDP file locally. Its only
> mediaplayer wrapper playing limiting role in between.
>

> 2010/1/19 // C <clas.and...@gmail.com>

> > android-platfo...@googlegroups.com<android-platform%2Bunsu...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages