twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 177 forks source link

different between LocalVideoTrack and remoteVideoTrack #569

Closed NALanhnt2 closed 3 years ago

NALanhnt2 commented 3 years ago

i have some task about ML on video call (virtual background). Everything is good on local LocalVideoTrack but when i use remoteVideoTrack, i have some problem (about memory leak) i want to ask you. what is different between LocalVideoTrack and remoteVideoTrack *sorry about my english"

NALanhnt2 commented 3 years ago

@ceaglest help me please

piyushtank commented 3 years ago

@NALanhnt2 LocalVideoTrack and RemoteVideoTrack - both are VideoTracks, hence you can add renderer to either to get the video frames. The only difference is, LocalVideoTrack is used to send your (local participant's) video frames in a Room vs the RemoteVideoTrack represents the remote participant's video frames in a Room.

Let me know if you have any questions.

piyushtank commented 3 years ago

Closing the ticket assuming the problem has been resolved. Feel free to reach out to us in case if you run into any issues.