ERR: Unsupported codec 'none' when using Videoroom plugin

888 views
Skip to first unread message

bugwheels94

unread,
May 2, 2018, 3:09:35 AM5/2/18
to meetecho-janus
I am using videoroom plugin and when creating room. My RTCPeerConnection object often sends only either video stream or audio stream and I am not sure if that might be the case.

I send the configure request accordingly. My request to add RTCPeerConnection for only video looks like

{"body":{"request":"configure","audio":false,"video":true},"handle_id":6827022753202221,"janus":"message","jsep":offer,"session_id":4288389928036787,"transaction":"HJNFNzJvaM"}}

My Offer: http://jsbin.com/reyuxir/2/edit?html,output

The answer: http://jsbin.com/reyuxir/1/edit?html,output

And I get this error in Janus logs:

[ERR] [sdp-utils.c:janus_sdp_get_codec_rtpmap:718] Unsupported codec 'none'


May you please tell me some hint about the issue?

Regards

bugwheels94

unread,
May 2, 2018, 3:11:44 AM5/2/18
to meetecho-janus
My request to create room if that matters:

        body: {
            request: "create",
            publishers: 100,
            bitrate: 10240000,
            videocodec: 'vp8',
            audiocodec: 'opus',

Chad Phillips

unread,
Nov 29, 2018, 2:36:39 AM11/29/18
to meetecho-janus
I'm seeing the same error after upgrading to 0.5.0

I'm publishing my video-only stream like so:

        const configure = {

         
"request": "configure",
         
"audio": false,
         
"video": true,

       
};
        publisher
.handle.send({
         
"message": configure,
         
"jsep": jsep,
       
});

Everything seems to set up OK, so it's unclear to me what's throwing this spurious error.

I tried digging through sdp-utils.c to understand the logic that throws it, but wasn't able to make sense of it.

Mirko Brankovic

unread,
Nov 30, 2018, 4:24:33 PM11/30/18
to meetech...@googlegroups.com
Hey Chad,
I have also seen this error, but wasn't braking anything so left it alone ;)
I guess it is the audio: false that triggers it, actually the missing codec desc in m=audio, which should be missing anyway

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chad Phillips

unread,
Nov 30, 2018, 4:31:52 PM11/30/18
to meetecho-janus
Mirko,

I suspected as much. Seems that the videoroom plugin should be skipping that code if no audio is being sent, yes? The current situation is a false positive for an error condition.

Mirko Brankovic

unread,
Dec 1, 2018, 6:05:29 PM12/1/18
to meetech...@googlegroups.com
If it is working, don't touch the code ;)

Chad Phillips

unread,
Dec 1, 2018, 10:25:41 PM12/1/18
to meetecho-janus
Is that a product salesperson or a developer talking? :P

Lorenzo Miniero

unread,
Dec 2, 2018, 6:00:21 AM12/2/18
to meetecho-janus
I noticed it too, but since it's harmless I decided to focus on other priorities (and we had many). Anyway, in the unified-plan branch we're completely refactoring the internals and SDP management, so good chances are it will be dealt with there.

Lorenzo

Mirko Brankovic

unread,
Dec 3, 2018, 2:25:11 AM12/3/18
to meetech...@googlegroups.com
Hhahaha
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages