0

我正在使用 flash 使用 H264 发布网络摄像头流,但有时即使流连接到 FMS,查看器端的 flash 仍会显示黑屏,是否有办法知道流是否已开始捕获帧,如果不是黑色则继续,否则重新连接。一种查找其黑屏与否的方法。

4

1 回答 1

0

you should use events from NetConnection and NetStream to see if connections is persistent

but! if you have black screen, usualy it happens because of device, if device is streaming without problem and connection is lost on viewer's side then you should see latest frame. And, you are using stage 3d video ? if yes, then you should know, sometimes there are troubles with it.

于 2013-07-26T14:42:04.830 回答