What is the best way to record a video of set duration from camera2 using mediacodec?

前端 未结 0 1090
-上瘾入骨i
-上瘾入骨i 2021-02-05 01:58

I think one way would be to create a timer and insert a buffer of zero size with EOS flag after the timer ends. But it seems weird the mediacodec/mediamuxer apis dont have a dur

相关标签:
回答
  • 消灭零回复
提交回复
热议问题