How to get the video resolution in a RTMFP stream?

541 views Asked by At

I would like to get the NetStream width/height when receiving a RTMFP stream. This is important because the video component needs different measures when, for example, the user receives a 4:3 or a 16:9 stream.

Unfortunately, the onMetaData callback for NetStream does not work as it does for RTMP streams.

Is there a workaround?

1

There are 1 answers

1
daleyjem On

You might try using different ports and see if the onMetaData gives you anything different. I believe the 3 main ones are: 1935, 443 and 80.

The following link can give you further documentation on configuring your server: http://help.adobe.com/en_US/flashmediaserver/configadmin/WSdb9a8c2ed4c02d261d76cb3412a40a490be-8000.html