" If a stream is offered as sendonly, the corresponding stream MUST be marked as recvonly or inactive in the answer. If a media stream is listed as recvonly in the offer, the answer MUST be marked as sendonly or inactive in the answer. If an offered media stream is listed as sendrecv (or if there is no direction attribute at the media or session level, in which case the stream is sendrecv by default), the corresponding stream in the answer MAY be marked as sendonly, recvonly, sendrecv, or inactive. If an offered media stream is listed as inactive, it MUST be marked as inactive in the answer."
I think issue 1553 relates to what you observing.
/Vikas
v=0^M
o=- 495832659917377818 2 IN IP4 127.0.0.1^M
s=-^M
t=0 0^M
a=group:BUNDLE audio video^M
a=msid-semantic: WMS 0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJB^M
m=audio 1 RTP/SAVPF 111 103 104 0 8 107 106 105 13 126^M
c=IN IP4 0.0.0.0^M
a=rtcp:1 IN IP4 0.0.0.0^M
a=ice-ufrag:C3O74GrNsgeoTmru^M
a=ice-pwd:UpoiV2Wg1CC8RABe838STKIT^M
a=ice-options:google-ice^M
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level^M
a=sendrecv^M
a=mid:audio^M
a=rtcp-mux^M
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RamCEzFaBkcvYIKCN9zT8++V03L3OzUCpcmAxp/t^M
a=rtpmap:111 opus/48000/2^M
a=fmtp:111 minptime=10^M
a=rtpmap:103 ISAC/16000^M
a=rtpmap:104 ISAC/32000^M
a=rtpmap:0 PCMU/8000^M
a=rtpmap:8 PCMA/8000^M
a=rtpmap:107 CN/48000^M
a=rtpmap:106 CN/32000^M
a=rtpmap:105 CN/16000^M
a=rtpmap:13 CN/8000^M
a=rtpmap:126 telephone-event/8000^M
a=maxptime:60^M
a=ssrc:2746454444 cname:8X8HrG/y3RaBRoi+^M
a=ssrc:2746454444 msid:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJB 0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJBa0^M
a=ssrc:2746454444 mslabel:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJB^M
a=ssrc:2746454444 label:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJBa0^M
m=video 1 RTP/SAVPF 100 116 117^M
c=IN IP4 0.0.0.0^M
a=rtcp:1 IN IP4 0.0.0.0^M
a=ice-ufrag:C3O74GrNsgeoTmru^M
a=ice-pwd:UpoiV2Wg1CC8RABe838STKIT^M
a=ice-options:google-ice^M
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset^M
a=sendrecv^M
a=mid:video^M
a=rtcp-mux^M
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:RamCEzFaBkcvYIKCN9zT8++V03L3OzUCpcmAxp/t^M
a=rtpmap:100 VP8/90000^M
a=rtcp-fb:100 ccm fir^M
a=rtcp-fb:100 nack ^M
a=rtcp-fb:100 goog-remb ^M
a=rtpmap:116 red/90000^M
a=rtpmap:117 ulpfec/90000^M
a=ssrc:107552631 cname:8X8HrG/y3RaBRoi+^M
a=ssrc:107552631 msid:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJB 0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJBv0^M
a=ssrc:107552631 mslabel:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJB^M
a=ssrc:107552631 label:0w5lVdODRA5bVSLP6W1JQfBUmpngg8MBtyJBv0^M
v=0^M
o=- 7375935203262638079 2 IN IP4 127.0.0.1^M
s=-^M
t=0 0^M
a=group:BUNDLE audio video^M
a=msid-semantic: WMS 3AEbXqa32cOgQqZ99cHDfhjtbg11ynstItwl^M
m=audio 1 RTP/SAVPF 0 8^M
c=IN IP4 0.0.0.0^M
a=rtcp:1 IN IP4 0.0.0.0^M
a=ice-ufrag:ZkRpHk4YLYWj54CF^M
a=ice-pwd:inW6yvD6Xu9NG2LXoh32uJWk^M
a=sendrecv^M
a=mid:audio^M
a=rtcp-mux^M
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:CuBLWak/DgDu70AElXESfgPB1MWsGPQ6VIZpAK3R^M
a=rtpmap:0 PCMU/8000^M
a=rtpmap:8 PCMA/8000^M
a=ssrc:1579289828 cname:mCTjiLz0U2f+F9VY^M
a=ssrc:1579289828 msid:3AEbXqa32cOgQqZ99cHDfhjtbg11ynstItwl 3AEbXqa32cOgQqZ99cHDfhjtbg11ynstItwla0^M
a=ssrc:1579289828 mslabel:3AEbXqa32cOgQqZ99cHDfhjtbg11ynstItwl^M
a=ssrc:1579289828 label:3AEbXqa32cOgQqZ99cHDfhjtbg11ynstItwla0^M
m=video 1 RTP/SAVPF 100^M
c=IN IP4 0.0.0.0^M
a=rtcp:1 IN IP4 0.0.0.0^M
a=ice-ufrag:ZkRpHk4YLYWj54CF^M
a=ice-pwd:inW6yvD6Xu9NG2LXoh32uJWk^M
a=recvonly^M
a=mid:video^M
a=rtcp-mux^M
a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:CuBLWak/DgDu70AElXESfgPB1MWsGPQ6VIZpAK3R^M
a=rtpmap:100 VP8/90000^M
session.getRemoteStreams()[0].removeTrack(session.getRemoteStreams()[0].getVideoTracks()[0]); //this causes chrome to crash
...
//attach to html video element
});
Adding this one line of code (currently hard coded before attaching to the html video element) allows a call that was sent out as audio/video and answered as audio-only 2-way audio. Without the line there is only 1-way audio. This does not appear to be an issue in Firefox or JsSip. Adding this line of code that removes the video track, causes chrome to crash when the call is ended. I have attached a picture of my crash. I am using Chrome Version 28.0.1500.71 on OS X 10.8.4. All latest updates. I have not tried to recreate this in Canary yet.
--
---
You received this message because you are subscribed to a topic in the Google Groups "discuss-webrtc" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/discuss-webrtc/PG92vqeY1qQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Vikas, is there any update on the original issue?
BTW, the issue gugaiz was having seems different, where video was missing on one side (I'm not sure, however, why the behavior was different in this case). The original issue was that in a similar asymmetric video call, the "problem" side with both audio and video in local media stream, which received only audio, did not play the audio (as if it was waiting for the first video frame). I tested this a few days ago with the stable Chrome version 33.0.1750.154 m, as well as the Canary version 36.0.1929.0, and the problem was still there, regardless of the fact which side made the offer. The webrtc-internals stats graphs showed that audio was being received without any issues. Note that the SDP received by the "problem" side (in both offer and answer scenarios) had "a=recvonly" set for video m-line correctly.