CanGolden / spydroid-ipcamera

Automatically exported from code.google.com/p/spydroid-ipcamera
GNU General Public License v3.0
0 stars 0 forks source link

H.264 stream problem #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

  1. Set encode as H.264 and the client is vlc 2.0.6

What is the expected output? What do you see instead?

  H.264 video stream is expected. Client can receive nothing.

What version of the product are you using? On what operating system?

 Spydroid 8.0 on android 2.3.3 of HTC G7(Desire)
Please provide any additional information below.

 H.263 video stream is OK.But H.264 never works from spydroid 1.0 to 8.0 on HTC G7

Original issue reported on code.google.com by famines...@gmail.com on 26 Apr 2013 at 2:59

Attachments:

GoogleCodeExporter commented 9 years ago
Error is reported at private MP4Config testH264():
String[] s = 
mSettings.getString(mQuality.framerate+","+mQuality.resX+","+mQuality.resY, 
"").split(",");
return new MP4Config(s[0],s[1],s[2]);

So I modified the code into:
return new 
MP4Config(Integer.toString(mQuality.framerate),Integer.toString(mQuality.resX),I
nteger.toString(mQuality.resY));

And the error has been corrected,but only audio is normal ,and H.264 video 
can't be displayed. New logs are attached below

Original comment by famines...@gmail.com on 26 Apr 2013 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago
Hi !
Pull the latest version of the source code, I'm pretty sure I fixed that issue: 
https://code.google.com/p/spydroid-ipcamera/source/diff?spec=svn66addd77e0a17273
2b16380972f4b3118e1e1177&r=66addd77e0a172732b16380972f4b3118e1e1177&format=side&
path=/src/net/majorkernelpanic/streaming/video/H264Stream.java

Original comment by FyHertz on 26 Apr 2013 at 11:39

GoogleCodeExporter commented 9 years ago
Sorry,my code may be not the newest, I have refreshed the code. But video still 
is a problem.I will be appreciated if you can help me find the reason.

Original comment by famines...@gmail.com on 27 Apr 2013 at 4:18

Attachments:

GoogleCodeExporter commented 9 years ago
I have just test sumang galaxy. H.264 video works but H.263 didn't.

Original comment by famines...@gmail.com on 27 Apr 2013 at 9:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What if you only stream H.263 with no audio track ? Does it work ?
And what do you mean it does not work with H.263 ? Could you be more precise ?

Original comment by FyHertz on 27 Apr 2013 at 8:04

GoogleCodeExporter commented 9 years ago
Sorry I borrow galaxy from my friend. I have no enough time to test. I meant 
can't see h.263 video.

Original comment by famines...@gmail.com on 28 Apr 2013 at 12:38

GoogleCodeExporter commented 9 years ago
Here is protocol procedure captured by wireshark when using HTC G7.

Original comment by famines...@gmail.com on 28 Apr 2013 at 1:15

Attachments: