On Friday, January 27, 2017 at 3:27:15 PM UTC+1, [email protected] wrote: > Hi, > > I've been struggling with using WebRTC together with Janus. > > I have an h264 camera that I can't alter the configuration for. > > The profile-level-id seems to be 420029, which means: > profile is baseline (42 hex = 66 dec = baseline) > constraints 0 > level-idc is 4.1 > > ICE never completes because I suspect FF just barfs on this for some reason, > and I couldn't, no matter how much debug I enabled, find where or why > specifically. > > Chrome works perfectly, but not before offering back profile-id 42e01f (which > the main difference is level-idc is 3.1 instead of 4.1). > > When I re-encoded the content using FFMPEG using an intermediate device, > setting exactly 42e01f then FF finished ICE and played the video (although > this is not a valid solution for my purposes) > > Ideally I want to understand why FF (openh264) can't play 420029, since it > should be baseline, and if there is a fix. > > One more important note: if I took a small clip of the stream to a .mp4 file > (no transcoding), and embed that in HTML5 video tag, FF plays it perfectly. > So the codec SHOULD work as is, but not it doesn't when it's coming over > webrtc. > > Very annoying!
Hi all, I managed to "fix" this by rewriting the profile-level-id from 42009 to 42e01f before handing the SDP to FF. I agree it is a hack, but as FF clearly works with this, then why don't you allow 42009? Much more detail on the Janus google group: https://groups.google.com/forum/#!topic/meetecho-janus/jKg5u9421kM _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

