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

Streaming static canvas to webrtc peer connections. #1420

Open
3 tasks done
amar1995 opened this issue Feb 8, 2021 · 3 comments
Open
3 tasks done

Streaming static canvas to webrtc peer connections. #1420

amar1995 opened this issue Feb 8, 2021 · 3 comments

Comments

@amar1995
Copy link

amar1995 commented Feb 8, 2021

Please read first!

Please use discuss-webrtc for general technical discussions and questions.

  • I have provided steps to reproduce
  • I have provided browser name and version
  • I have provided a link to the sample here or a modified version thereof

Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed.

Browser affected

Browser name including version (e.g. Chrome 64.0.3282.119)
Chrome 87.0.4280.88

Description

I am trying to stream canvas to webrtc. But canvas stream is not working because canvas is static and it is not changing. Is It possible to stream static canvas ?

Steps to reproduce

Visit
https://github.com/webrtc/samples/tree/gh-pages/src/content/capture/canvas-pc
Instead of animated canvas use static canvas like simple line or circle.

Expected results

I want to stream or show static canvas through webrtc.

Actual results

Static canvas is not shown.

@guest271314
Copy link
Contributor

What is meant by "static"?

Is the expected result a series of the same frame or different frames at the remote connection?

@amar1995
Copy link
Author

Static canvas mean where canvas frame is not changing. For example, when we draw simple line, circle on canvas.
In such situation nothing will be shown.

@guest271314
Copy link
Contributor

Can you post the conplete code here to reproduce?

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

No branches or pull requests

2 participants