Open oantajames opened 7 years ago
Yes but you have to restart the encoder after changing the parameters with connection keeps working.
Could you tell details with code text, I am also looking for it Thanks
@davidarchi See SrsPublisher.java
where there are APIs.
But, restarting encoder is a time taking task. It will show one black screen and it will restart. So, bitrate changing time will loss any frame data?
@nikhilkilivayil libx264
provides some encoding models for adaptive streaming, while hard encoding of Android does not.
@begeekmyfriend is there a way to change the bitrate and resolution while streaming ? In the encoder part you set the bitrate before the streaming starts . Thanks!
public boolean start() { . . . setEncoderBitrate(vBitrate)