Ted Piotrowski

Results 9 comments of Ted Piotrowski

The [mute](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/mute_event) event is a good workaround for the lack of a `removetrack` event. ``` link.on('track', (track) => { console.log('track added'); track.addEventListener('mute', () => { console.log('track removed') }); }); ```

@fictorial The `mute` event fires on the remote peer for me (Latest Chrome/MacOS) 🤷 However, the `mute` event can't be used to infer if a track has ended because `mute`...

Can confirm that pull request fixes supplied repro case.

@Awendel can you provide the actual error? This loop should be fine and all `Number` in Javascript are floats behind the scenes and as far as I know represented as...

For Mapbox GL JS version 2.0 and up, here is the updated example https://gist.github.com/ted-piotrowski/420a31bf3c157664fdda14bf45692785 ...and the revision if you're wondering what changed https://gist.github.com/ted-piotrowski/420a31bf3c157664fdda14bf45692785/revisions

@robertleeplummerjr I noticed you've been active on this project again. What are your thoughts on merging this fix?

@yan-map Let me know if the following works for 2.12.0. https://gist.github.com/ted-piotrowski/420a31bf3c157664fdda14bf45692785/5850fa7c51c57d75dfbc18270fc57f8b0f4c64cc

> Do you you know if it is possible to change the opacity or the color of shadows ? Somewhat. Because the implementation is quite naive (it uses "Carpet shadows"...

https://gist.github.com/ted-piotrowski/420a31bf3c157664fdda14bf45692785 @McFly78 Here is a revised gist to allow for shadow transparency. Modify this line to set the shadow rgba values: ``` gl.uniform4fv(this.shadeColor, new Float32Array([0, 0, 0, 0.6])) ``` Let...