Vue+uniapp live reference materials

1. Push APP to PC

Turn on the camera through Uniapp to push the stream to the PC: (It can be realized, but there is no sound, the reason is unknown "?)

[Dry Articles] Vue+UniApp Realizes Live Streaming_Battered Code Farmer’s Blog-CSDN Blog_uniapp Live uniapp (push stream)+vue (pull stream)+nginx+OBS to achieve live broadcast 1. Let’s see the effect first. Vue pull stream uniapp push stream https://blog.csdn.net/weixin_43848873/article/details/118968726 2. PC push to APP

(1) Vue opens the camera: (Successfully open the camera, how to push the stream?)

Vue calls the camera pc+mobile terminal_Ponnenult's blog-CSDN blog_vue calls the camera Preface: vue calls the local camera directory: pc part: pc rendering: implementation code: mobile part: open the front camera of the mobile phone through input, accept='image/*' is to open the camera capture implementation code: pc part: pc rendering: implementation code: <template> <div> <!--open the camera--> <Button type="pri mary" @click="callCamera... https://blog.csdn.net/weixin_44727080/article/details/108094965

(2) webrtc opens the camera, webrtc pushes the stream, and jumps to the html file display (the camera is successfully opened, where does the push rtsp address come from? The information is incomplete)

Get a preliminary understanding of WebRTC and realize the real-time display function of webpage calling camera ) provides real-time communication (RTC) for web browsers and mobile applications. It allows direct peer-to-peer communication, allowing audio and video communications to run within web pages without the need to install plugins or download native applications. By Apple, Google. https://blog.csdn.net/luweibin19/article/details/106883362?ops_request_misc=&request_id=&biz_id=102&utm_term=%E9%A1%B5%E9%9D%A2webrtc%E6%80%8E%E4%B9%88%E4%BD% BF%E7%94%A8&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-3-106883362.142%5Ev5%5Econtrol,157%5Ev4%5Econtrol&spm=1018.2226.3001.4187

Follow-up---Simple WebRTC to quickly push RTSP streaming video- Bilibili, sorry for the delay... decided to take the postgraduate entrance examination, and now I am even more busy. All the previous video pushes will have some delays. Haikang’s own website (the website that enters the IP address to log in) is also developed based on plug-ins. This time we use this website as a standard to compare other methods. The rtsp video stream pushed by node.js written before has a delay of tens of milliseconds, which is generally harmless, but it is very embarrassing for the kind of real-time security inspection products, so this time I tried WebRTC again. After talking nonsense, I went to the main topic: Conclusion: WebRTC is faster, and it may even be a little faster than the plug-in version... Difficulty: The principle is difficult, but we use it. 0290

Webrtc-streamer for public network video stream access_Original Chief’s Blog-CSDN Blog_webrtc-streamer Preface The video stream debugging process of the previous two posts (Hikvision + Kurento) uses Kurento to provide public network video streams to solve the problems from rstp video stream transcoding to page playback and kurento’s network penetration. But, in my specific plan this time, it still has a very annoying place, that is, https is required. And because it is a government project, and the government does not want to apply for a domain name because of many troublesome review issues, there will always be a scary-looking security warning here. Although it is harmless, the leader will always think about it when he sees it, and it may cause a lot of trouble for many people.

(3) Through the script to push the stream, the camera is successfully turned on, no error is reported, but the push stream address is always displayed incorrectly

vue+webrtc(腾讯云) 实现直播功能 pc端+移动端_南工gjl的博客-CSDN博客_vue+webrtc实现直播功能1.直播效果2.开直播步骤2.1引入腾讯web端(快直播)脚本2.2在需要使用直播的界面 添加一个视频容器(开启直播后,显示视频的位置)2.3创建直播对象,开启直播2.4关闭直播如果对你有帮助点个赞吧1.直播效果1.pc端2.移动端2.开直播步骤2.1引入腾讯web端(快直播)脚本脚本必须引入在 index.heml的body中 <body style="padding:0;margin:0"> //腾讯快直播脚本 <script src="hhttps://blog.csdn.net/F_fengzilin/article/details/121111967

(4) Integrate the srs project into the vue project through SRS streaming, and jump to the corresponding page (the corresponding https needs to be configured locally) 

Vue 2.0 run dev uses the https protocol - the product brother of Jianshu asked to modify a low version of the vue project code online. Now the company interface uses the https protocol, and the online version is the http protocol. Since then, it has embarked on the road of configuring vue: https startup 1.image... https://www.jianshu.com/p/078ac85b9458

<div class="pusher">
      <iframe :src="src" frameborder="0" style="width:100%;height:100%;"></iframe>
    </div>

Guess you like

Origin blog.csdn.net/weixin_51258044/article/details/123896554