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:
Jonas Oreland 2023-06-02 07:10:47 +02:00 committed by WebRTC LUCI CQ
parent cfc1a3a1a9
commit 267040e29a

View file

@ -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();
} }