CN112769818A - Video processing method based on webpage instant messaging and IP communication - Google Patents
Video processing method based on webpage instant messaging and IP communication Download PDFInfo
- Publication number
- CN112769818A CN112769818A CN202110008530.0A CN202110008530A CN112769818A CN 112769818 A CN112769818 A CN 112769818A CN 202110008530 A CN202110008530 A CN 202110008530A CN 112769818 A CN112769818 A CN 112769818A
- Authority
- CN
- China
- Prior art keywords
- video
- sip server
- instant messaging
- establishing
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 22
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 10
- 238000012545 processing Methods 0.000 claims abstract description 5
- 230000006870 function Effects 0.000 claims description 28
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 230000006978 adaptation Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000007246 mechanism Effects 0.000 abstract description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/70—Media network packetisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
Abstract
The application belongs to the technical field of video data processing, and particularly relates to a video processing method based on webpage instant messaging and IP communication. The method comprises the following steps of establishing a connection request, responding to the connection request, establishing a continuous channel, performing data transmission and finishing video transmission. The video processing method based on the webpage instant messaging and the IP communication is based on the online webpage instant messaging technology and the IP mutual answering mechanism, the SIP server is used as a bridge, the high-compatibility video mutual transmission function based on the same standard equipment is achieved, and the video processing method can be applied to various occasions such as online video playing transmission based on webpage modes such as a web browser.
Description
Technical Field
The application belongs to the technical field of video data processing, and particularly relates to a video processing method based on webpage instant messaging and IP communication.
Background
With the construction of mobile internet and the popularization and development of 5G technology, the quality of domestic network is rapidly improved, the flow of network audio and video based on mobile equipment is greatly improved, besides various large video apps, the current way for domestic online video audiences to obtain video content is still held by many people or used by habits based on different using habits and personal preferences, the web player is beneficial to reducing the cost of software and hardware for video playing, and has good adaptability, so that the online video playing technology can be better popularized and used in middle-low end equipment and old-aged customers, the current online playing technology is almost not greatly improved in recent years, is mainly increased by young users, the online video technology based on client and hardware analysis is more easily influenced by market relatives, the state provides an aging-suitable and lightweight slogan with the increase of the population of the old people in China, and therefore the online instant video playing technology based on the web player is expected to be further developed, meanwhile, the market and users naturally have new requirements for technology updating and performance improvement.
Disclosure of Invention
The application aims to provide a video processing method based on webpage instant messaging and IP communication, which is suitable for webpage online video playing.
In order to achieve the purpose, the following technical scheme is adopted in the application.
A video processing method based on webpage instant messaging and IP communication comprises a video sending end and a video receiving end based on an SIP protocol and an SIP server; the video transmission comprises the following steps:
procedure for establishing a connection request
For a video sending end, firstly transmitting an invitation instruction to an SIP server to clarify a called party to the SIP server, and simultaneously establishing a local engine and a video sending function project by utilizing a VoiceEngine based on a webpage instant messaging protocol;
step for responding to connection request
The SIP server transmits an invitation instruction to the video receiving end, and the video receiving end returns a preset agreement instruction to the SIP server to establish the connection if receiving the invitation after receiving the invitation instruction transmitted by the SIP server; if the invitation is not accepted, returning a preset refusing instruction to the SIP server, and releasing the established local engine and the corresponding video sending function project thereof after the video sending end receives the refusing instruction transmitted from the SIP; finishing the communication;
procedure for establishing a continuous channel
When a video receiving end and a video sending end establish connection, the video sending end sends a confirmation instruction to an SIP server, and simultaneously, the video receiving function item is added with: a video transmission channel capable of continuous transmission is newly built, and channel coding capable of continuous updating is built;
step for performing data transmission
If the video receiving end receives the confirmation instruction transmitted from the SIP server, the following steps are added in the video receiving function item: establishing a continuous video receiving and playing channel; establishing a video cache thread based on continuously updated channel coding;
step for ending video transmission
If the video transmission is finished or the receiving task is finished, the video sending end or the video receiving end transmits a finishing instruction to the SIP server, and the SIP server transmits the finishing instruction to the other party; and after receiving or sending an ending instruction, the video sending end and the sending receiving end respectively establish a video receiving function clearing item by utilizing VoiceEngine based on a webpage instant messaging protocol.
In a further improvement of the foregoing video processing method based on web page instant messaging and IP communication, in step 1, the video sending function item at least includes: the system comprises a video transmitting end, a video receiving end, a video playing device list and a video playing device list, wherein the video transmitting end is used for starting the initialization setting of local parameters of the video transmitting end, creating an independent video transmitting engine and establishing a necessary audio and video playing device list;
the video processing method based on the webpage instant messaging and the IP communication is further improved, the video is transmitted after the IP communication conversion, specifically, data conversion is carried out on video signals collected or stored by a video sending end according to the requirement of an encoder, and the quantized video data are sent to a cache region.
The video processing method based on the webpage instant messaging and the IP communication is further improved, the coding scheme is based on the existing H.264 coding standard, and specifically, for the video data to be transmitted, a network adaptation layer is established for carrying out corresponding configuration and head information management on the data; establishing a video coding layer for directly coding video data; an encoder processes video signals according to an inter-frame prediction coding scheme by taking macro blocks as units and sequentially processing an original video frame by frame, wherein inter-frame prediction is vertically obtained by motion compensation calculation of a coded reference picture;
the video processing method based on the webpage instant messaging and the IP communication is further improved, wherein the step 2 further comprises the steps of establishing a local engine and a video receiving function project by utilizing VoiceEngine based on a webpage instant messaging protocol; the video receiving function items at least include: the method is used for starting the initialization setting of the local parameters of the video receiving end.
In step 5, the video receiving function clearing item at least includes: releasing the corresponding memory resource and deleting the engine.
The beneficial effects are that:
the video processing method based on the webpage instant messaging and the IP communication is based on the online webpage instant messaging technology and the IP mutual answering mechanism, the SIP server is used as a bridge, the high-compatibility video mutual transmission function based on the same standard equipment is achieved, and the video processing method can be applied to various occasions such as online video playing transmission based on webpage modes such as a web browser.
Drawings
The present application is not attached.
Detailed Description
The present application will be described in detail with reference to specific examples.
The video processing method based on the webpage instant messaging and the IP communication is mainly used for providing a video processing method which is suitable for webpage online playing and is convenient for building an online video transmission and interactive transmission network in a light and ageing-suitable environment of a mobile terminal.
The basic hardware structure comprises a video sending end and a video receiving end based on an SIP protocol, and an SIP server; the video transmission comprises the following steps:
step 1 step for establishing a connection request
For a video sending end, firstly transmitting an invitation instruction to an SIP server to clarify a called party to the SIP server, and simultaneously establishing a local engine and a video sending function project by utilizing a VoiceEngine based on a webpage instant messaging protocol;
the video transmission function item at least includes: the system comprises a video transmitting end, a video receiving end, a video playing device list and a video playing device list, wherein the video transmitting end is used for starting the initialization setting of local parameters of the video transmitting end, creating an independent video transmitting engine and establishing a necessary audio and video playing device list;
the video is transmitted after IP communication conversion, specifically, data conversion is carried out on video signals collected or stored by a video sending end according to the requirement of an encoder, and quantized video data are sent to a cache region;
in this embodiment, the encoding scheme is based on the current h.264 encoding standard, and specifically, for video data to be transmitted, a network adaptation layer is established for performing corresponding configuration and header information management on the data; establishing a video coding layer for directly coding video data;
specifically, in this embodiment, the encoder processes the video signal according to an inter-frame prediction encoding scheme in the order of sequentially processing the original video frame by taking the macro block as a unit, where the inter-frame prediction is vertically calculated by motion compensation from the encoded reference picture;
step 2 step for responding to connection request
The SIP server transmits an invitation instruction to the video receiving end, and the video receiving end returns a preset agreement instruction to the SIP server to establish the connection if receiving the invitation after receiving the invitation instruction transmitted by the SIP server; meanwhile, based on a webpage instant messaging protocol, a local engine and a video receiving function project are established by utilizing a VoiceEngine; the video receiving function items at least include: the initialization setting is used for starting the local parameters of the video receiving end;
if the invitation is not accepted, returning a preset refusing instruction to the SIP server, and releasing the established local engine and the corresponding video sending function project thereof after the video sending end receives the refusing instruction transmitted from the SIP; finishing the communication;
step 3 step for establishing a continuous channel
If the connection between the video receiving end and the video sending end is established, the video sending end sends a confirmation instruction to the SIP server, and meanwhile, the following steps are added in the video receiving function project: a video transmission channel capable of continuous transmission is newly built, and channel coding capable of continuous updating is built;
step 4 step for performing data transmission
If the video receiving end receives the confirmation instruction transmitted from the SIP server, the following steps are added in the video receiving function item: establishing a continuous video receiving and playing channel; establishing a video cache thread based on continuously updated channel coding;
step 5 step for ending video transmission
If the video transmission is finished or the receiving task is finished, the video sending end or the video receiving end transmits a finishing instruction to the SIP server, and the SIP server transmits the finishing instruction to the other party;
after receiving or sending an ending instruction, the video sending end and the sending receiving end respectively establish a video receiving function clearing item by utilizing VoiceEngine based on a webpage instant messaging protocol;
the video reception function clearing item includes at least: releasing the corresponding memory resource and deleting the engine.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the protection scope of the present application, and although the present application is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.
Claims (6)
1. A video processing method based on webpage instant messaging and IP communication is characterized by comprising a video sending end and a video receiving end based on an SIP protocol and an SIP server; the video transmission comprises the following steps:
step 1 step for establishing a connection request
For a video sending end, firstly transmitting an invitation instruction to an SIP server to clarify a called party to the SIP server, and simultaneously establishing a local engine and a video sending function project by utilizing a VoiceEngine based on a webpage instant messaging protocol;
step 2 step for responding to connection request
The SIP server transmits an invitation instruction to the video receiving end, and the video receiving end returns a preset agreement instruction to the SIP server to establish the connection if receiving the invitation after receiving the invitation instruction transmitted by the SIP server; if the invitation is not accepted, returning a preset refusing instruction to the SIP server, and releasing the established local engine and the corresponding video sending function project thereof after the video sending end receives the refusing instruction transmitted from the SIP; finishing the communication;
step 3 step for establishing a continuous channel
When a video receiving end and a video sending end establish connection, the video sending end sends a confirmation instruction to an SIP server, and simultaneously, the video receiving function item is added with: a video transmission channel capable of continuous transmission is newly built, and channel coding capable of continuous updating is built;
step 4 step for performing data transmission
If the video receiving end receives the confirmation instruction transmitted from the SIP server, the following steps are added in the video receiving function item: establishing a continuous video receiving and playing channel; establishing a video cache thread based on continuously updated channel coding;
step 5 step for ending video transmission
If the video transmission is finished or the receiving task is finished, the video sending end or the video receiving end transmits a finishing instruction to the SIP server, and the SIP server transmits the finishing instruction to the other party; and after receiving or sending an ending instruction, the video sending end and the sending receiving end respectively establish a video receiving function clearing item by utilizing VoiceEngine based on a webpage instant messaging protocol.
2. The video processing method according to claim 1, wherein in step 1, the video sending function at least comprises: the method is used for starting the initialization setting of local parameters of a video sending end, creating an independent video sending engine and establishing a necessary audio and video playing device list.
3. The video processing method according to claim 2, wherein the video is transmitted after being converted by IP communication, specifically, for a video signal collected or stored by a video sending end, data conversion is performed according to the requirement of an encoder, and quantized video data is sent to a buffer area.
4. The video processing method based on the web page instant messaging and the IP communication as claimed in claim 3, wherein the encoding scheme is based on the current h.264 encoding standard, specifically, for the video data to be transmitted, a network adaptation layer is established for performing corresponding configuration and header information management on the data; establishing a video coding layer for directly coding video data; the encoder processes video signals according to an inter-frame prediction coding scheme by taking macro blocks as units and sequentially processing the original video frame by frame, wherein the inter-frame prediction is vertically obtained by motion compensation calculation of a coded reference picture.
5. The video processing method based on web page instant messaging and IP communication as claimed in claim 1, wherein the step 2 further comprises establishing a local engine and a video receiving function item by using VoiceEngine based on web page instant messaging protocol; the video receiving function items at least include: the method is used for starting the initialization setting of the local parameters of the video receiving end.
6. The method as claimed in claim 1, wherein the video receiving function clearing item in step 5 comprises at least: releasing the corresponding memory resource and deleting the engine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110008530.0A CN112769818A (en) | 2021-01-05 | 2021-01-05 | Video processing method based on webpage instant messaging and IP communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110008530.0A CN112769818A (en) | 2021-01-05 | 2021-01-05 | Video processing method based on webpage instant messaging and IP communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112769818A true CN112769818A (en) | 2021-05-07 |
Family
ID=75699329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110008530.0A Pending CN112769818A (en) | 2021-01-05 | 2021-01-05 | Video processing method based on webpage instant messaging and IP communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112769818A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100954A (en) * | 2014-05-07 | 2015-11-25 | 朱达欣 | Interactive response system and method based on Internet communication and streaming media live broadcast |
US20150373057A1 (en) * | 2014-06-24 | 2015-12-24 | Avaya Inc. | ENHANCING MEDIA CHARACTERISTICS DURING WEB REAL-TIME COMMUNICATIONS (WebRTC) INTERACTIVE SESSIONS BY USING SESSION INITIATION PROTOCOL (SIP) ENDPOINTS, AND RELATED METHODS, SYSTEMS, AND COMPUTER-READABLE MEDIA |
CN107040458A (en) * | 2017-03-23 | 2017-08-11 | 中国南方电网有限责任公司 | A kind of method and system for realizing video conference intercommunication |
CN107295004A (en) * | 2017-07-21 | 2017-10-24 | 881飞号通讯有限公司 | A kind of network voice communication method realized based on web page communication plug-in unit and system |
CN107465935A (en) * | 2016-06-06 | 2017-12-12 | 中兴通讯股份有限公司 | A kind of net cast method, user equipment and unmanned controller |
CN107682657A (en) * | 2017-09-13 | 2018-02-09 | 中山市华南理工大学现代产业技术研究院 | A kind of multi-person speech video call method and system based on WebRTC |
CN107809683A (en) * | 2017-11-22 | 2018-03-16 | 广东电网有限责任公司教育培训评价中心 | A kind of live broadcast system and method without plug-in unit based on browser |
CN108234398A (en) * | 2016-12-15 | 2018-06-29 | 中国电信股份有限公司 | Multimedia communication method and system and relevant device |
CN109995734A (en) * | 2017-12-30 | 2019-07-09 | 中国科学院沈阳计算技术研究所有限公司 | A kind of communication means of the WebRTC based on Session Initiation Protocol |
CN110430383A (en) * | 2019-08-06 | 2019-11-08 | 聚好看科技股份有限公司 | Terminal, signal server, audio/video communication method and computer storage medium |
CN111988555A (en) * | 2019-05-21 | 2020-11-24 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
-
2021
- 2021-01-05 CN CN202110008530.0A patent/CN112769818A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100954A (en) * | 2014-05-07 | 2015-11-25 | 朱达欣 | Interactive response system and method based on Internet communication and streaming media live broadcast |
US20150373057A1 (en) * | 2014-06-24 | 2015-12-24 | Avaya Inc. | ENHANCING MEDIA CHARACTERISTICS DURING WEB REAL-TIME COMMUNICATIONS (WebRTC) INTERACTIVE SESSIONS BY USING SESSION INITIATION PROTOCOL (SIP) ENDPOINTS, AND RELATED METHODS, SYSTEMS, AND COMPUTER-READABLE MEDIA |
CN107465935A (en) * | 2016-06-06 | 2017-12-12 | 中兴通讯股份有限公司 | A kind of net cast method, user equipment and unmanned controller |
CN108234398A (en) * | 2016-12-15 | 2018-06-29 | 中国电信股份有限公司 | Multimedia communication method and system and relevant device |
CN107040458A (en) * | 2017-03-23 | 2017-08-11 | 中国南方电网有限责任公司 | A kind of method and system for realizing video conference intercommunication |
CN107295004A (en) * | 2017-07-21 | 2017-10-24 | 881飞号通讯有限公司 | A kind of network voice communication method realized based on web page communication plug-in unit and system |
CN107682657A (en) * | 2017-09-13 | 2018-02-09 | 中山市华南理工大学现代产业技术研究院 | A kind of multi-person speech video call method and system based on WebRTC |
CN107809683A (en) * | 2017-11-22 | 2018-03-16 | 广东电网有限责任公司教育培训评价中心 | A kind of live broadcast system and method without plug-in unit based on browser |
CN109995734A (en) * | 2017-12-30 | 2019-07-09 | 中国科学院沈阳计算技术研究所有限公司 | A kind of communication means of the WebRTC based on Session Initiation Protocol |
CN111988555A (en) * | 2019-05-21 | 2020-11-24 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
CN110430383A (en) * | 2019-08-06 | 2019-11-08 | 聚好看科技股份有限公司 | Terminal, signal server, audio/video communication method and computer storage medium |
Non-Patent Citations (1)
Title |
---|
尹文刚等: "Android平台上基于HTML5+WebRTC的视频会议系统", 《单片机与嵌入式系统应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102883135B (en) | Screen sharing and control method | |
CN100471114C (en) | Method and system for accessing computer resource through mobile terminal | |
CN107682657A (en) | A kind of multi-person speech video call method and system based on WebRTC | |
CN102325181B (en) | Instant audio/video interactive communication method based on sharing service and instant audio/video interactive communication system based on sharing service | |
CN1448019A (en) | On time speech information | |
CN101282454A (en) | Video communication system based on IP set-top box | |
KR20110058739A (en) | Video data receiving and sending systems for videophone and video data processing method thereof | |
CN101309203A (en) | Network media service method | |
Chen et al. | Personalized multimedia services using a mobile service platform | |
WO2014142342A1 (en) | Distribution control system, distribution control method, and computer-readable storage medium | |
CN111787399A (en) | Video playing method, device and system | |
KR100628322B1 (en) | System for mediating convergence services of communication and broadcasting using non-communicative appliance | |
CN100568956C (en) | The method that a kind of Streaming Media is play fast | |
CN110418194B (en) | Video distribution method and base station | |
CN112769818A (en) | Video processing method based on webpage instant messaging and IP communication | |
CN102438119B (en) | Audio/video communication system of digital television | |
CN112839192A (en) | Audio and video communication system and method based on browser | |
US20080107249A1 (en) | Apparatus and method of controlling T-communication convergence service in wired-wireless convergence network | |
KR100456026B1 (en) | System for getting profile information of mobile communicators and method thereof | |
CN103716651A (en) | Image processing device, image processing method, and image processing system | |
CN112804536B (en) | System and method for requesting audio and video by browser based on cloud video fusion platform | |
KR100612316B1 (en) | multimedia system using Moving Picture Experts Group Transport Stream | |
CN111787417A (en) | Audio and video transmission control method based on artificial intelligence AI and related equipment | |
CN101217503A (en) | A capacity exchange, system and instant communication system of instant communication video and audio | |
US20080052631A1 (en) | System and method for executing server applications in mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210507 |