BelledonneCommunications / linphone-android

Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
https://linphone.org
GNU General Public License v3.0
1.1k stars 672 forks source link

Where is the definition of this method? #461

Closed wangpeng1 closed 5 years ago

wangpeng1 commented 5 years ago

Hello,when i parsed the sdp appear mistake: session_description parser error for [v=0

01-30 17:24:53.984 9607 9607 E GB28181 : o=34020000002000000001 0 0 IN IP4 192.168.1.100

01-30 17:24:53.984 9607 9607 E GB28181 : s=Play

01-30 17:24:53.984 9607 9607 E GB28181 : c=IN IP4 192.168.1.100

01-30 17:24:53.984 9607 9607 E GB28181 : t=0 0

01-30 17:24:53.984 9607 9607 E GB28181 : m=video 50003 RTP/AVP 96

01-30 17:24:53.984 9607 9607 E GB28181 : a=recvonly

01-30 17:24:53.984 9607 9607 E GB28181 : a=rtpmap:96 PS/90000

01-30 17:24:53.984 9607 9607 E GB28181 : y=0100001001

01-30 17:24:53.984 9607 9607 E GB28181 : f=

01-30 17:24:53.984 9607 9607 E GB28181 : ] 01-30 17:24:53.984 9607 9607 E GB28181 : Failed to parse SDP message.

but i cannot find the method :belle_sdp_session_description_parse, where is it?

Viish commented 5 years ago

It's in https://github.com/BelledonneCommunications/belle-sip

wangpeng1 commented 5 years ago

@Viish ,i have download the code on the https://github.com/BelledonneCommunications/belle-sip ,but also not found the method belle_sdp_session_description_parse, i only find to use it,but not found the definition

Viish commented 5 years ago

belle-sip/include/belle-sip/belle-sdp.h:368