Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should i get the ssrc when generate offer/answer SDP ? #71

Open
yingzhuo1314 opened this issue May 19, 2016 · 1 comment
Open

How should i get the ssrc when generate offer/answer SDP ? #71

yingzhuo1314 opened this issue May 19, 2016 · 1 comment

Comments

@yingzhuo1314
Copy link

Hello,
I faced a problem when using openwebrtc-ios-sdk.The follow is offer SDP I fetched ,it doesn't include ssrc .How should i get the ssrc ?? Anyone can help me ? urgent...

Thanks very much.

{
sdp = "v=0
\no=- 1463041769747409200 1 IN IP4 127.0.0.1
\ns=-
\nt=0 0
\nm=video 9 UDP/TLS/RTP/SAVPF 103 100 120
\nc=IN IP4 0.0.0.0
\na=rtcp-mux
\na=sendrecv
\na=rtpmap:103 H264/90000
\na=rtpmap:100 VP8/90000
\na=rtpmap:120 RTX/90000
\na=fmtp:103 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f
\na=fmtp:120 apt=100;rtx-time=200
\na=rtcp-fb:100 nack
\na=rtcp-fb:103 nack pli
\na=rtcp-fb:100 nack pli
\na=rtcp-fb:103 ccm fir
\na=rtcp-fb:100 ccm fir
\na=ice-ufrag:RGMq
\na=ice-pwd:0E/NcMGGgEEFcMFA3KODII
\na=candidate:1 1 UDP 2013266431 192.168.4.133 61743 typ host
\na=candidate:2 1 TCP 1019216383 192.168.4.133 0 typ host tcptype active
\na=candidate:3 1 TCP 1015022079 192.168.4.133 54754 typ host tcptype passive
\na=candidate:4 1 UDP 2013266431 10.239.56.194 55953 typ host
\na=candidate:5 1 TCP 1019216383 10.239.56.194 0 typ host tcptype active
\na=candidate:6 1 TCP 1015022079 10.239.56.194 54755 typ host tcptype passive
\na=fingerprint:sha-256 96:23:BA:A7:70:F3:81:43:97:BE:3E:E8:6D:9F:78:A0:4E:18:F5:40:3A:D2:9A:3C:DB:6B:19:86:0D:B5:B4:B2
\na=setup:actpass
\nm=audio 9 UDP/TLS/RTP/SAVPF 111 8 0
\nc=IN IP4 0.0.0.0
\na=rtcp-mux
\na=sendrecv
\na=rtpmap:111 OPUS/48000/2
\na=rtpmap:8 PCMA/8000
\na=rtpmap:0 PCMU/8000
\na=ice-ufrag:MH/H
\na=ice-pwd:cPI3jP0rSAjY7WI8vdhFFU
\na=candidate:7 1 UDP 2013266431 192.168.4.133 50360 typ host
\na=candidate:8 1 TCP 1019216383 192.168.4.133 0 typ host tcptype active
\na=candidate:9 1 TCP 1015022079 192.168.4.133 54756 typ host tcptype passive
\na=candidate:10 1 UDP 2013266431 10.239.56.194 56787 typ host
\na=candidate:11 1 TCP 1019216383 10.239.56.194 0 typ host tcptype active
\na=candidate:12 1 TCP 1015022079 10.239.56.194 54757 typ host tcptype passive
\na=fingerprint:sha-256 96:23:BA:A7:70:F3:81:43:97:BE:3E:E8:6D:9F:78:A0:4E:18:F5:40:3A:D2:9A:3C:DB:6B:19:86:0D:B5:B4:B2
\na=setup:actpass
\n";
type = offer;
}

@yingzhuo1314
Copy link
Author

By g_object_get(media_session, "ssrc",&"media_ssrc", nil);, i get the ssrc number ,but i recieved a warning -"(:638): GLib-GObject-WARNING **: g_object_get_valist: object class 'OwrMediaSession' has no property named 'ssrc' "-and the offer SDP i fetched is still not include ssrc.
What should i do ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant