jerryshell / live-teaching-platform

在线教学直播平台,结构简单,代码易懂,适合参考
GNU General Public License v3.0
111 stars 50 forks source link

你好 #3

Closed wang-wyy closed 4 years ago

wang-wyy commented 4 years ago

请您帮我指导一下,能不能加我一下qq519889245 或者我加你

jerryshell commented 4 years ago

有问题可以直接在这里留言或者使用邮箱联系:calljerryli@outlook.com

wang-wyy commented 4 years ago

nginx配置就直接把你程序当中的那个加进去吗? 还有srs是要到linux虚拟机上搭建吗

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上8:59 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

有问题可以直接在这里留言或者使用邮箱联系:calljerryli@outlook.com

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jerryshell commented 4 years ago
  1. Nginx 的配置主要是做了反向代理来解决跨域的问题,如果你会配反向代理的话可以自己写 Nginx 的配置,项目里的只是参考。
  2. SRS 在文档里的系统要求是 Linux,如果要在 Windows 上搭建可以使用 Docker。
wang-wyy commented 4 years ago

我还没学到这些,我的毕设要做直播功能,时间太紧了

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上9:15 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

Nginx 的配置主要是做了反向代理来解决跨域的问题,如果你会配反向代理的话可以自己写 Nginx 的配置,项目里的只是参考。

SRS 在文档里的系统要求是 Linux,如果要在 Windows 上搭建可以使用 Docker。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wang-wyy commented 4 years ago

nginx配置好之后需要把html放到nginx目录下的html文件夹中吗

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上9:15 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

Nginx 的配置主要是做了反向代理来解决跨域的问题,如果你会配反向代理的话可以自己写 Nginx 的配置,项目里的只是参考。

SRS 在文档里的系统要求是 Linux,如果要在 Windows 上搭建可以使用 Docker。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jerryshell commented 4 years ago

不需要,Nginx 只是将业务后端(Java)和视频流(SRS)连接起来的桥梁,因为这两个服务开在不同的端口,会造成跨域问题,所以需要 Nginx 进行反向代理。

jerryshell commented 4 years ago

如果你的业务后端已经写得差不多,只差一个直播服务的话。我建议你直接去看 SRS 的文档。然后想办法把 SRS 接入自己的系统中。

jerryshell commented 4 years ago

我刚才看了一下。 最新版的 SRS 3.0 已经解决了跨域的问题。 所以现在应该不需要额外配置 Nginx 了。 我的建议还是那句话:「直接去看 SRS 的文档,然后想办法把 SRS 接入自己的系统中」。

wang-wyy commented 4 years ago

好的我去看看

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上9:45 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

我刚才看了一下。 最新版的 SRS 3.0 已经解决了跨域的问题。 所以现在应该不需要额外配置 Nginx 了。 我的建议还是那句话:「直接去看 SRS 的文档,然后想办法把 SRS 接入自己的系统中」。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wang-wyy commented 4 years ago

现在我有点看不懂,想先把你的代码运行起来,搞搞再看

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上9:45 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

我刚才看了一下。 最新版的 SRS 3.0 已经解决了跨域的问题。 所以现在应该不需要额外配置 Nginx 了。 我的建议还是那句话:「直接去看 SRS 的文档,然后想办法把 SRS 接入自己的系统中」。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jerryshell commented 4 years ago

这个项目的代码使用了 Spring Boot 框架。建议先去熟悉这个框架再回来看。

wang-wyy commented 4 years ago

恩我看过了能看懂点springboot

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上10:14 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

这个项目的代码使用了 Spring Boot 框架。建议先去熟悉这个框架再回来看。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

wang-wyy commented 4 years ago

上传视频和照片出错,找不到那个路径请问怎么办,  

------------------ 原始邮件 ------------------ 发件人: "Jerry"<notifications@github.com>; 发送时间: 2020年3月11日(星期三) 晚上10:14 收件人: "jerryshell/live-teaching-platform"<live-teaching-platform@noreply.github.com>; 抄送: "王菜鸟"<519889245@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [jerryshell/live-teaching-platform] 你好 (#3)

这个项目的代码使用了 Spring Boot 框架。建议先去熟悉这个框架再回来看。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jerryshell commented 4 years ago

这些配置都在 src/main/resources/application.properties 这个文件里,你要根据自己的环境改这些配置。

jerryshell commented 4 years ago

Close inactive issue.