looneyapurv / libjingle

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

RTPSenderVideo::SendVideoPacket crash when the video's resolution and bit-rates are high #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Force the out VideoFrame's resolution to 1440x900 in 
WebRtcVideoEngine::CanSendCodec()
2. Execute the peerconnection_client
3. Start a video session with other peers

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

  invalid pointer error when execute the _mediaPacketListFec.pop_front();

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

  1. Version: 
     trunk/PeerConnection with revision 1885 
  2. Platform:
     Ubuntu 11.10 on x86_64

Please provide any additional information below.
 1. I tried to implement a remote desktop function by WebRTC. I captured   the  frame from 1440x900 screen.I encode the frame without downscale size, and I also force the bit-rates to 512 KBs. It will cause the WebRTC crash easily.

 2. If I worked around to the code, add the protection to the _mediaPacketListFec.pop_front(); in RTPSenderVideo::SendVideoPacket(), like: 

 if(!_mediaPacketListFec.empty()){
   _mediaPacketListFec.pop_front();
 }

 It works now!!

3.
   3.1 Please find how I work around to this issue from attached file: rtp_sender_video.cc 
   3.2 Please find how I force the resolution from attached file: webrtcvideoengine.cc
   3.3 Please find the stack trace from the attached file: stack_trace.txt.

Original issue reported on code.google.com by jiahan...@gmail.com on 14 Mar 2012 at 4:36

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I found that the issue had been resolved in 1673 revision.

Please close this issue, thanks

Original comment by jiahan...@gmail.com on 16 Mar 2012 at 3:52

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 24 Apr 2012 at 3:30