How to close my camera

hi jitsi team:
when I use lib-jitsi-meet api as createLocalTracks, and my camera is on work
and I left room, I want to close my camera, not exit my app
how to close my camera , is there any api to do this?
hope to your reply
sorry for my bad typing , English is not my native language

The track object should have dispose method that can be called on it to destroy just the track itself. Does that answer your question?

ok, I wil try this api