mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Make native VideoTrack pointer public
Is useful for app that has parts in java and parts in native, that can pass down native pointer rather than java object, and get the native pointer using up-call. Many/most other objects expose their native pointer for these use cases. BUG=None Change-Id: I352d4de388525abb09733d38b6af6651770d0498 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/307460 Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Commit-Queue: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40203}
This commit is contained in:
parent
cfc1a3a1a9
commit
267040e29a
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class VideoTrack extends MediaStreamTrack {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns a pointer to webrtc::VideoTrackInterface. */
|
/** Returns a pointer to webrtc::VideoTrackInterface. */
|
||||||
long getNativeVideoTrack() {
|
public long getNativeVideoTrack() {
|
||||||
return getNativeMediaStreamTrack();
|
return getNativeMediaStreamTrack();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue