8000 RTCMediaStream methods addTrack and removeTrack not implemented · Issue #17 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

RTCMediaStream methods addTrack and removeTrack not implemented #17

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

Closed
rostopira opened this issue Oct 23, 2018 · 4 comments
Closed

RTCMediaStream methods addTrack and removeTrack not implemented #17

rostopira opened this issue Oct 23, 2018 · 4 comments

Comments

@rostopira
Copy link
Collaborator
rostopira commented Oct 23, 2018

RTCMediaStream methods addTrack and removeTrack not implemented

@rostopira rostopira changed the title RTCMediaStream methods addTrack and removeTrack not implemented on iOS RTCMediaStream methods addTrack and removeTrack not implemented Oct 23, 2018
@rostopira
Copy link
Collaborator Author

Long story short: how to hotswap rear/front camera after connection was established? Such a basic feature

@rostopira
Copy link
Collaborator Author
rostopira commented Oct 23, 2018

I've already spent half of a day trying to implement this methods, but another phone just don't receive new stream

@cloudwebrtc
Copy link
Member

If you use addTrack and removeTrack to switch cameras, you need re-offer/answer to notify the peer of track changes.
I suggest add a SwitchCamera method for RTCMediaStream to switch directly to the VideoCapture interface.

@rostopira
Copy link
Collaborator Author

@cloudwebrtc thanks for response, I've already implemented switch camera method yesterday, and provided pull request
I've accidentally included implementation of one TODO and fix for android data channel in this PR too, could you please review it and merge, if possible?

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
0