Dockerfiles icon indicating copy to clipboard operation
Dockerfiles copied to clipboard

Help with Installation and configuration of OVC stack

Open Mediacast-cloud opened this issue 4 years ago • 44 comments

Hi, We are looking for help in installing and configuring the OVC stack, in particular, the 3 repos;

  1. SVT-HEVC.
  2. WebRTC using Open RTC Kit “CWT’.
  3. CDN Transcoding Sample.

I have attached a simple requirement document to briefly outline the workflow we currently lead in which the OVC stack would fit in. If further details are needed I will be happy to provide.

Media Server - Requirements Sheet.docx

Mediacast-cloud avatar Jun 10 '20 23:06 Mediacast-cloud

Acknowledged. Working on your reqs to see what stacks can meet your needs.

xwu2git avatar Jun 11 '20 02:06 xwu2git

The three projects you mentioned have their README.md for installation and configuration steps.

SVT-HEVC: https://github.com/OpenVisualCloud/SVT-HEVC/blob/master/README.md WebRTC OWT: https://github.com/open-webrtc-toolkit/owt-server/blob/master/README.md CDN Transcoding Sample: https://github.com/OpenVisualCloud/CDN-Transcode-Sample/README.md.

Can you highlight what are the specific issues in installation and configuration?

Thanks

xwu2git

xwu2git avatar Jun 11 '20 15:06 xwu2git

Thank you for your support.

the installer says he id facing issues with the webrtc repo. `he quoted:

this is the error i am getting scripts/build.js -t all --check while i run this command rtcConn.target.mk:199: recipe for target 'Release/obj.target/rtcConn/erizo/src/erizo/dtls/DtlsSocket.o'; failed make: *** [Release/obj.target/rtcConn/erizo/src/erizo/dtls/DtlsSocket.o] Error 1 make: Leaving directory '/home/ubuntu/owt-server/source/agent/webrtc/rtcConn/build'

See attached screen shot

Screenshot 2020-06-12 at 21 59 18

Mediacast-cloud avatar Jun 12 '20 21:06 Mediacast-cloud

@qwu16 will help you.

xwu2git avatar Jun 13 '20 15:06 xwu2git

There is a new commit in OWT repo which adds a new patch, so we need update related m4 file for OWT. Please check whether it fixes your issue after related pull request is committed and merged later.

qwu16 avatar Jun 15 '20 06:06 qwu16

There is a new commit in OWT repo which adds a new patch, so we need update related m4 file for OWT. Please check whether it fixes your issue after related pull request is committed and merged later.

Hi @qwu16 , currently owt-server in Dockerfiles is pointing to 4.2.x branch. Which commit are you referring to in this above comment?

dpatel257 avatar Jun 15 '20 17:06 dpatel257

Hi @qwu16

Are you referring the active branch updated by starwarfan?

OWT update

Mediacast-cloud avatar Jun 15 '20 19:06 Mediacast-cloud

When trying to install from 4.3.x same error (see attached) screen shot. Also similar experience in the issue in the link below https://www.freelancer.com/users/l.php?url=https:%2F%2Fgithub.com%2Fopen-webrtc-toolkit%2Fowt-server%2Fissues&sig=2d4ad3f167fed166f7ea5c86d088d8f20e3def70ec16fa9fa24dc4ad142dec6e

OWT ERROR Screen 4.3x .pdf

Mediacast-cloud avatar Jun 15 '20 21:06 Mediacast-cloud

Hi @qwu16

Are you referring the active branch updated by starwarfan?

OWT update

Yes, this commit introduces dependency change. I have committed a PR 505 in OVC Dockerfile repo and please try again after the PR is merged. If your issue still exists, please relocate you dependency install and OWT compile and packing log to one file so that we can better locate the issue.

qwu16 avatar Jun 16 '20 08:06 qwu16

PR#505 is merged to master to fix owt image. I would submit another similar fix for owt-immersive image soon. @Mediacast-cloud pls. have a try and let us know if your issue still exists.

BTW, @qwu16 , for owt images, some of the components are still old version , i.e. SVT HEVC, FFMPEG. I am thinking about upgrading them through using svt-hevc.m4 and ffmpeg.m4. Do you see any side impact?

jhou5 avatar Jun 16 '20 21:06 jhou5

The fix for owt-immersive image is also merged into master now.

jhou5 avatar Jun 16 '20 22:06 jhou5

PR#505 is merged to master to fix owt image. I would submit another similar fix for owt-immersive image soon. @Mediacast-cloud pls. have a try and let us know if your issue still exists.

BTW, @qwu16 , for owt images, some of the components are still old version , i.e. SVT HEVC, FFMPEG. I am thinking about upgrading them through using svt-hevc.m4 and ffmpeg.m4. Do you see any side impact?

@jhou5 Please keep current ffmpeg and SVT HEVC version for OWT. We are not sure if there is any side impact for upgrading cause we don't have a full testing with the newer version. Thanks.

qwu16 avatar Jun 17 '20 01:06 qwu16

@qwu16 OK, I see. Thanks for the reponse.

jhou5 avatar Jun 17 '20 01:06 jhou5

@qwu16 The error is still prevailing. Please see attached screen shots OWC OWT INstallation Error-2 OVC OWT `indtall Error-1

Mediacast-cloud avatar Jun 18 '20 10:06 Mediacast-cloud

@qwu16 The error is still prevailing. Please see attached screen shots OWC OWT INstallation Error-2 OVC OWT `indtall Error-1

Do you update the owt.m4 template and rebuild ovc Dockerfile? According to your snapshot, your node-gyp version is still 7.0.0, and in latest owt.m4 template, we fix the node-gyp version to 6.1.0.

qwu16 avatar Jun 19 '20 01:06 qwu16

Installer still facing the issue after updating the node-gyp version to 6.1.0 Could there be a dependancy issue with the node?

OWT Installation error-3

Mediacast-cloud avatar Jun 19 '20 11:06 Mediacast-cloud

Installer still facing the issue after updating the node-gyp version to 6.1.0 Could there be a dependancy issue with the node?

OWT Installation error-3

Are you using Dockerfiles in OVC to build OWT or you directly use OWT github master branch to install and build? Please save you dependency install and build process log into a file, then we can better locate the root cause.

qwu16 avatar Jun 22 '20 06:06 qwu16

Hi. The Installer is using the Master from Github. Please, review the dependency of install and the build process log shared in the attached. I hope it helps in your diagnosis. build_log.log Initial_build_command build_final_result

Mediacast-cloud avatar Jun 26 '20 15:06 Mediacast-cloud

@qwu16 can you pls. help a check @Mediacast-cloud's log?

jhou5 avatar Jun 26 '20 16:06 jhou5

@Mediacast-cloud Do you use the node 8.15.0 to build OWT? It seems that you are using a newer version 14.4.0 to build OWT, and API changed in newer version. Please change node version to OWT required 8.15.0 to have a try.

qwu16 avatar Jun 28 '20 00:06 qwu16

@Mediacast-cloud do you have newly update? Need more support?

jhou5 avatar Jul 21 '20 22:07 jhou5

Yes, @ jhou5. Our installer continues to face built issues with WebRTC and CDN installations on a Ubuntu's 18.04 OS. Anyone can help is jump start the installation hurdle you know of?

Mediacast-cloud avatar Jul 21 '20 23:07 Mediacast-cloud

have you tried qwu16's solution?

jhou5 avatar Jul 21 '20 23:07 jhou5

Yes but issues were still present

Mediacast-cloud avatar Jul 21 '20 23:07 Mediacast-cloud

Just tried, I can not reproduce it on my machine. If possible, can you pls. guide me the steps?

jhou5 avatar Jul 21 '20 23:07 jhou5

Steps for what?

Mediacast-cloud avatar Jul 21 '20 23:07 Mediacast-cloud

For how to reproduce the failure.

jhou5 avatar Jul 21 '20 23:07 jhou5

I'm sorry. I am not technical but will ask the freelance installer. Do you mean you want screen shots of the issues?

Mediacast-cloud avatar Jul 21 '20 23:07 Mediacast-cloud

Not screen shots of issues. I hope to see how to reproduce the issue so as to know how to help here, as i cannot reproduce it on my side.

jhou5 avatar Jul 22 '20 00:07 jhou5

How can we do that? Access to the installation server?

Mediacast-cloud avatar Jul 22 '20 00:07 Mediacast-cloud