Sunday, February 23, 2014

cif problem android VideoView playback of h264 format rtsp


In VideoView, use
private VideoView vv;
vv = (VideoView) findViewById (R.id.videoView);
String strURL = "rtsp :/ / 192.168.1.1:554 ......";
vv.setVideoURI (Uri.parse (strURL));
vv.requestFocus ();
vv.start ();
Play 720P stream is no problem. Few seconds to a few seconds will not jump clatter. But playing cif appears two problems.
1: buffer time will take longer than the 720P.
2: Play a few seconds there will be a few seconds to play phenomena, such as playing now is 13:10:25. Will still continue playing after 4 seconds 13:10:29, and then rest for a few seconds, and then continue playing. Because UDP transport is used, so it feels like packet loss.


Does anyone know how this is going Mody, android version of the test using a quad-core tablet Taipower 4.1.1, and 4.1.2 Samsung quad-core note8.0

Do not say with android version is about, I just play the way, does not conflict with the bottom all the way to decode. Great God seeking to explain

<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Try replacing tcp
Reply:
cited a floor yinuo_momo reply:
replaced tcp try


Communication mode of the device is fixed at the factory, and TCP does not apply to real-time video, latency is too high, if it is a callback video, it touches you can use the TCP protocol.
Reply:
reference to the second floor q343524926 reply:
Quote: references to a floor yinuo_momo reply:

Try replacing tcp


Communication mode of the device is fixed at the factory, and TCP does not apply to real-time video, latency is too high, if it is a callback video, it touches you can use the TCP protocol.


Here you can explore the technical director to ask you how to solve this problem
Reply:
reference to the third floor yinuo_momo reply:
Quote: references to the second floor q343524926 reply:

Quote: 1st Floor reply yinuo_momo of references:

Try replacing tcp


Communication mode of the device is fixed at the factory, and TCP does not apply to real-time video, latency is too high, if it is a callback video, it touches you can use the TCP protocol.


Here you can explore the technical director to ask you how to solve this problem


Ask your sister. . . Do not make good work. . . Chaos back to my post.
Reply:
reference to the third floor yinuo_momo reply:
Quote: references to the second floor q343524926 reply:

Quote: 1st Floor reply yinuo_momo of references:

Try replacing tcp


Communication mode of the device is fixed at the factory, and TCP does not apply to real-time video, latency is too high, if it is a callback video, it touches you can use the TCP protocol.


Here you can explore the technical director to ask you how to solve this problem


I think so speed who saw my post up. Carefully I told General von snitch. You let him re-education education
Reply:


The problem has been resolved.
Reply:
reference to the 6th floor q343524926 reply:


The problem has been resolved.
how to solve ?

No comments:

Post a Comment