linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] ortp - sound not clear


From: Simon Morlat
Subject: Re: [Linphone-users] ortp - sound not clear
Date: Tue, 4 Apr 2006 11:01:11 +0200
User-agent: KMail/1.9.1

>
> I dont know if the problem is related to my gettimeofday function or my
> payload type. (What does BITRATE mean in payload structure?)
It is only indicative; and has no influence on the processing by oRTP.

Simon

>
> Please Advice.
>
>
>
> Regards,
> sriram
>
>
> (My gettimeofday and payload structure looks like this)
> int gettimeofday (struct timeval *tv, void* tz)
> {
>  union
>  {
>   __int64 ns100; /*time since 1 Jan 1601 in 100ns units */
>   FILETIME fileTime;
>  } now;
>     SYSTEMTIME SystemTime;
>     GetSystemTime(&SystemTime);
>  SystemTimeToFileTime(&SystemTime, &now.fileTime ) ;
>  tv->tv_usec = (long) ((now.ns100 / 10L) % 1000000L);
>  tv->tv_sec = (long) ((now.ns100 - 116444736000000000L) / 10000000L);
>  return (0);
> }
>
>
>
> PayloadType payload_type_osk=
> {
>  TYPE( PAYLOAD_AUDIO_CONTINUOUS),
>  CLOCK_RATE(48000),
>  BITS_PER_SAMPLE(32),
>  ZERO_PATTERN(NULL),
>  PATTERN_LENGTH(0),
>  NORMAL_BITRATE(1536000),
>  MIME_TYPE ("OSK_AUDIO")
> };




reply via email to

[Prev in Thread] Current Thread [Next in Thread]