Closed GoogleCodeExporter closed 9 years ago
Hi,
I had the sames errors, i think it is because there was mistakes during the
implementation of "linphonemediaengine".
For the first error you have to change the return type of the
"cricket::LinphoneVoiceChannel::SetRingbackTone(const char*, int)" function
from "void" to "bool".
For the second error you have to implement in "LinphoneMediaEngine" the
"GetOutputVolume(int*)" which is pure virtual in "MediaEngine"
Maybe it is not the good solution but, now, i can call !
Original comment by guill.ha...@gmail.com
on 19 Jul 2011 at 12:35
Thanks Guill. I also met same problem and the first error did disappear after
changing the return type. However I don't have a clue of solving the abstract
class problem. I'm working on libjingle-0.6.0 and there is no GetOutputVolume
function. But it seems all the functions in linphonemediaengine class are
abstract, and I need to implement all of them. Is that the situation? Thanks in
advance.
Original comment by tangketa...@gmail.com
on 21 Nov 2011 at 11:55
What did you define in GetOutputVolume(int*)
Original comment by mitivarun@gmail.com
on 17 May 2012 at 9:52
What did you define in GetOutputVolume(int*)
Original comment by mitivarun@gmail.com
on 17 May 2012 at 9:52
Some of the inherited virtual function are not implemented in
LinphoneVoiceChannel.
Adding below code in class LinphoneVoiceChannel will resolve these errors.
virtual bool AddSendStream(const StreamParams& sp) { return true; }
virtual bool RemoveSendStream(uint32) { return true; }
virtual bool AddRecvStream(const cricket::StreamParams&) { return true; }
virtual bool RemoveRecvStream(uint32) { return true; }
virtual int GetOptions() const { return 0; }
virtual int GetTimeSinceLastTyping() { return 0;}
virtual int SetTypingDetectionParameters(int, int, int, int) { return 0; }
virtual bool PlayRingbackTone(uint32, bool, bool) { return true; }
Original comment by satyaji...@gmail.com
on 24 Jun 2012 at 2:23
Attachments:
Linphone is no longer supported.
Original comment by juberti@google.com
on 31 May 2013 at 8:37
Original issue reported on code.google.com by
dbl...@alumni.lehigh.edu
on 21 Jun 2011 at 9:03Attachments: