I have been using WebRTC-trial since it first came out last October, I am using it for a video chat application running on Chrome, using Publish/Play demo code. The code was working well last month.
Recently I have encountered the problem that sometimes audio does not play on side of the chat (although video frames still show up). It started happneindg when I was using Wowza 4.6.0.3, and still happens even after I have upgraded to 4.7.0. I am also using the latest Publish/Play demo code (with support for video framerate), using websocket (wss://) connection.
My test setup uses two MacBook laptops side-by-side as clients, running Chrome 57 and 58.
After further investigation, I discover that sometimes the SDP package that the Play code receives from the server might not contain audio BUNDLE (e.g.: a=group:BUNDLE video). Only when the SDP package contains both video and audio then I can hear the audio from the other side (i.e. a=group:BUNDLE video audio). This happens somewhat randomly, as I can start Publish the video on one side, then start Play on the other side, then sometimes the SDP returned from the server for the Play side contains audio BUNDLE, sometimes it does not, even on the same Publish stream.
Right now the work-around I am using is to keep retrying Play until I receive a SDP with audio bundle, otherwise I will just disconnect and reset the connection. It works, but I guess this should be resolved on the server side, why do I not always receive BUNDLE audio+video?
Example of the returned SDP that does not contain audio bundle:
“type”:“offer”,“sdp”:"v=0
o=WowzaStreamingEngine-next 881639558 2 IN IP4 127.0.0.1
s=-
t=0 0
a=fingerprint:sha-256 10:4A:D1:05:E3:9F:18:9E:82:A4:AF:46:8C:2C:57:4F:8D:CC:94:F1:B1:57:9F:44:31:F0:18:DE:BD:94:63:BF
a=group:BUNDLE video
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 9 RTP/SAVPF 97
a=rtpmap:97 VP8/90000
a=framesize:97 640-480
a=control:trackID=1
c=IN IP4 0.0.0.0
a=sendrecv
a=ice-pwd:25612477f44890c3ea8ef6d869863c7d
a=ice-ufrag:29f30a8a
a=mid:video
a=msid:{c804aeb0-63c6-4f13-9b7f-bf057c06b0d9} {99aca8f9-89ff-45ef-9819-1403fe6c6bea}
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-mux
a=setup:actpass
a=ssrc:1265994212 cname:{60bd5c79-3da5-449a-a2a0-0c2172e8aae3}