Hi,

I have the same problem. Also using Darwin Streaming Server, but I
test the app on a G1.
I do get sound through but it is very poor quality. It skips all the
time... DSS tells my a have a bit rate of 67 kbps while when I test
DSS from quicktime on my computer I a have a bit rate of 137 kbps.

I also have the issue with the buffering percentage only showing 1%.
Could this be the problem to the poor sound?
Could you elaborate on how to change

oscl_memcpy(&bufPercent, localBuf, sizeof(uint32));
to
oscl_memcpy(&bufPercent, &localBuf[4], sizeof(uint32));

Thanks,
/Johan


On Jan 16, 9:08 am, rktb <[email protected]> wrote:
> Hi,
>
> There are two questions in the thread:
>
> (i) RTSP streaming on the emulator isn't working as expected.
> This is a definite issue. Please 
> seehttp://groups.google.com/group/android-developers/browse_thread/threa....
>
> (ii) The buffering percentage being shown is incorrect.
> For this, the following change should work.
>
> >>oscl_memcpy(&bufPercent, localBuf, sizeof(uint32));
> to
> >>oscl_memcpy(&bufPercent, &localBuf[4], sizeof(uint32));
>
> -Ravi
>
> On Jan 16, 11:54 am, developer software
>
> <[email protected]> wrote:
> > Hi,
>
> > I changed the below mentioned changes, but it is not able to play and we are
> > getting the same error.
> > I have attached the logs for reference.
>
> > On Fri, Jan 16, 2009 at 11:07 AM, rktb <[email protected]> wrote:
>
> > > Wouldn't changing the following line in playerdriver.cpp fix the
> > > "funny" 1% that you are referring to?
>
> > > oscl_memcpy(&bufPercent, localBuf, sizeof(uint32));
> > > to
> > > oscl_memcpy(&bufPercent, &localBuf[4], sizeof(uint32));
>
> > > -Ravi
>
> > > On Jan 16, 10:07 am, Paranoia <[email protected]> wrote:
> > > > in pvmf_jitter_buffer_node.cpp
>
> > > >     if (aEventType == PVMFInfoBufferingStatus)
> > > >     {
> > > >         uint8 localbuffer[8];
> > > >         oscl_memset(localbuffer, 0, 8);
> > > >         localbuffer[0] = 1;
> > > >         oscl_memcpy(&localbuffer[4], &iJitterDelayPercent, sizeof
> > > > (uint32));
> > > >         PVMFAsyncEvent asyncevent(PVMFInfoEvent,
> > > >                                   aEventType,
> > > >                                   NULL,
> > > >                                   NULL,
> > > >                                   aEventData,
> > > >                                   localbuffer,
> > > >                                   8);
> > > >         PVMFNodeInterface::ReportInfoEvent(asyncevent);
> > > >     }
>
> > > > and in playerdriver.cpp
>
> > > >     case PVMFInfoBufferingStatus:
> > > >         {
> > > >             uint8 *localBuf = aEvent.GetLocalBuffer();
> > > >             if (localBuf != NULL) {
> > > >                 uint32 bufPercent;
> > > >                 oscl_memcpy(&bufPercent, localBuf, sizeof(uint32));
> > > >                 LOGV("PVMFInfoBufferingStatus(%u)", bufPercent);
> > > >                 mPvPlayer->sendEvent(MEDIA_BUFFERING_UPDATE,
> > > > bufPercent);
> > > >             }
> > > >         }
> > > >         break;
>
> > > > On Jan 16, 1:04 pm, Paranoia <[email protected]> wrote:
>
> > > > > please check the bufferingstatus in pvmf_jitter_buffer_node.cpp. seems
> > > > > the buffering status is always 1%... it's funny.
>
> > > > > On Jan 16, 10:20 am, rktb <[email protected]> wrote:
>
> > > > > > Hi,
>
> > > > > > Please let us know the issues that you are facing.
>
> > > > > > -Ravi
>
> > > > > > On Jan 16, 6:32 am, Paranoia <[email protected]> wrote:
>
> > > > > > > pv did not do enough test for rtsp. even the buffering status 
> > > > > > > value
> > > is
> > > > > > > wrong.
>
> > > > > > > On Jan 16, 2:22 am, rktb <[email protected]> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > RTSP streaming has been working on the emulator (in very few
> > > cases)
> > > > > > > > and on the device. On the emulator, it looks like an issue with
> > > the
> > > > > > > > port and/or firewall. If you can attach the log along with the
> > > > > > > > ethereal log, we can double check the same.
>
> > > > > > > > -Ravi
>
> > > > > > > > On Jan 15, 8:41 pm, "sumanth sarangapani" <[email protected]>
> > > wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > I am facing problem with RTSP streaming of mp4 file. I am 
> > > > > > > > > using
> > > the sample
> > > > > > > > > mediaplayer app provided with the android. Server used is
> > > darwin media
> > > > > > > > > server. I am getting an error "sorry this video cannot be
> > > played". I have
> > > > > > > > > enabled pv logger  and have the logs with me. I can attach the
> > > logs if
> > > > > > > > > needed.
>
> > > > > > > > > Has anyone able to do RTSP streaming on emulator? or any
> > > target? I have
> > > > > > > > > tried on both and am getting the same error on both.
>
> > > > > > > > > I used the wireshark to sniff the packets and could see the
> > > RTSP session was
> > > > > > > > > established and RTP packets was delivered to the client.
>
> > > > > > > > > Can anyone provide some help on this?
>
> > > > > > > > > thanks in advance
>
> > > > > > > > > sumanth
>
> >  mofdified_playerdriver.rtf
> > 794KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to