Jump to content
  • 0

WebRTC Conference using React Applciation.


Raghunandan Ghagharvale
 Share

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

3 answers to this question

Recommended Posts

  • 0
Hi Raghunandan,

We have plans to make react work with Antmedia Server but currently, we don't have a direct solution for this but maybe someone from the community have done this before. 
The webRTCadapter.js file is under antmedia/webapps/<App_Name>/js/. The default apps are LiveApp and WebRTCAppEE.

Best,
Asim

On Tuesday, May 19, 2020 at 10:04:27 PM UTC+3, Raghunandan Ghagharvale wrote:
Hi,

Do we have any example of Conference features implemented in a React Application?
i am trying to import webRTCAdapter not sure where to find it.

Reagrds
Raghunandan
Link to comment
Share on other sites

  • 0
Hi,

i get compilation errors from the  webrtc_adaptor.js and all of them seems to be valid, not sure if i have a valid file.

here is the error:

  Line 233:27:  'streamId' is not defined          no-undef
  Line 243:38:  'streamId' is not defined          no-undef
  Line 246:48:  'streamId' is not defined          no-undef
  Line 258:20:  'audioStream' is not defined       no-undef
  Line 293:31:  'streamId' is not defined          no-undef
  Line 605:14:  'mediaConstraints' is not defined  no-undef
  Line 605:55:  'mediaConstraints' is not defined  no-undef
  Line 606:22:  'mediaConstraints' is not defined  no-undef
  Line 618:14:  'mediaConstraints' is not defined  no-undef
  Line 618:55:  'mediaConstraints' is not defined  no-undef
  Line 619:22:  'mediaConstraints' is not defined  no-undef
  Line 621:21:  'mediaConstraints' is not defined  no-undef
  Line 1101:8:  'adapter' is not defined           no-undef
  Line 1102:6:  'adapter' is not defined           no-undef
  Line 1103:7:  'adapter' is not defined           no-undef




webrtc_adaptor_edited_the_extension_for_support_issue.json

Link to comment
Share on other sites

  • 0
Hi Raghunandan,


This is the valid file that we use but since we don't compile it before using it so some of those values are defined as global variables at run time. Maybe creating default values or passing those values as variables would solve this issue but I haven't used React before so my knowledge is limited.

Best,
Asim

On Thursday, May 21, 2020 at 4:18:25 PM UTC+3, raghunandan wrote:
Hi,

i get compilation errors from the  webrtc_adaptor.js and all of them seems to be valid, not sure if i have a valid file.

here is the error:

  Line 233:27:  'streamId' is not defined          no-undef
  Line 243:38:  'streamId' is not defined          no-undef
  Line 246:48:  'streamId' is not defined          no-undef
  Line 258:20:  'audioStream' is not defined       no-undef
  Line 293:31:  'streamId' is not defined          no-undef
  Line 605:14:  'mediaConstraints' is not defined  no-undef
  Line 605:55:  'mediaConstraints' is not defined  no-undef
  Line 606:22:  'mediaConstraints' is not defined  no-undef
  Line 618:14:  'mediaConstraints' is not defined  no-undef
  Line 618:55:  'mediaConstraints' is not defined  no-undef
  Line 619:22:  'mediaConstraints' is not defined  no-undef
  Line 621:21:  'mediaConstraints' is not defined  no-undef
  Line 1101:8:  'adapter' is not defined           no-undef
  Line 1102:6:  'adapter' is not defined           no-undef
  Line 1103:7:  'adapter' is not defined           no-undef


Link to comment
Share on other sites

 Share

×
×
  • Create New...