iOS H264: Green frame

501 views
Skip to first unread message

Дмитрий Шевчук

unread,
Jul 27, 2016, 3:34:12 AM7/27/16
to discuss-webrtc
Hi. I have small problem with h264 codec. 13524 revision of libWebRTC and enabled use_objc_h264 flag. 
When using other codecs - video stream is working. 
iOS 9.3.3, 
iPhones: 5s & 6s+
libWebRTC Rev: 13524

If somebody knows about this please help.


Peter Boström

unread,
Jul 27, 2016, 12:47:09 PM7/27/16
to discuss-webrtc
This doesn't sound like a small problem.

Do you repro this on iOS AppRTCDemo with use_objc_h264 enabled? You can also file a bug here: bugs.webrtc.org

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/cd7c7413-be62-4bf6-9872-3b606785373b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Дмитрий Шевчук

unread,
Jul 28, 2016, 6:39:51 AM7/28/16
to discuss-webrtc
iOS AppRTCDemo work fine with h264.

I compile clear libWebRTC lib, and use it for my project. All work fine, but h264 does not work correct. 
With debug ver of the lib i have a crash:

#
# Fatal error in ../../webrtc/common_video/video_frame_buffer.cc, line 270
# last system error: 3
# Check failed: false
#  
#
(lldb)


With Release ver of lib - only green screen

среда, 27 июля 2016 г., 19:47:09 UTC+3 пользователь Peter Boström написал:

Peter Boström

unread,
Jul 28, 2016, 7:27:58 AM7/28/16
to discuss-webrtc

Can you post a stack trace of that debug crash?


Дмитрий Шевчук

unread,
Jul 28, 2016, 10:13:27 AM7/28/16
to discuss-webrtc
Yep, there are crash file & stack from xCode. App crash on the device accept call.



четверг, 28 июля 2016 г., 14:27:58 UTC+3 пользователь Peter Boström написал:
ChatXMPP.crash

Peter Boström

unread,
Jul 28, 2016, 12:37:12 PM7/28/16
to discuss...@googlegroups.com, mag...@webrtc.org
+magjed@

Looks like this path is trying to draw textures as if they were memory buffers. Magnus do you have any obvious input on this? Does RTCOpenGLVideoRenderer support textures?

mag...@webrtc.org

unread,
Jul 29, 2016, 5:17:16 AM7/29/16
to discuss-webrtc, mag...@webrtc.org, Zeke Chin
+tkchin@

No, RTCOpenGLVideoRenderer does not support textures yet. AppRTCDemo is working fine, so can you try to use the same files, i.e. webrtc/sdk/objc/Framework/Classes/RTCVideoFrame.mm and webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.mm instead of talk/app/webrtc/objc/RTCI420Frame.mm and talk/app/webrtc/objc/RTCOpenGLVideoRenderer.mm? I'm not sure if talk/app/webrtc/objc is supported anymore.

Дмитрий Шевчук

unread,
Jul 29, 2016, 7:31:39 AM7/29/16
to discuss-webrtc, mag...@webrtc.org, tkc...@webrtc.org
There is a simple way to create libWebRTC from webrtc/sdk/objc/Framework/  instead of lib, that is created from talk/app/webrtc/objc/ now? Or I can use in my project sources from webrtc/sdk/objc/Framework/ instead of libWebRTC?

пятница, 29 июля 2016 г., 12:17:16 UTC+3 пользователь mag...@webrtc.org написал:

Zeke Chin

unread,
Jul 29, 2016, 3:39:10 PM7/29/16
to Дмитрий Шевчук, discuss-webrtc, mag...@webrtc.org
webrtc/build/ios/build_ios_libs.sh
Reply all
Reply to author
Forward
0 new messages