Colaman0
Colaman0
请问找到解决方法了吗
> Do you find any solution? Unfortunately i don't find the solution.
获取token的接口方法上锁,方法里做双重校验
When i don't pass the surfaceview of textureview to build the RtspServerCamera1 or don't call the rtspServerCamera1.startPreview() , RtspServer will return the sps or pps is null error. Just hide...
it will call Camera1ApiManager.start event I didn't call startPreview. I found the problem is VideoEncode didn't accept the formatChanged ,so the spa and pps is null
I found that if you didn't call startPreview before startStream,the RtspServer will fail to open。 because startPreview will init the camera config ,it will select the camera facing , then...