Skip to content

RtmpStream camera settings #1399

Closed Answered by pedroSG94
DenisStadnichenko asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

You need do it using VideoSource like in this example:
https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/StreamService.kt#L138
Depend of the video source used (Camera2Source by default) you have different methods:
https://github.com/pedroSG94/RootEncoder/blob/master/library/src/main/java/com/pedro/library/util/sources/video/Camera2Source.kt

If you need extend functionality you can create you own VideoSource and add required methods. For example you can copy that class and add facial recognition method.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@DenisStadnichenko
Comment options

Answer selected by pedroSG94
Comment options

You must be logged in to vote
1 reply
@DenisStadnichenko
Comment options

Comment options

You must be logged in to vote
1 reply
@DenisStadnichenko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants