Skip to main content
Participant
June 4, 2009
Answered

webcam video streaming question

  • June 4, 2009
  • 1 reply
  • 686 views

Hello,

Before I buy the Flash Media Server, i would like to know that:

- is it possible to crop the webcam video (because I need just one part of the whole picture) before streaming from the client's Flash Player to the Media Server? (it would reduce the bandwidth a lot)

- if not, can the player store some parts of video until it is fully streamed with all it's data (30 fps) to the Server? (e.g: client: low bandwidth, i need all frames that the webcam records, real-time doesn't matter if it takes 1 minutes for 20sec video, that would be ok.

Thanks,


Peter

    This topic has been closed for replies.
    Correct answer

    It is not possible to crop the video in the flashplayer. You can use the Camera.setMode method with the favorArea flag set to true to force an unsuppored resolution, but that often results in lowered image quality.

    You can't store video locally, but you can increase the buffer in efforts to minimize frame drops (see the bufferTime property of the netstream class). When using a publishing buffer, the Flashplayer will only start dropping frames when the buffer is full. I've never tried using a buffer of more than 10 seconds on a publishing stream, so I don't know if there is an upward limit (nothing in the docs about that). That said, if the user does not have sufficient bandwidth to publish in real time, frames will start dropping eventually... no way to completely avoid that AFAIK, other than reducing the publishing bitrate.

    1 reply

    Correct answer
    June 4, 2009

    It is not possible to crop the video in the flashplayer. You can use the Camera.setMode method with the favorArea flag set to true to force an unsuppored resolution, but that often results in lowered image quality.

    You can't store video locally, but you can increase the buffer in efforts to minimize frame drops (see the bufferTime property of the netstream class). When using a publishing buffer, the Flashplayer will only start dropping frames when the buffer is full. I've never tried using a buffer of more than 10 seconds on a publishing stream, so I don't know if there is an upward limit (nothing in the docs about that). That said, if the user does not have sufficient bandwidth to publish in real time, frames will start dropping eventually... no way to completely avoid that AFAIK, other than reducing the publishing bitrate.