Bug 161914 - yahoo camera offers, invites, sending, and viewing don't work / are blank & nothing can be seen
Summary: yahoo camera offers, invites, sending, and viewing don't work / are blank & n...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Yahoo Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords: triaged
: 173131 174818 191388 194087 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-10 19:27 UTC by dan lia
Modified: 2010-01-14 05:19 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
tcpdump (8.21 KB, text/plain)
2009-07-09 09:48 UTC, Karen Durinyan
Details
tcpdump (7.03 KB, text/plain)
2009-07-09 09:49 UTC, Karen Durinyan
Details
tcpdump (7.75 KB, text/plain)
2009-07-09 09:50 UTC, Karen Durinyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dan lia 2008-05-10 19:27:23 UTC
Version:            (using KDE 4.0.3)
Installed from:    I Don't Know
OS:                Linux

I recently installed Kopete on my Linux system.  I was having problems with the vidoe feed.  I found a fix:  sudo apt-get install libjasper-runtime.  Now that was installed.  Now when I to view my webcam in kopete I do not get an error but my friends can not see my cam nor can I see theres.  They are on yahoo for the most part.  I do know my video does not freeze up while this going on and seems to working fine.
Comment 1 dan lia 2008-05-14 17:26:23 UTC
Do you think it is a linux matter or Kopete?
Comment 2 William Hilton 2008-07-06 22:29:18 UTC
For this bug report to be useful, we'll need more information. What is the name and model of the webcam? Does it work with other programs, like camorama? Do you have a firewall blocking TCP Port 5100? (Got that from http://www.helpbytes.co.uk/yconnect.php)
Comment 3 dan lia 2008-07-07 05:30:59 UTC
Thank you for responding.  The brand of camera is Creative.  I will get the specific model for you but if my memory serves me it is a model 6000---I will check.  It does work with other progams but I have not used Camorama.  I will check the firewall issue but I am pretty sure I do not.

Thank you.

Dan
Comment 4 Jason Martin 2008-10-05 07:18:28 UTC
I am also experiencing the same problem. I have a Logitech Quickcam Deluxe for Notebooks with kopete in KDE 4.1.2, and I've opened port 5100 on my router. With my Yahoo contacts, I can receive requests for viewing their camera, but when I click "Yes", no window appears with the camera image. Also, when I choose to send a camera invitation, the receiver doesn't get the invite.
Comment 5 Alex 2008-10-15 17:41:39 UTC
Hi,

I have the exact same problem with Kopete 4.1.2 in Ubuntu Intrepid. I cannot send/receive any webcam in Yahoo. The problem is not the webcam support because in the Kopete preferences, I can open the webcam device and I see it working (normal video is displayed).

Also of note, this used to work very well on the same hardware configuration with Ubuntu Hardy 8.04 with Kopete from KDE 3.5.

I do not have any specific firewall configuration, even though I use an ADSL modem with a local wireless network. But then it used to work with the previous version, so except if there were some changes in the webcam handling protocol for Yahoo between KDE 3.5 and KDE 4.1, it should still be working.

Alex
Comment 6 Bram Schoenmakers 2008-11-15 23:49:54 UTC
*** Bug 173131 has been marked as a duplicate of this bug. ***
Comment 7 Dread Knight 2008-11-27 15:59:29 UTC
This bug is outrageous! Prevents me from getting layed most of the times since i only use linux and predominant around here is yahoo messenger protocol.


Hope 4.2 will fix this since i quited my day job and i want to get layed.


Thanks.
Comment 8 Sam Albuquerque 2008-12-08 19:08:04 UTC
Reproduced on:
Kopete 0.60.2
KDE 4.1.2
jasper-1.900.1

I dont have a webcam myself but have been interacting with a windows user. Have been unable to view their webcam stream on my linux machine. The request gets accepted and i can see a blank window with the message, "No Webcam image received"
Comment 9 francesco 2009-01-24 13:07:24 UTC
I have the same problem on sid with kde4 ... the strange thing is that in kopete config camera work so i think is a protocol problem or something like that ... 
On the previous version of kopete camera works great so i hope it came back soon 
Comment 10 A. Spehr 2009-01-31 00:43:54 UTC
Definitely higher level than not. Mine shows up in the kopete configure dialog, but not in yahoo. Neither requests nor offers work.

r918514 of kopete (4.2+)
Comment 11 Jesse Litton 2009-02-01 21:59:55 UTC
I can confirm:  I see the exact same thing on my system with a Logitech Quickcam Pro 9000.

The camera works fine for other programs, and Kopete will show me the video from it in the configuration dialog.  But, if I invite my wife's laptop to receive video (Yahoo accounts), nothing happens.  Also, testing the other direction I can see the button to accept reception of video, but the video window never appears after accepting.  I have re-created these same tests against my work laptop, and Windows running in a VM, and get the same results in all cases.

This occurs under both Kubuntu 8.10 and Kubuntu 9.04a3.
Comment 12 Jesse Litton 2009-02-01 22:06:01 UTC
(In reply to comment #11)

I probably should have clarified a couple of things:  My wife's laptop is Windows Vista, my work laptop is Windows XP, and I have tested against both the 32 & 64 bit versions of Kubuntu.

Also, I have the latest jasper runtime (1.900.1) installed from the Ubuntu repos.
Comment 13 Jesse Litton 2009-02-02 00:13:56 UTC
I just did another test and found that if you send an invite to view your webcam from Yahoo! Messenger 9.0.0.2124 (current latest) on Windows to Kopete 0.70.0 (4:4.2.0-0ubuntu1) you will receive:

"The version of Yahoo! Messenger that kopete_users_chat_name is using does not support this feature."

So, it looks like Yahoo's either removed support for older clients or specifically targetted Kopete as incompatible.
Comment 14 John Groszko 2009-03-07 23:12:40 UTC
I would love to work on this if someone could provide a packet dump of a webcam session using the Windows Yahoo client.
Comment 15 A. Spehr 2009-03-14 23:17:39 UTC
*** Bug 174818 has been marked as a duplicate of this bug. ***
Comment 16 mtmp01 2009-03-15 22:12:39 UTC
Hello,
on an eeepc with Intrepid-Adams-Kernel there are also the same problems - on kopete and amsn. The video-configs are allways ok but there are no output-signals. Cameron looks and works nice.

I think, that there is a jasper-integration-problem. 
In addition to the package libjasper1 (for kaffeine etc.) I had installed libjasper-runtime as suggestet in many forums. That only eliminates the kopete-error, to follow the tips on the wiki-site - the problem remains :-(

Another hint is probably usefull: I cannot choose a Standard-format on the kopete-video-config. I have to remember, that the video on the config-tests (kopete and amsn) works, but not on kopete at the chat/webcam-request or webcam-invitation (something like that - I have the german translation).

Hope, that there will soon a bugfix ;-)
Matthias
Comment 17 Michael Corsa 2009-03-27 12:47:12 UTC
I have the same problem in openSuSE 11.1 KDE 4.2.1.  Kopete configures cam fine (Logitech QuickCam Orbit AF USB ID 0994), but Invite to view cam in Yahoo is unresponsive.  I get neither a window of the cam for my own view and the receiver never is notified.  Only reason I have to use winDOHS! is because this doesn't work now. :(
Comment 18 Michael Corsa 2009-04-16 15:22:08 UTC
Updated to latest version of KDE 4.2.2 from openSuSE repositories and issue still remains, no change.  I receive invites to view other cams however, nothing ever appears and I am unable to invite others to my cam.  I have to run Configuration window for Video twice in order for it to recognize and display in the config window.  Even though can set in device, viewing or sending webcam to chat parties is unresponsive.  Very frustrating.  Does not work in KDE 3.5.10 on openSuSE 11.1 at this point either, won't even set the device, blue screen.
Comment 19 E-E-A 2009-04-21 11:54:18 UTC
Hello!

I can confirm the same situation using KDE 4.2.2 on Mandriva 2009.0 and Mandriva cooker.

I can't send any invitation to someone to see my webcam and viceversa using Yahoo protocol.
Comment 20 A. Spehr 2009-05-16 00:04:24 UTC
John Groszko: only the windows client? one from the linux client wouldn't be useful?
Comment 21 John Groszko 2009-05-16 01:03:05 UTC
Hey A. Spehr, it doesn't matter which client, so long as it works. I'd need something to see how Kopete is supposed to work, so that I can make Kopete do that.
Comment 22 Dario Andres 2009-05-16 04:02:42 UTC
*** Bug 191388 has been marked as a duplicate of this bug. ***
Comment 23 Vaishakhi 2009-06-01 19:27:54 UTC
I can confirm this on the latest Kubuntu packages KDE 4.2.4 with Kopete 0.70.4
The webcam is works fine in the configuration but I cannot view or send any invites to view the webcam. I have tested this with the yahoo protocol and I do have libjasper-runtime package installed. 
OS Linux (x86_64) release 2.6.28-12-generic
Comment 24 Jesse Litton 2009-06-02 01:05:10 UTC
I can verify the problem still exists in v 0.70.85 w/KDE 4.2.85 too.  I'm running the Kubuntu packages right now, and the invites don't do anything.
Comment 25 Karen Durinyan 2009-07-09 09:48:02 UTC
Created attachment 35177 [details]
tcpdump
Comment 26 Karen Durinyan 2009-07-09 09:49:37 UTC
Created attachment 35178 [details]
tcpdump
Comment 27 Karen Durinyan 2009-07-09 09:50:30 UTC
Created attachment 35179 [details]
tcpdump
Comment 28 Karen Durinyan 2009-07-09 10:00:21 UTC
hello,

kopete is installed on linux (fedora 11 x86_64)
version 0.70.4 using kde 4.2.4

ym is installes on windows vista
version 9.0.0.2152

1.txt dupm when i (kopete) tried to watch cam on windows
2.txt dump when i tried to invite windows' ym to see my webcam
3.txt dump when windows'ym brodcasted its cam to me.

i can provide any info  that it is needed dump in binary etc...

cams on both hosts are the same and working over other ims, for example skype.
also cam is wotking when i go to kopete's configure...->video, i can see myself.

thanks.

--
bests,
karen
Comment 29 francesco 2009-07-09 18:02:39 UTC
I would like to add that on debian Sid a old release of kopete (one of the first relase of kde 4) kopete support to cam over msn and yahoo worked well !!!


Didn't understand y this regretion happen ... maybe could be a nice idea to read the svn change on that version ...
Comment 30 Jesse Litton 2009-07-10 03:25:51 UTC
I doubt the regression is due to any change in Kopete.  It's probably due to protocol changes by Yahoo and MSN.

I'm not sure how you would have seen it was working in KDE4...  I've tested pretty much every version for the last two years on multiple systems, and it's always been broken for 90+% of that time.  Maybe it worked for you because you were testing Kopete to Kopete?  As there's no developer actively maintaining the cam compatibility, there doesn't appear to be any fix coming soon.
Comment 31 francesco 2009-07-10 09:19:06 UTC
I thought it too (change in protocol) but it sounded me strange a change in either msn and yahoo at same time ... but i heard that they share the same protocol so it could be.
However i think it is and important feature 4 linux in general, have support too yahoo and msn video, cause only amsn have an experimental support too msn video.
We have to think that people use it for the most, i hope someone start work on this bug soon.
it would be nice to have it ready for kde 4.3 or kde 4.4
Comment 32 Lamarque V. Souza 2009-07-10 15:30:50 UTC
WLM protocol in Kopete 4.x does not implement video chat. I agree with you, this is essential feature for any IM program nowadays. When I have more time I am going to take a look at how video chat works and try to implement it in Kopete 4.3.x. I will do it for WLM protocol (I do not use Yahoo protocol). But do not wait for me, if anyone want to implement it go ahead.
Comment 33 francesco 2009-07-11 13:51:47 UTC
thank u Lamarque, i'm a programmer and i would like to help but i'm not so good with c and c++ and i don't know where too start from (yeah maybe from svn :P)
Comment 34 diego 2009-07-15 15:27:41 UTC
I know I used yahoo webcam functionality with a kde 3 kopete, I'm right now digging out my old pc to try it again.

else for those of you who want to implement this functionality, amsn has a working implementation for windows life and gyachi has a working implementation for yahoo so probably spying there would help :)
Comment 35 diego 2009-07-15 16:55:48 UTC
ok i was able to verify it.

right now im having a working webcam connection between kpete 0.12.5 (KDE 3.5.7 mandriva 2008.0) as the sender and YM 9 on win XP as the receiving part.

so this must be a regression at least sort of...
Comment 36 Karen Durinyan 2009-07-15 17:46:01 UTC
i remember very clearly it was working in KDE 3.5 (have used webcam many times from kopete on fedora linux to YM on windows)
if there is a change in protocol by yahoo then it should affect the test done by diego also. in fact it is not. it seems something is broken in code of kde4.
Comment 37 Sam Albuquerque 2009-07-15 17:55:03 UTC
If Diego's tests are to be considered, I hope some developer should checkout the sources for both the versions and diff them to see what's broken and release a patch for the latest build.
Comment 38 francesco 2009-07-15 18:01:01 UTC
... so  i think i could be a change made in some lib that kopete uses.
and it is a regretion on the implementation, this is not good , but it is easy bug to be corrected ...
... if some kopete developer  read that discussion maybe he could fix it in a few time 

... i hope this bug report would be usefull for coders and users.
Comment 39 Lamarque V. Souza 2009-07-15 18:14:42 UTC
@francesco, I first need to understand video chat protocol, probably I will use
Kopete 3.5 as base to understand how it works. Kopete 4.x uses libmsn so most
of what Kopete 3.5 does must be re-implemented in libmsn instead of Kopete 4.x.
I have implemented mail notification and open Hotmail inbox for WLM protocol,
which also needs changes to libmsn. I am talking to libmsn's maintainer and
Kopete developers trying to convince them to add this feature in KDE 4.3 (mabye
4.3.1) but most of them think it must go to KDE 4.4, which will only be
released next year. The implementation works, the problems are that it breaks
binary compatibility in libmsn, adds some strings to Kopete (something the
translation team really does not like) and at least for now the open inbox
always fires Konqueror instead of the user's browser of choice (use both
Firefox and Konqueror, but Konqueror does not work in several important sites
for me).

@diego, I use aMSN for video chat, I also had to implement IO stream in my
webcam's driver to make it work with libv4l, kopete, mplayer and Skype, as far
as I know only Ekiga is able to use this webcam (Creative PC-CAM 880) without
this patch. That was three weeks time implementation (in March of this year).
Unfortunately the video4linux team have not added the changes to the kernel
tree even though I had done all they wanted. I sent two e-mails this month
asking why it was not included in 2.6.30, no answer so far :-( It is a bit
frustrating have all that work to make my webcam work and now I have to adapt
my patch every kernel release to use my webcam. I fear the same could happen
with libmsn and mail notification patches :-/ Let's see If I had better lucky
this time.
Comment 40 diego 2009-07-15 19:09:48 UTC
ok in the mean time i tried some more things...

like connections from kopete to kopete (all 3.x.x) and amsn to kopete both protocols worked mostly n both directions 
and i did this test today (yes 15th july 2009) so it cant be a change in servers...

@lamarque: i wish i was such a good programmer... im wondering how we can help getting kopete from kde 4 as good as kopete from kde 3 was... when i can help with testing drop me a line, i really want voice, video and filetransfer for yahoo, msn and also for jabber.

and there are not that many alternatives to a working kopete :)
Comment 41 Matt Rogers 2009-07-16 05:58:02 UTC
this bug is about yahoo, please let's keep it that way rather than making it a 'i can't send/view/recieve/whatever webcams'. If you have problems with msn and webcams, there's a separate bug for that, please use that bug to discuss msn problems.

That said, Lamarque, are you going to fix yahoo or msn?
Comment 42 diego 2009-07-16 13:37:01 UTC
hi matt

im primarily interested in yahoo, just during testing i tried msn as well :) so please disregard msn here, the only point i think both protocols come to relevance is that it seems to me like there has some functionality been forgotten while porting.
but in any case if there is some further testing required let me know how i can help
Comment 43 Lamarque V. Souza 2009-07-16 15:16:06 UTC
As I stated in comment #32 I am going to do it for WLM. My first comment was to inform people here that Kopete's WLM protocol does not implement video chat since someone here was trying to test it.
Comment 44 diego 2009-07-16 16:05:25 UTC
@lamarque: i just had a look at the other bugs, I guess for msn "Bug 195228: 	 webcam msn send receive" would be the one to use though there are plenty of webcam bugs but this one specifically addresses MSN
Comment 45 Lamarque V. Souza 2009-07-16 19:39:00 UTC
@diego, I am already following bug https://bugs.kde.org/show_bug.cgi?id=181176 , which is older and has more votes than bug 195228. 195228 must be marked as duplicate of 181176.
Comment 46 Thomas Sommer 2009-08-29 11:25:33 UTC
https://bugs.kde.org/show_bug.cgi?id=194087 seems to be a duplicate of this bug.

Same behavior with version 0.70.90 and KDE 4.3.0.

I tried to debug the option with kopete 0.70.90. When I press the "Invite to
view your Webcam" button following functions are called:

void WebcamTask::registerWebcam()
void WebcamTask::addPendingInvitation( const QString &userId )
void WebcamTask::parseWebcamInformation( YMSGTransfer *t )
void WebcamTask::slotRead()
void WebcamTask::connectStage2( KStreamSocket *socket ) {
    ...
    switch( (const char)data[2] ) 
    ...
    socketMap.remove( socket );
    delete socket;
}

connectStage2 is passed without entering any of the defined cases 0x04, 0x07 or
0x06.
Comment 47 Thomas Sommer 2009-08-30 02:00:51 UTC
The webcam still works with version 0.12.7 and KDE 3.5.10
Comment 48 Hans-J. Ullrich 2009-10-16 23:32:32 UTC
Just a reminder:

This bug is still active in kopete version 0.80.2 at KDE4.3.2 (latest).

Hans-J. Ullrich
Comment 49 Hans-J. Ullrich 2009-10-16 23:39:19 UTC
*** Bug 194087 has been marked as a duplicate of this bug. ***
Comment 50 Michael Cole 2009-12-14 13:00:15 UTC
Yep confirmed by me i now have mine working will update here with the code changes I made..
Comment 51 Matt Rogers 2010-01-14 05:19:13 UTC
I pushed the fixes from Michael Cole for this issue to subversion. Should be in Kopete 1.0. Thanks for the fixes Michael!