crosswalk-samples | Crosswalk sample applications | Learning library
kandi X-RAY | crosswalk-samples Summary
kandi X-RAY | crosswalk-samples Summary
Crosswalk sample applications
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Animate a frame
- Default prefetch handler
- Initialize a new Peer instance .
- Callback called when we re done
- Create an animation
- Creates a new matcher instance .
- draw game loop
- Create a new matcher handler .
- workaround for AJAX requests
- Clones an element .
crosswalk-samples Key Features
crosswalk-samples Examples and Code Snippets
Community Discussions
Trending Discussions on crosswalk-samples
QUESTION
I am developing a cross-plattform application with peer.js and webrtc. I am using cordova, crosswalk. Additionaly I am using the webrtc adapter (https://github.com/webrtc/adapter)
My code is based on the webrtc-crosswalk sample. (https://github.com/crosswalk-project/crosswalk-samples)
I want to change the videosource of the stream without creating a new call. My approche is to remove the tracks of the stream and add the new tracks of the other camera. The result is that the local video shows the right content, but the callee's remote video freezes.
Probably I am doing a very basic mistake, but i can't find a solution. I am looking forward to your answers and solutions.
My main codefile is attached.
Greez, Leo
...ANSWER
Answered 2018-Apr-04 at 07:35If you remove and then add a new track to a PeerConnection you need to renegotiate the offer-answer to get it working. I will recommend you to use the replaceTrack API to avoid the re-negotiation problem while changing the camera input.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install crosswalk-samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page