marc0shey Lance, just woke up. Thanks for looking into it. I'll check later the browser's ws traffic to double check what's actually stanza sending out. But that prosody filter function looks like a candidate
marc0sstanza is some 12.x clone I had lying around, so pretty recent
marc0sindeed, stanza is sending the proper `<open...>` it's prosody logging the already transformed stanza
marc0s:)
Flavius Andreihey, Lance. any chance i can check the incoming jingle session to see the track it contains (audio or video)?
Lanceone sec, i'll check
Lancei _know_ i've done this before
Lancebut wtf, i'm not seeing any easy flag to check
Lancegimme a bit, will get that added
Lanceok, in 12.8.2, there are includesAudio and includesVideo flags on MediaSessions
Lanceif you have to use older versions, you can overwrite client.jingle.prepareSession. The second argument to it is the full session-initiate request
Lancerequest.jingle.contents.filter(content => content.application.media === 'audio') should do it
Lance(that method is intended for overwriting, so that's not a problem)