Temasys WebRTC Plugin not working with kurento media server 6.0 and Javascript API

82 views
Skip to first unread message

jaiprakash.kushw...@gmail.com

unread,
Dec 14, 2017, 4:09:09 AM12/14/17
to Temasys WebRTC Plugin
Hi,

I have implemented Kurento Recording Javascript API & Kurento media server in my .net application. Chorme & Firefox working properly to record file on KMS server. but IE &Safari not working with Kurento Recording Java script API. So i have added Temasys WebRTC plugin in my application, but kurento-util.js file throwing error for multiple functions , saying function not defined or no optional parameters.

I have added Temasys Adapter.js at top inside the head tag of the recording page. initially i got error for addEventHandler then i replaced it with attachEvent, then after i got error at "localVideo.src = URL.createObjectURL(videoStream)" , then i have checked it write if condition for IE browser-  localVideo.src = window.navigator.msSaveBlob(videoStream);, now it's showing error on peerconnection.CreateOffer method.


Can anyone have Temasys Webrtc plugin integration with Kurento Recording Javascript API? So please provide solution for this issue. This will be very helpful for us, it's very urgent for me.



Regards,
Jai  

romme...@temasys.com.sg

unread,
Dec 14, 2017, 8:44:13 PM12/14/17
to Temasys WebRTC Plugin
Hi Jai,

What video codec you are using?

Regards,
Rommel

jaiprakash.kushw...@gmail.com

unread,
Dec 19, 2017, 8:21:12 AM12/19/17
to Temasys WebRTC Plugin
{
  "numAudioMedias" : 1,
  "numVideoMedias" : 1,
  "audioCodecs" : [
    {
      "name" : "opus/48000/2"
// Next is an example about how a codec can be configured.
// WARNING: Usage of properties is not yet supported
//      "properties" : {
//        "maxcodedaudiobandwidth" : "16000",
//        "maxaveragebitrate" : "20000",
//        "stereo": "1",
//        "useinbandfec" : "1",
//        "usedtx" : "0"
//      }
    },
    {
      "name" : "PCMU/8000"
    },
    {
      "name" : "AMR/8000"
    }
  ],
  "videoCodecs" : [
    {
      "name" : "VP8/90000"
    },
    {
      "name" : "H264/90000"
    }
  ]
}

/etc/kurento/modules/kurento/SdpEndpoint.conf.json
Reply all
Reply to author
Forward
0 new messages