Problem playing recorded videos in browsers

Discussion in 'Web Call Server 5' started by Javier Gomez, May 12, 2017.

  1. Javier Gomez

    Javier Gomez New Member

    I deployed WCS 5 on AWS. I implemented the Android SDK, All it's working well, video live streaming, recording but when I try to play the recorded videos in a web browser using HTML 5 the video not play. Please check the below "Codepen".

    https://codepen.io/anon/pen/OmZWoj


    Thank you!
  2. Max

    Max Administrator Staff Member

    We had some fixes related stream recording.
    Make sure you have latest available build of WCS server.
    Code:
    service webcallserver update
    or
    Download and run ./install.sh
    https://flashphoner.com/download
  3. Javier Gomez

    Javier Gomez New Member

    Thank you! I deployed it by manual way in Ubuntu 16.04 (64 bits). I can see that the video plays well when it's recorded in .webm format. Any way to get all videos recorded in webm ?
  4. Max

    Max Administrator Staff Member

    All H.264 WebRTC streams are recorded in mp4
    All VP8 WebRTC streams are recorded in webM

    So you can set VP8 as priority video codec:
    Code:
    codecs=opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,vp8,h264,flv,mpv
    It should record webM

    Or you can set H.264 as priority video codec:
    Code:
    codecs=opus,alaw,ulaw,g729,speex16,g722,mpeg4-generic,telephone-event,h264,vp8,flv,mpv
    It should record mp4

    This setting should be done in WCS_HOME/conf/flashphoner.properties and requires wcs server restart
  5. Javier Gomez

    Javier Gomez New Member

    Thank you! you are the best. I updated the version and the recorded video it's working well now.
  6. Javier Gomez

    Javier Gomez New Member

    Do you know any way to force H.264 in the WCS Android SDK ? Thank You!
  7. Max

    Max Administrator Staff Member

    Javier Gomez likes this.
  8. Javier Gomez

    Javier Gomez New Member

    Thank you!

Share This Page