linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] media_api in linphone


From: Shivaji Navale
Subject: Re: [Linphone-users] media_api in linphone
Date: Thu, 20 Nov 2003 18:06:06 +0530 (IST)

Hi,

Thanks Simon!!

In mediatream.c did audio_stream_start_with_files
specified files /usr/tmp/media/input.wav (which is the copy of ur
hello8000.wav) and an empty /usr/tmp/media/output.wav.


It was difficult to sense what was going wrong while running linphone.
Which ran as normal as usual ( as if nothing had changed )

So executed the mediastream only from the command line as

mediastreamer/mediastream --local 7078 --remote 10.107.3.52:7080 --payload 
pcm8000
, the binary got executed well , with foll messages.

MediaStreamer-Message: Found /dev/dsp.
MediaStreamer-Message: Found ALSA device: Intel 82801BA-ICH2
MediaStreamer-Message: the pt->mime_type is string PCMU
MediaStreamer-Message: ms_filter_add_link: dskreader,0 -> MULAWEncoder,0
MediaStreamer-Message: ms_filter_add_link: MULAWEncoder,0 -> RTPSend,0
MediaStreamer-Message: ms_filter_add_link: RTPRecv,0 -> MULAWDecoder,0
MediaStreamer-Message: ms_filter_add_link: MULAWDecoder,0 -> dskwriter,0

(did exit it with Ctrl-C)

but there is no output in the output.wav, Although the file output.wav was 
being accessed as
seen from timestamps.

why arent the inputs and output being processed, the input file seems is
not even been accessed.

The communication is as usual for hosts with and without files and any of
its combination.

Is there anything else i am missing out, or the parameters from the
.gnome2/linphone  which solely define the way linphone behaves.


thanks,
shivaji


-- EVERYONE should contribute to THE BEST of their capacity
for THE DEVELOPMENT of THE NATION
                                         -- A P J KALAM

On Thu, 13 Nov 2003, Simon MORLAT wrote:

> Hello,
>
> Well, you need to know that media_api is currently unused, because
> unfinished, within linphone. media_api aims to be a wrapper over the
> mediastreamer which is a bit complex to use, but powerfull.
> To workaround the unfinished media_api, linphone uses the
> audio_stream_start() and audio_stream_stop() functions defined in
> audiostream.c. You can with those function starts media streams that
> begins/end to disk files or to soundcard. This is probably just what you
> want.
> Simon
>
> Shivaji Navale wrote:
>
> >Hi,
> >
> >I am back again, but with solution for the initial query and a
> >new query.
> >
> >I worked the entire night figured out the problem in Makefile.
> >It was with the FLAGS to be passed while compiling the c files  and the
> >SOUNDDEFS definition.
> >
> >Atlast after the whole nights work got the apitest and libmedia_api.la
> >compiled.
> >
> >But on execution of apitest
> >following messages are displayed
> >
> >MediaApi-Message: basic_call_new: creating a basic call
> >MediaApi-Message: call_member_new: creating memberA
> >MediaApi-Message: call_member_new: creating memberB
> >MediaApi-Message: basic_call_get_member: called for 1
> >MediaApi-Message: basic_call_get_member: called for 2
> >
> >MediaApi-Message: media_flow_new: creating test_voice
> >MediaApi-Message: basic_call_add_flow: called for test_voice
> >MediaApi-Message: call_member_setup_flow: setting up flow for:
> >CallMember->memberA , MediaFlow->test_voice
> >MediaApi-Message: call_member_setup_flow: setting up flow for:
> >CallMember->memberB , MediaFlow->test_voice
> >MediaApi-Message: media_flow_setup_fd: setting up HALF_DUPLEX flow for
> >memberA , memberB
> >MediaApi-Message: basic_call_start_flow: called for flow test_voice
> >
> >GLib-ERROR **: The thread system is not yet initialized.
> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >aborting...
> >
> >aborts with this error.
> >
> >As already mentioned, am using rh-9 with linphone-0.12.0pre4 CVS.
> >Would somebody reply to this thread. Pls the amount of work and time
> >i had put in want it to be channelized.
> >
> >thanks
> >shivaji...
> >
> >-- EVERYONE should contribute to THE BEST of their capacity
> >for THE DEVELOPMENT of THE NATION
> >                                      -- A P J KALAM
> >
> >On Thu, 13 Nov 2003, Shivaji Navale wrote:
> >
> >
> >
> >>Hi,
> >>
> >>I am attaching the error obtained from make in media_api directory.
> >>
> >></snip>
> >>gcc -DHAVE_CONFIG_H @SOUNDDEFS@ -DDEBUG -DG_LOG_DOMAIN=\"MediaApi\" -I.
> >>-I. -I.. -I../mediastreamer -I../speex -I../gsmlib -I../oRTP -I../oRTP/src
> >>-I../lpc10-1.5 -I../ffmpeg -g -O2 -c basiccall.c -MT basiccall.lo -MD -MP
> >>-MF .deps/basiccall.TPlo  -fPIC -DPIC -o .libs/basiccall.lo
> >>
> >>gcc: cannot specify -o with -c or -S and multiple compilations
> >>
> >>Pls throw some light on this issue.
> >>
> >>thanks
> >>shivaji
> >>
> >>-- EVERYONE should contribute to THE BEST of their capacity
> >>for THE DEVELOPMENT of THE NATION
> >>                                     -- A P J KALAM
> >>
> >>On Wed, 12 Nov 2003, Shivaji Navale wrote:
> >>
> >>
> >>
> >>>Hi Simon,
> >>>
> >>>I need  multiple sources talking through the linphone application.
> >>>So need to get the input from this sources to files and this files be read
> >>>through the media_api interface.
> >>>
> >>>Although there is one option for specifying a MEDIA_FILE. but the problem
> >>>oocurs while doing make in the media_api directory (w/o any changes being
> >>>made to c files (callmember.c and others) ).
> >>>
> >>>The problem is with some of the functions declared herein media_api code.
> >>>It asks for the functions in mediastreamer which is not obtained from the
> >>>makefile.
> >>>
> >>>I had worked on the mediastreamer and media_api file for long trying to
> >>>figure out the changes required in the interface.
> >>>
> >>>1.)The media_api/Makefile that has some problem, i am using the CVS
> >>>source about 2 months old.
> >>>
> >>>2.) what should i do to get say linphone read from file read.wav and
> >>>process it to the destination, instead of using the microphone.
> >>>
> >>>I have been working on this for more than two months.
> >>>ne lead into this would be highly appreciated.
> >>>
> >>>Also checked the savannah site but CVS is not available now. Also it seems
> >>>the media_api directory only have make files in the current versions.
> >>>
> >>>Thanks for resolving my earlier queries.
> >>>
> >>>eagerly waiting for ur reply.
> >>>
> >>>thanks,
> >>>shivaji...
> >>>
> >>>-- EVERYONE should contribute to THE BEST of their capacity
> >>>for THE DEVELOPMENT of THE NATION
> >>>                                    -- A P J KALAM
> >>>
> >>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Linphone-users mailing list
> >>>address@hidden
> >>>http://mail.nongnu.org/mailman/listinfo/linphone-users
> >>>
> >>>
> >>>
> >>
> >>_______________________________________________
> >>Linphone-users mailing list
> >>address@hidden
> >>http://mail.nongnu.org/mailman/listinfo/linphone-users
> >>
> >>
> >>
> >
> >
> >
> >
> >_______________________________________________
> >Linphone-users mailing list
> >address@hidden
> >http://mail.nongnu.org/mailman/listinfo/linphone-users
> >
> >
> >
> >
>
>






reply via email to

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