1

我正在构建视频播放器并尝试使用数据生成模式。但是当我试图寻找时,我找不到正确进行的方法。我搜索了很多,但找不到在数据生成模式下寻找的例子。数据生成模式视频搜索

有人可以帮助我在这种情况下请。如果你有一个动作脚本-3数据生成模式下的视频流示例代码,请分享。我需要一个工作代码的例子。

回答

0

对此有帮助吗? http://forums.adobe.com/thread/646900

ns.seek(0); //the parameter to seek() is irrelevant, as both the playout and FIFO buffers will be cleared 

ns.appendBytesAction(NetStreamAppendBytesAction.RESET_SEEK); //you can do this in NetStreamStatus if you want 

ns.appendBytes(seekPosBytes); //write the bytes to play from the desired stream position