FMS

Flex4でストリーミング受信のシンプルな書き方

先日の記事で Flash Media Server を使ってストリーミング配信と受信ですが、受信プレイヤー側はもっとシンプルに書けることがわかったので紹介です。 下記1行です。 <s:VideoPlayer source="rtmp://localhost/live/myCameraAndroid" autoPlay="true"/> もしくはダイナミックなストリーミング受信をする場合。 <s:VideoPlayer autoPlay="true"> <s:source> <s:DynamicStreamingVideoSource host="rtmp://localhost/live"> …</s:dynamicstreamingvideosource></s:source></s:videoplayer></s:videoplayer>