Skip to content

fix: once a track is cloned, remove the original reference#9

Closed
santhoshvai wants to merge 2 commits intomasterfrom
clone-improvements
Closed

fix: once a track is cloned, remove the original reference#9
santhoshvai wants to merge 2 commits intomasterfrom
clone-improvements

Conversation

@santhoshvai
Copy link
Copy Markdown
Member

if we dont remove original reference then if stop is called the mediaSource that is shared is stopped

now after stop, the native code will do nothing as the reference is already removed

if we dont remove original reference then if stop is called the mediaSource that is shared is stopped
santhoshvai pushed a commit that referenced this pull request Apr 16, 2026
* webrtc: update WebRTC to M124

* api: allow sdpMid / sdpLineIndex to be null in RTCIceCandidate

Having both as null is still an error.

Fixes: react-native-webrtc#1518

* ios: refactor rendering in RTCVideoView

The way the renderer is implemented is as follows: there is a UIView
which holds on to a RTCMTLVideoView, which does the actual rendering in
metal.

Rather than using our own home-grown mechanism to layout the views, just
make sure the Metal view takes 100% of the space of our view, and then
use the `videoContentMode` property to set it to cover or contain,
matching the way a browser would do it.

This greatly simplifies the code because we lonnger care about the video
size, the Metal renderer makes the adjustments autmagically.

In addition, the mirror and object-fit properties are only applied once,
when they change, not on every layout change, which is unnecessary.

* ios: add all available camera device types

* preserve order

* release 124.0.1

20cf1d5 preserve order  ( Burak KIYAK 2024-05-03 13:41:59 +0200)
64e8298 ios: add all available camera device types  ( Burak KIYAK 2024-04-30 12:30:38 +0200)
f36b6b8 ios: refactor rendering in RTCVideoView  ( Saúl Ibarra Corretgé 2024-06-11 09:35:36 +0200)

* build(deps-dev): bump braces from 3.0.2 to 3.0.3 (react-native-webrtc#1578)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* mark for beta release

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Saúl Ibarra Corretgé <saghul@jitsi.org>
Co-authored-by: omerts <omerts3@gmail.com>
Co-authored-by: Saúl Ibarra Corretgé <s@saghul.net>
Co-authored-by: Burak KIYAK <brkkyk@gmail.com>
Co-authored-by: Burak KIYAK <bkiyak@turnitin.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
santhoshvai pushed a commit that referenced this pull request Apr 16, 2026
2d153e1 Merge upstream and update webrtc to M125 (#9)  ( davidliu 2024-06-24 11:20:10 +0900)
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

Successfully merging this pull request may close these issues.

1 participant