paulhsu / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Video Not displayed when playing from RTP Dump with call.exe #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build the standard libjingle call.exe
2. call.exe --videoinput ./test.rtpdump --voiceinput ./voice.rtpdump
3. Use Mozilla/IE to aceept the video call from xyz...@gmail.com (any gmail 
from roster :))

What is the expected output? What do you see instead?
The video should be played. but what I see is the Default profile photo.

What version of the product are you using? On what operating system?
0.5.1 and 0.6.6 Windows Xp OS

Please provide any additional information below.
Have attached the rtpdump. This dump is created using the recommedned RTPDump 
Tool (http://www.cs.columbia.edu/irt/software/rtptools/)
Its a H264 AVC Video.

Original issue reported on code.google.com by kvodivya...@gmail.com on 20 Jan 2012 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
Tested with libjingle 0.6.10. on Windows7. It works fine. If your issue 
persists, please attach the pcap captured from the side where you don't see the 
video.

BTW, you may also want to check if you have the flash player installed 
correctly. Re-install if needed.

Original comment by jun...@google.com on 10 Feb 2012 at 12:02

GoogleCodeExporter commented 9 years ago
Issue 283 has been merged into this issue.

Original comment by jun...@google.com on 10 Feb 2012 at 12:03

GoogleCodeExporter commented 9 years ago
The issue still persists.I tried reinstalling the adobe flash player and 
running the libjingle in win7 OS.Eventhough the video didnt get displayed.so I 
have attached the pcap file using the test1.rtpdump.
can u also please tell whether any logs will be generated if video is not 
rendered at browser end? Is there any way to check out that?

Original comment by kvodivya...@gmail.com on 11 Feb 2012 at 6:16

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, the log will be generated too. You can find the log file under:
User\<your user name>\appdata\local\google\google talk plugin

Original comment by jun...@google.com on 11 Feb 2012 at 6:30

GoogleCodeExporter commented 9 years ago
yes thanks. logs are getting generated. i am verifying the logs generated while 
video call with test dump files. 
can u tell about the pcap files which i attached? why the video from test dump 
files are not getting displayed? 

Original comment by kvodivya...@gmail.com on 12 Feb 2012 at 2:24

GoogleCodeExporter commented 9 years ago
The PCAP file indicates that there is no video stream sending to the Gmail 
client. The xmpp stanza log at the "call.exe" side will help you to find out 
why the video stream is not sending to the Gmail side.

Original comment by jun...@google.com on 13 Feb 2012 at 6:50

GoogleCodeExporter commented 9 years ago
i tried getting the xmpp stanzas logs on the exe side while placing video call 
from xxx@gmail.com (from exe) to yyy@gmail.com (in browser).
i got the logs for both the video.rtpdump((i.e)sample in testdata)and 
test1.rtpdump(created by me).By comparing both the logs i can not able to 
interpret whether video data is sent or not.can u please find out the place 
where it is going wrong? i have attached the xmpp stanzas logs for both the 
dump files.
BTW, i got the gtalkplugin logs on the browser side, while placing video call 
using both the dump files. while comparing both the files,i found that in the 
logs of test1.rtpdump the renderer is not set to the desired resolution.i am 
not sure whether this may be the error and dont know which cause the error. can 
u please check out this also? i have attached the gtalkplugin logs for both the 
dump files.

Original comment by kvodivya...@gmail.com on 15 Feb 2012 at 3:26

Attachments:

GoogleCodeExporter commented 9 years ago
The problem is that during the session initiate, the H264-SVC (type=99) has 
been set as the video codec:
 <rtp:description media="video" ssrc="1853449683" xmlns:rtp="urn:xmpp:jingle:apps:rtp:1">
           <rtp:payload-type id="99" name="H264-SVC">
             <rtp:parameter name="width" value="320"/>
             <rtp:parameter name="height" value="200"/>

however, the rtpdump file is a H264 (type=97). This is why it won't work. Can 
you try  to use h264-svc-99-640x360.rtpdump?

Original comment by jun...@google.com on 15 Feb 2012 at 6:56

GoogleCodeExporter commented 9 years ago
Thanks for the reply.Actually the video samples in testdata folder 
(video.rtpdump and h264-svc-99-640x360.rtpdump) are working for me(i.e)video is 
getting displayed. when i use the rtpdumps which i created 
(test1.rtpdump,test2.rtpdump,test3.rtpdump), the video is not getting 
displayed. 
BTW, i tried videopushback of H264 (type=97) alone. With that also both the 
sample files(video.rtpdump,h264-svc-99-640x360.rtpdump) are working.But only 
the rtpdump files which i created(test1.rtpdump,test2.rtpdump,test3.rtpdump) is 
not working.
NOTE:i tried placing video call from exe to browser only.(i need to send video 
data to browser alone,no need to receive.

Original comment by kvodivya...@gmail.com on 16 Feb 2012 at 6:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Does Google Video Voice Plugin saves logs on Linux (Ubuntu) too? If so, where? 
Thanks

Original comment by diego.cd...@gmail.com on 16 Feb 2012 at 10:49

GoogleCodeExporter commented 9 years ago
How did you create your rtpdump files? Are those files encrypted?
The plug-in log on Linux can be found at:
~/.config/google-googletalkplugin

Original comment by jun...@google.com on 16 Feb 2012 at 3:44

GoogleCodeExporter commented 9 years ago
I used a sample H264 AVC video and streamed it as a "RTP stream".And using the 
recommended rtptools by 
libjingle(http://www.cs.columbia.edu/irt/software/rtptools/), the rtpdump was 
created. 
This video is not encrypted and can be played by any media players.

Original comment by kvodivya...@gmail.com on 16 Feb 2012 at 4:27

GoogleCodeExporter commented 9 years ago
Any update on this? Thanks.

Original comment by kvodivya...@gmail.com on 18 Feb 2012 at 5:54

GoogleCodeExporter commented 9 years ago
Sorry, since the rtpdump files that released with Libjingle work fine. It's 
most likely something wrong with your domp file. It's a lower priority for us. 
I can look into it when I get a chance.
If you have time, please verify if your rtpdump file has the I-frame.

Original comment by jun...@google.com on 18 Feb 2012 at 6:56

GoogleCodeExporter commented 9 years ago
Thanks.it is not neccessary for me to create rtpdump file. i just need to send 
H264 video data. i tried sending the H264 video data using the SendPacket 
function in filemediaengine.cc. The video was not displayed.
i tried adding the rtp header with the H264 data too. Eventhough the video was 
not displayed. what is the correct format for creating the rtp packet? and can 
u please tell how the rtpdump of the samples in libjingle are created?

Original comment by kvodivya...@gmail.com on 18 Feb 2012 at 3:30

GoogleCodeExporter commented 9 years ago
Hi. i tried creating the rtpdump by streaming using vlc and rtpdump.exe in 
rtptools. 
video is not rendered. In the gtalk plugin logs, i am getting as 
"LmiH264payload:Unsupported NAL unit Type 0".
Is this the problem with the packetisation mode or payload type?
can u please tell the correct way for creating dump? so that it will be useful 
for me.

Original comment by kvodivya...@gmail.com on 23 Feb 2012 at 7:15

GoogleCodeExporter commented 9 years ago
Most likely your rtpdump file is encrypted. I'm not aware of any way that you 
can create a non-encrypted rtpdump file.

Original comment by jun...@google.com on 23 Feb 2012 at 6:32

GoogleCodeExporter commented 9 years ago
Thanks for the reply. i dont know how u mean the file as encrypted. because i 
have not given any encryption options in vlc while streaming.
BTW, if u tell the way in which the sample (video.rtpdump) was created means i 
can try that way to create the dump? which tool was used to stream the H264 AVC 
video as rtp stream? if so, what  are the options used while streaming? can u 
please explain that?

Original comment by kvodivya...@gmail.com on 24 Feb 2012 at 6:53

GoogleCodeExporter commented 9 years ago
The rtpdump shipped with libjingle was created using an internal tool, which is 
not available for the public.
I will find a time to look into this later.

Original comment by jun...@google.com on 3 Mar 2012 at 3:31

GoogleCodeExporter commented 9 years ago
Thanks.Hope to get updates from you. :)

Original comment by kvodivya...@gmail.com on 3 Mar 2012 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 26 Mar 2012 at 6:38

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 26 Mar 2012 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 31 May 2013 at 8:40