Coder Social home page Coder Social logo

Comments (10)

yangjieshao avatar yangjieshao commented on June 5, 2024

首先 这玩意是让你运行在服务器上的,服务器上一堆程序是命令行的,用户就不用去关心也不会去看服务器上运行的东西
其次 你可以使用 alwaysup 做进程守护和开机自动,alwaysup 启动的程序默认运行在 session0 也就是后台会话

然后作者不是**人,你至少百度翻译成英文附在后面啊

from webrtc-streamer.

zhwl123 avatar zhwl123 commented on June 5, 2024

from webrtc-streamer.

yangjieshao avatar yangjieshao commented on June 5, 2024
var procInfo = new ProcessStartInfo(exeFullPath, Arguments)
  {
      WorkingDirectory = new System.IO.FileInfo(exeFullPath).DirectoryName,
      UseShellExecute = false,
      CreateNoWindow = true,
      RedirectStandardInput = true,
      RedirectStandardOutput = true,
      RedirectStandardError = true
  };
Process.Start(procInfo);

你也可以写代码 这样启动外部命令行程序

from webrtc-streamer.

liusuyi2021 avatar liusuyi2021 commented on June 5, 2024
var procInfo = new ProcessStartInfo(exeFullPath, Arguments)
  {
      WorkingDirectory = new System.IO.FileInfo(exeFullPath).DirectoryName,
      UseShellExecute = false,
      CreateNoWindow = true,
      RedirectStandardInput = true,
      RedirectStandardOutput = true,
      RedirectStandardError = true
  };
Process.Start(procInfo);

你也可以编写代码这样启动外部命令行程序
你还真是手把手教啊,这种选手就不适合玩开源流媒体了

from webrtc-streamer.

zhuya1996 avatar zhuya1996 commented on June 5, 2024

兄弟,你人才,翻都不翻译 哈哈

from webrtc-streamer.

zhwl123 avatar zhwl123 commented on June 5, 2024

兄弟,你人才,翻都不翻译 哈哈

要让中文走向世界撒

from webrtc-streamer.

zhwl123 avatar zhwl123 commented on June 5, 2024
var procInfo = new ProcessStartInfo(exeFullPath, Arguments)
  {
      WorkingDirectory = new System.IO.FileInfo(exeFullPath).DirectoryName,
      UseShellExecute = false,
      CreateNoWindow = true,
      RedirectStandardInput = true,
      RedirectStandardOutput = true,
      RedirectStandardError = true
  };
Process.Start(procInfo);

你也可以写代码 这样启动外部命令行程序

我们的场景比较特殊,服务端就要在客户机上,然后浏览器中是客户端调用。主要是对视频的响应有要求,不然就用专门的服务器安装了。

from webrtc-streamer.

yangjieshao avatar yangjieshao commented on June 5, 2024

我们的场景比较特殊,服务端就要在客户机上,然后浏览器中是客户端调用。主要是对视频的响应有要求,不然就用专门的服务器安装了。

所以 你猜为什么我的回答里有说 使用alwaysup 和自己写代码两种方式?
如果这两种方式都不行,我建议你换工作
其次,你们的场景一点都不特殊,内网部署的服务器也不存在响应慢的问题
甚至通过frp(访问内网部署的网页+后台程序)+turn服务(访问视频流) 远程看视频都没啥延迟,响应非常快

from webrtc-streamer.

yangjieshao avatar yangjieshao commented on June 5, 2024

至于为什么不是stun服务而是turn服务 参考 #552

from webrtc-streamer.

liusuyi2021 avatar liusuyi2021 commented on June 5, 2024

杨杰少说的不错,流媒体从来就没有运行在客户端的这种操作,你认为局域网延迟能有多大?现在的人用浏览器的优势之一 就是不用安装直接打开即可访问,你非要部署在客户机无疑是走了回头路;另外,就事论事,让exe后台启动这种基本问题你还在GitHub上问,显得你不是一个善于百度和chatgpt的人,开发这行可能不适合你

from webrtc-streamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.