DoubangoTelecom / imsdroid

High Quality Video SIP/IMS client for Google Android
https://doubango.org
Other
296 stars 169 forks source link

Can't create h264 Producer #588

Closed yage99 closed 8 years ago

yage99 commented 8 years ago

Recently my imsdroid project (main branch version) can't create h264 producer when create sip call. The configuration is: Android Studio 2.1.3 Java 1.8.0_101 Gradle 2.14.1 Android plugin 2.1.3

When I set video codec to h.264(MP or BP) and make a video call, there is error message like: 08-23 23:43:47.669 29928-6674/org.doubango.imsdroid E/tinyWRAP: ***[DOUBANGO ERROR]: function: "tdav_codec_h264_common_sdp_att_match()" file: "include/tinydav/codecs/h264/tdav_codec_h264_common.h" line: "298" MSG: Not valid profile-level: redundant-pic-cap=0;parameter-add=0;packetization-mode=0;level-asymmetry-allowed=0

I can make video using h.264 codec successfully not long before. I noticed I have upgrade my system jdk version from 1.7 to 1.8. android plugin is upgraded to 2.1.3 from 2.1.2. But downgrade these software can't emit the error. Now I can only use h263+ codec for video call which apparently has low quality. I hope someone can figure out where the problem is. Thanks.

yage99 commented 8 years ago

Sorry, this problem is caused by asterisk misconfiguration. The invite is a audio session but asterisk send some video session info.