Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code examples for Angular 2+ #23

Open
ctmackay opened this issue Nov 5, 2020 · 1 comment
Open

Code examples for Angular 2+ #23

ctmackay opened this issue Nov 5, 2020 · 1 comment

Comments

@ctmackay
Copy link

ctmackay commented Nov 5, 2020

Is your feature request related to a problem? Please describe.
No angular example

Describe the solution you'd like
WebRTC Video streaming in angular 6+

Describe alternatives you've considered
None.

Additional context
Please provide code examples on how to use wowza web rtc video streaming in Angular.

@Vis5
Copy link

Vis5 commented Dec 9, 2020

I've used the Jquery example in my angular code. Just copy pasted it and made some changes. It's working as intended. Two things I changed were:

  1. npm install webrtc-adapter and change the first line in MungeSDP.js to following code:

import adapter from 'webrtc-adapter';

const browserDetails = adapter.browserDetails;
  1. Change all function () to () =>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants