Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleThe model that the present invention protects all should belong in member's every other embodiment obtained without making creative workIt encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this wayData be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited toStep or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, productOr other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of live-broadcast control method is provided, optionally, above-mentioned live streaming controlMethod can be, but not limited to be applied to during main broadcaster is broadcast live or user is in live streaming client viewing live streaming and otherDuring user interacts.It is illustrated below with the process that main broadcaster is broadcast live.Fig. 1 is a kind of optional above-mentioned live streamingThe application scenarios schematic diagram of control method.As shown in Figure 1, the client of the live streaming application in terminal 102 is adopted by step S102Collect audio data, and change of voice instruction is obtained by step S104, is referred to audio data with the change of voice got by step S106The server 106 that live streaming application is sent to by network 104 is enabled, the server 106 that application is broadcast live passes through step S108 to audioData carry out voice change process, obtain target audio data.
Optionally, above-mentioned terminal can include but is not limited at least one of: mobile phone, tablet computer, laptopDeng.Above-mentioned network can include but is not limited to wireless network, wherein the wireless network includes: bluetooth, WIFI and other realization nothingsThe network of line communication.The server of above-mentioned live streaming application can include but is not limited to any hardware device that can be calculated.
It should be noted that in the present embodiment, acquiring the audio data to be shared by the client of live streaming application;During acquiring audio data, obtains and is executed by operation and is generated for operation interface shown in the client of live streaming applicationThe change of voice instruction, by target change of voice type and audio data be sent to live streaming application server so that live streaming application serviceDevice carries out voice change process according to target change of voice type, to audio data, obtains playing out for sharing to client end of playing backTarget audio data obtain audio data and target change of voice type in the client of live streaming application so as to realize, and pass throughLive streaming application server carries out the purpose that processing obtains target audio data to audio data, and it is complicated for operation to have reached simplified live streamingThe technical effect of degree, and then solve the problems, such as that live streaming operation complexity is high in the related technology.
Optionally, as a kind of optional mode, as shown in Fig. 2, above-mentioned live-broadcast control method may include:
S202 acquires the audio data to be shared by the client of live streaming application;
S204 is obtained during acquiring audio data to operation interface shown in the client of live streaming applicationThe change of voice instruction for executing operation and generating, wherein carry target change of voice type in change of voice instruction;
Target change of voice type and audio data are sent to the server of live streaming application by S206, so that the clothes of live streaming applicationDevice be engaged according to target change of voice type, voice change process is carried out to audio data, obtains playing out for sharing to client end of playing backTarget audio data.S202 acquires the audio data to be shared by the client of live streaming application;
Optionally, above-mentioned live-broadcast control method can obtain change of voice instruction by the following method: obtain in operation interfaceThe change of voice that shown key corresponding with target change of voice type executes clicking operation and generates instructs;Or according to operation interfaceIn shown prompt information obtain voice messaging corresponding with target change of voice type;Change of voice instruction is generated according to voice messaging.
For example, being illustrated with the scene that main broadcaster is broadcast live, above-mentioned audio data can be the interaction language of main broadcaster.Such asShown in Fig. 3, in Fig. 3 in the interface of live streaming, main broadcaster is being broadcast live.When live streaming client gets the interaction language of main broadcasterAfterwards, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then by the interaction language of main broadcaster and masterSelected droning option record is broadcast, and is sent to the server of live streaming application.Live streaming application server is according to gettingDroning target change of voice type handles interaction language according to target change of voice type is droning, obtains processing target audio numberAccording to.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
It should be noted that above-mentioned conclusion " terminating, uncle " is only a kind of example, conclusion this implementation that is specifically arrangedExample is without limitation.
Optionally, before obtaining change of voice instruction, further includes: obtain the idsplay order for requesting operation display interface;Respond idsplay order operation display interface in the client of live streaming application.Optionally, above-mentioned idsplay order can be user coupleThe clicking operation of fixed area is perhaps in presumptive area the click pointer of the clicking operation of pre-set button or userCertain period of time etc..
It, can be with as shown in figure 5, when main broadcaster is broadcast live for example, carry out that explanation continuing with the process of main broadcaster's live streamingOperation interface is hidden.A button is shown in the client of live streaming application, after user clicks button, application is broadcast liveOperation interface is shown that optionally, operation interface shows that result can be result shown in Fig. 3 by client.Alternatively, straightA presumptive area is arranged in the client for broadcasting application, when the click pointer such as mouse pointer of user hovers over one in presumptive areaAfter fixing time, hiding operation interface can be shown.
It should be noted that the mode of above-mentioned acquisition idsplay order is only optional example, can also specifically be touched for userTouch terminal interface reach the predetermined time perhaps user execute screen sliding operation or user double-click terminal interface etc..This implementationExample is not specifically limited in this embodiment.
Optionally, it when showing aforesaid operations interface, can be shown by the following method: in the client of live streaming applicationDisplaying target figure layer is covered on the live streaming interface at end, wherein live streaming interface is used to show that the client of live streaming application to be acquiredThe picture arrived;The operation display interface in target figure layer;Or it is shown in the first display area of the client in live streaming applicationInterface is broadcast live, the operation display interface in the second display area of the client of live streaming application, wherein live streaming interface is for showingThe collected picture of client institute of application is broadcast live.
Optionally, displaying target figure layer is less than or equal to live streaming interface
For example, be illustrated continuing with main broadcaster's live streaming, as shown in fig. 6, in user live broadcast, when receiving display operationAfter the instruction at interface, one layer of show layers, the operation display interface on show layers can be covered on live streaming interface.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
It is alternatively possible to which account rank, different accounts is arranged in the user account for the client of each live streaming applicationRank corresponds to different change of voice types.It, will be corresponding with target rank in the case where account rank indicates miss the mark rankThe display state of change of voice type be adjusted to disabled status;It, will be with mesh in the case where the instruction of account rank reaches the other situation of target levelThe display state of the corresponding change of voice type of mark rank is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Optionally, the change of voice that operation is executed to operation interface shown in the client of live streaming application and is generated is being obtainedAfter instruction, further includes: obtain change of voice mode, wherein change of voice mode be used to indicate audio data according to target change of voice type intoThe period of the row change of voice;It include: by the target change of voice by the server that target change of voice type and audio data are sent to live streaming applicationType, audio data and change of voice mode are sent to the server of live streaming application.
Optionally, above-mentioned change of voice mode can be in the client-side editing of live streaming application.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Optionally, during acquiring audio data, further includes: obtain buffer area adjustment instruction;Response buffering area tuneThe storage size of buffer area in the client of whole instruction adjustment live streaming application.
Optionally, above-mentioned adjustment instruction can be the memory space of the memory space for increasing buffer area, diminution buffer area, orThe memory space of buffer area is adjusted to target value etc. by person.
By the embodiment of the present application, the audio data to be shared is acquired by the client of live streaming application;In acquisition soundFrequency obtains the change of voice for executing operation to operation interface shown in the client of live streaming application and generating and refers to duringIt enables, target change of voice type and audio data is sent to the server of live streaming application, so that the server of live streaming application is according to meshChange of voice type is marked, voice change process is carried out to audio data, is obtained for sharing the target audio played out to client end of playing backThe method of data obtains audio data and target change of voice type in the client of live streaming application so as to realize, and by straightIt broadcasts application server and the purpose that processing obtains target audio data is carried out to audio data, reached simplified live streaming operation complexityTechnical effect, solve the problems, such as to be broadcast live in the related technology complicated for operation.
As a kind of optional embodiment, during acquiring audio data, the client to live streaming application is obtainedIn the change of voice instruction that executes operation and generate of shown operation interface include at least one of:
S1 is obtained and key corresponding with target change of voice type shown in operation interface is executed clicking operation and generatedThe change of voice instruction;Or
S2 obtains voice messaging corresponding with target change of voice type according to prompt information shown in operation interface;RootChange of voice instruction is generated according to voice messaging.
For example, as shown in figure 3, main broadcaster is being broadcast live in Fig. 3 in the interface of live streaming.When live streaming client obtainsTo after the interaction language of main broadcaster, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then it will leadThe interaction language broadcast and the selected droning option of main broadcaster record, and are sent to the server of live streaming application.Live streaming application clothesDevice be engaged according to the droning target change of voice type got, interaction language is handled according to target change of voice type is droning, is obtainedTo processing target audio data.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
By the embodiment of the present application, change of voice instruction is generated by using different methods, is referred to improve and obtain the change of voiceThe flexibility ratio of order, and then live streaming control operation is simplified, improve live streaming control efficiency.
As a kind of optional embodiment, operation interface shown in the client of live streaming application is executed obtainingIt operates and before the change of voice instruction of generation, further includes:
S1 obtains the idsplay order for requesting operation display interface;
S2, response idsplay order operation display interface in the client of live streaming application.
For example, as shown in figure 5, operation interface can be hidden when main broadcaster is broadcast live.In the client of live streaming applicationOn show a button, user click button after, the client that application is broadcast live shows operation interface, optionally,Operation interface shows that result can be result shown in Fig. 3.Alternatively, as another optional mode, in the visitor of live streaming applicationA presumptive area is arranged in family end, when the click pointer such as mouse pointer of user hovers in presumptive area after a certain period of time,Hiding operation interface can be shown.
By the embodiment of the present application, by the idsplay order of acquisition request operation display interface, and it is aobvious to respond idsplay orderShow operation interface, to realize the purpose according to idsplay order operation display interface, avoids operation interface and show for a long timeThe problem of live streaming interface is occupied to block live streaming interface, improves the efficiency of live streaming control.
As a kind of optional embodiment, idsplay order operation display interface packet in the client of live streaming application is respondedInclude at least one of:
(1) displaying target figure layer is covered on the live streaming interface of the client of live streaming application, wherein live streaming interface is used forThe collected picture of client institute of display live streaming application;The operation display interface in target figure layer;Or
(2) live streaming interface is shown in the first display area of the client of live streaming application, in the client of live streaming applicationThe second display area in operation display interface, wherein live streaming interface is used to show that the client of live streaming application to be collectedPicture.
For example, as shown in fig. 6, after receiving the instruction of operation display interface, boundary can be broadcast live in user live broadcastOne layer of show layers, the operation display interface on show layers are covered on face.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
Through this embodiment, by using distinct methods operation display interface, so that control complexity be broadcast live simplifyingMeanwhile improving the flexibility of operation display interface.
As a kind of optional embodiment, operation interface shown in the client of live streaming application is executed obtainingIt operates and before the change of voice instruction of generation, further includes:
S1 obtains the account information of the user account of the client using live streaming application, wherein carry in account informationThe account rank of user account;
S2 shows change of voice type corresponding with account rank in operation interface.
Wherein, show that change of voice type corresponding with account rank includes: in operation interface
S21, in the case where account rank indicates miss the mark rank, by change of voice type corresponding with target rankDisplay state is adjusted to disabled status;
S22, in the case where the instruction of account rank reaches the other situation of target level, by the aobvious of change of voice type corresponding with target rankShow that state is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Through this embodiment, by the way that corresponding change of voice type is arranged for the user account of different stage, thus straight simplifyingOn the basis of Broadcast Control operation complexity, the flexibility of live streaming control is improved.
As a kind of optional embodiment,
It is instructed obtaining the change of voice for executing operation to operation interface shown in the client of live streaming application and generatingAfterwards, further includes: S1 obtains change of voice mode, wherein change of voice mode is used to indicate audio data and is become according to target change of voice typeThe period of sound;
By target change of voice type and audio data be sent to live streaming application server include: S1, by target change of voice type,Audio data and change of voice mode are sent to the server of live streaming application.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Through this embodiment, by the way that change of voice mode is arranged, to need the change of voice according in change of voice mode specific audio frequency dataPeriod, to improve the flexibility of the change of voice on the basis of simplifying and control operation complexity is broadcast live.
As a kind of optional embodiment, during acquiring audio data, further includes:
S1 obtains buffer area adjustment instruction;
The storage size of buffer area in the client of application is broadcast live in S2, the adjustment of response buffering area adjustment instruction.
For example, continuing to be illustrated with main broadcaster's live streaming, the client that application is broadcast live can receive the buffer area of main broadcaster's sendingAdjustment instruction.The order being adjusted to buffer area is carried in the adjustment instruction of buffer area.For example, buffer area is reduced 1,000,000,Then, the memory space of buffer area is reduced 1,000,000 by the client that application is broadcast live.
Through this embodiment, it by obtaining buffer area adjustment instruction, and is adjusted in client according to buffer area adjustment instructionThe storage size of buffer area, so that the delay of the change of voice is reduced on the basis of simplifying the complexity that control operation is broadcast live,Improve the speed of the change of voice.
As a kind of optional embodiment, in the service that target change of voice type and audio data are sent to live streaming applicationAfter device, further includes:
S1, the server that application is broadcast live carry out voice change process to audio data according to target change of voice type, obtain target soundFrequency evidence;
S2, target audio data are sent to content distributing server by the server that application is broadcast live, so that client end of playing backThe target audio data to be played are pulled from content distributing server.
For example, being illustrated in conjunction with Fig. 8.As shown in figure 8, the client 802 of live streaming application acquires sound by step S802Frequency obtains change of voice instruction after, through step S804, and collected audio data is instructed with the change of voice and is sent out by step S806The server 806 for giving live streaming application, the server 806 that application is broadcast live carry out at the change of voice audio data by step S808Reason, and target audio data are sent to by content distributing server 804 by step S810.The client 808 of live streaming application is logicalIt crosses step S812 and pulls target audio data from content distributing server 804.
Through this embodiment, by set content the distribution server, target audio data is stored, are answered so as to avoid live streamingServer stores the problem of a large amount of target audio data, improves change on the basis of simplifying and control operation complexity is broadcast liveThe stability of sound.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series ofCombination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described becauseAccording to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also knowIt knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the inventionIt is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very muchIn the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existingThe part that technology contributes can be embodied in the form of software products, which is stored in a storageIn medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculateMachine, server or network equipment etc.) method that executes each embodiment of the present invention.
According to another aspect of the present invention, a kind of live-broadcast control method is additionally provided, as shown in figure 9, above-mentioned live streaming controlsMethod includes:
S902 obtains target change of voice type and audio data that the client of live streaming application is sent, wherein audio data isThe client of live streaming application collects the data to be shared;
S904 carries out voice change process to audio data according to target change of voice type, obtains for sharing to client end of playing backThe target audio data played out;
Target audio data are sent to content distributing server by S906, so that client end of playing back is from content distribution serviceDevice pulls the target audio data to be played.
Optionally, above-mentioned terminal can include but is not limited at least one of: mobile phone, tablet computer, laptopDeng.Above-mentioned network can include but is not limited to wireless network, wherein the wireless network includes: bluetooth, WIFI and other realization nothingsThe network of line communication.The server of above-mentioned live streaming application can include but is not limited at least one of: laptop, PC machineAnd other are used to calculate the equipment serviced.
Optionally, above-mentioned live-broadcast control method can obtain change of voice instruction by the following method: obtain in operation interfaceThe change of voice that shown key corresponding with target change of voice type executes clicking operation and generates instructs;Or according to operation interfaceIn shown prompt information obtain voice messaging corresponding with target change of voice type;Change of voice instruction is generated according to voice messaging.
For example, being illustrated with the scene that main broadcaster is broadcast live, above-mentioned audio data can be the interaction language of main broadcaster.Such asShown in Fig. 3, in Fig. 3 in the interface of live streaming, main broadcaster is being broadcast live.When live streaming client gets the interaction language of main broadcasterAfterwards, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then by the interaction language of main broadcaster and masterSelected droning option record is broadcast, and is sent to the server of live streaming application.Live streaming application server is according to gettingDroning target change of voice type handles interaction language according to target change of voice type is droning, obtains processing target audio numberAccording to.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
It should be noted that above-mentioned conclusion " terminating, uncle " is only a kind of example, conclusion this implementation that is specifically arrangedExample is without limitation.
Optionally, before obtaining change of voice instruction, further includes: obtain the idsplay order for requesting operation display interface;Respond idsplay order operation display interface in the client of live streaming application.Optionally, above-mentioned idsplay order can be user coupleThe clicking operation of fixed area is perhaps in presumptive area the click pointer of the clicking operation of pre-set button or userCertain period of time etc..
It, can be with as shown in figure 5, when main broadcaster is broadcast live for example, carry out that explanation continuing with the process of main broadcaster's live streamingOperation interface is hidden.A button is shown in the client of live streaming application, after user clicks button, application is broadcast liveOperation interface is shown that optionally, operation interface shows that result can be result shown in Fig. 3 by client.Alternatively, straightA presumptive area is arranged in the client for broadcasting application, when the click pointer such as mouse pointer of user hovers over one in presumptive areaAfter fixing time, hiding operation interface can be shown.
It should be noted that the mode of above-mentioned acquisition idsplay order is only optional example, can also specifically be touched for userTouch terminal interface reach the predetermined time perhaps user execute screen sliding operation or user double-click terminal interface etc..This implementationExample is not specifically limited in this embodiment.
Optionally, it when showing aforesaid operations interface, can be shown by the following method: in the client of live streaming applicationDisplaying target figure layer is covered on the live streaming interface at end, wherein live streaming interface is used to show that the client of live streaming application to be acquiredThe picture arrived;The operation display interface in target figure layer;Or it is shown in the first display area of the client in live streaming applicationInterface is broadcast live, the operation display interface in the second display area of the client of live streaming application, wherein live streaming interface is for showingThe collected picture of client institute of application is broadcast live.
Optionally, displaying target figure layer is less than or equal to live streaming interface
For example, be illustrated continuing with main broadcaster's live streaming, as shown in fig. 6, in user live broadcast, when receiving display operationAfter the instruction at interface, one layer of show layers, the operation display interface on show layers can be covered on live streaming interface.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
It is alternatively possible to which account rank, different accounts is arranged in the user account for the client of each live streaming applicationRank corresponds to different change of voice types.It, will be corresponding with target rank in the case where account rank indicates miss the mark rankThe display state of change of voice type be adjusted to disabled status;It, will be with mesh in the case where the instruction of account rank reaches the other situation of target levelThe display state of the corresponding change of voice type of mark rank is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Optionally, the change of voice that operation is executed to operation interface shown in the client of live streaming application and is generated is being obtainedAfter instruction, further includes: obtain change of voice mode, wherein change of voice mode be used to indicate audio data according to target change of voice type intoThe period of the row change of voice;It include: by the target change of voice by the server that target change of voice type and audio data are sent to live streaming applicationType, audio data and change of voice mode are sent to the server of live streaming application.
Optionally, above-mentioned change of voice mode can be in the client-side editing of live streaming application.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Optionally, during acquiring audio data, further includes: obtain buffer area adjustment instruction;Response buffering area tuneThe storage size of buffer area in the client of whole instruction adjustment live streaming application.
Optionally, above-mentioned adjustment instruction can be the memory space of the memory space for increasing buffer area, diminution buffer area, orThe memory space of buffer area is adjusted to target value etc. by person.
By the embodiment of the present application, the audio data to be shared is acquired by the client of live streaming application;In acquisition soundFrequency obtains the change of voice for executing operation to operation interface shown in the client of live streaming application and generating and refers to duringIt enables, target change of voice type and audio data is sent to the server of live streaming application, so that the server of live streaming application is according to meshChange of voice type is marked, voice change process is carried out to audio data, is obtained for sharing the target audio played out to client end of playing backThe method of data obtains audio data and target change of voice type in the client of live streaming application so as to realize, and by straightIt broadcasts application server and the purpose that processing obtains target audio data is carried out to audio data, reached simplified live streaming operation complexityTechnical effect, solve the problems, such as to be broadcast live in the related technology complicated for operation.
As a kind of optional scheme, according to target change of voice type to audio data carry out voice change process include it is following at leastOne of:
(1) it is adjusted according to word speed of the target change of voice type to audio data;
(2) it is adjusted according to tone of the target change of voice type to audio data;
(3) it is adjusted according to volume of the target change of voice type to audio data.
For example, can be adjusted using overlapping superposition algorithm to the word speed of audio data as shown in Figure 10 and Figure 11.Sa1 and Sa2 is frame shifting, and Sa1 is less than Sa2, then it represents that the word speed of audio data is slack-off.
Or the period of audio data is adjusted by being overlapped superposition algorithm, to change the tone of audio data.
Through this embodiment, it is adjusted by word speed, tone, the volume to audio data, to reach to audioThe effect of the data progress change of voice.
As a kind of optional scheme, voice change process is being carried out to audio data according to target change of voice type, is being used forAfter the target audio data that sharing is played out to client end of playing back, further includes:
S1 obtains the collected picture data of client of live streaming application;Picture data and target audio data are carried outEncapsulation, obtains live data to be sent;
When target audio data are sent to content distributing server, further includes:
Live data comprising target audio data is sent to content distributing server by S1.
For example, audio data is sent to the clothes of live streaming application after receiving audio data by the client of live streaming applicationBusiness device, and the collected picture data of client institute that live streaming is applied, and picture data is encapsulated, it is sent to what live streaming was appliedServer.After the server of live streaming application gets picture data, decompression transcoding is carried out to picture data, and will be after decompression transcodingPicture data and target audio data compression at live data, live data is sent to content distributing server.
Through this embodiment, by the way that live data is sent to content distributing server, thus the client for applying live streamingEnd obtains data from content distributing server, reduces the workload of the server of live streaming application, improves the clothes of live streaming applicationThe working efficiency of business device.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the straight of above-mentioned live-broadcast control methodControl device is broadcast, as shown in figure 12, which includes:
(1) acquisition unit 1202, for acquiring the audio data to be shared by the client of live streaming application;
(2) first acquisition unit 1204, for obtaining the client to live streaming application during acquiring audio dataIn shown operation interface execute operation and the change of voice instruction that generates, wherein carry target change of voice type in change of voice instruction;
(3) transmission unit 1206, for target change of voice type and audio data to be sent to the server of live streaming application, withMake the server of live streaming application according to target change of voice type, voice change process is carried out to audio data, obtains for sharing to broadcastingThe target audio data that client plays out.
Optionally, above-mentioned live-broadcast control method can obtain change of voice instruction by the following method: obtain in operation interfaceThe change of voice that shown key corresponding with target change of voice type executes clicking operation and generates instructs;Or according to operation interfaceIn shown prompt information obtain voice messaging corresponding with target change of voice type;Change of voice instruction is generated according to voice messaging.
For example, being illustrated with the scene that main broadcaster is broadcast live, above-mentioned audio data can be the interaction language of main broadcaster.Such asShown in Fig. 3, in Fig. 3 in the interface of live streaming, main broadcaster is being broadcast live.When live streaming client gets the interaction language of main broadcasterAfterwards, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then by the interaction language of main broadcaster and masterSelected droning option record is broadcast, and is sent to the server of live streaming application.Live streaming application server is according to gettingDroning target change of voice type handles interaction language according to target change of voice type is droning, obtains processing target audio numberAccording to.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
It should be noted that above-mentioned conclusion " terminating, uncle " is only a kind of example, conclusion this implementation that is specifically arrangedExample is without limitation.
Optionally, before obtaining change of voice instruction, further includes: obtain the idsplay order for requesting operation display interface;Respond idsplay order operation display interface in the client of live streaming application.Optionally, above-mentioned idsplay order can be user coupleThe clicking operation of fixed area is perhaps in presumptive area the click pointer of the clicking operation of pre-set button or userCertain period of time etc..
It, can be with as shown in figure 5, when main broadcaster is broadcast live for example, carry out that explanation continuing with the process of main broadcaster's live streamingOperation interface is hidden.A button is shown in the client of live streaming application, after user clicks button, application is broadcast liveOperation interface is shown that optionally, operation interface shows that result can be result shown in Fig. 3 by client.Alternatively, straightA presumptive area is arranged in the client for broadcasting application, when the click pointer such as mouse pointer of user hovers over one in presumptive areaAfter fixing time, hiding operation interface can be shown.
It should be noted that the mode of above-mentioned acquisition idsplay order is only optional example, can also specifically be touched for userTouch terminal interface reach the predetermined time perhaps user execute screen sliding operation or user double-click terminal interface etc..This implementationExample is not specifically limited in this embodiment.
Optionally, it when showing aforesaid operations interface, can be shown by the following method: in the client of live streaming applicationDisplaying target figure layer is covered on the live streaming interface at end, wherein live streaming interface is used to show that the client of live streaming application to be acquiredThe picture arrived;The operation display interface in target figure layer;Or it is shown in the first display area of the client in live streaming applicationInterface is broadcast live, the operation display interface in the second display area of the client of live streaming application, wherein live streaming interface is for showingThe collected picture of client institute of application is broadcast live.
Optionally, displaying target figure layer is less than or equal to live streaming interface
For example, be illustrated continuing with main broadcaster's live streaming, as shown in fig. 6, in user live broadcast, when receiving display operationAfter the instruction at interface, one layer of show layers, the operation display interface on show layers can be covered on live streaming interface.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
It is alternatively possible to which account rank, different accounts is arranged in the user account for the client of each live streaming applicationRank corresponds to different change of voice types.It, will be corresponding with target rank in the case where account rank indicates miss the mark rankThe display state of change of voice type be adjusted to disabled status;It, will be with mesh in the case where the instruction of account rank reaches the other situation of target levelThe display state of the corresponding change of voice type of mark rank is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Optionally, the change of voice that operation is executed to operation interface shown in the client of live streaming application and is generated is being obtainedAfter instruction, further includes: obtain change of voice mode, wherein change of voice mode be used to indicate audio data according to target change of voice type intoThe period of the row change of voice;It include: by the target change of voice by the server that target change of voice type and audio data are sent to live streaming applicationType, audio data and change of voice mode are sent to the server of live streaming application.
Optionally, above-mentioned change of voice mode can be in the client-side editing of live streaming application.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Optionally, during acquiring audio data, further includes: obtain buffer area adjustment instruction;Response buffering area tuneThe storage size of buffer area in the client of whole instruction adjustment live streaming application.
Optionally, above-mentioned adjustment instruction can be the memory space of the memory space for increasing buffer area, diminution buffer area, orThe memory space of buffer area is adjusted to target value etc. by person.
By the embodiment of the present application, the audio data to be shared is acquired by the client of live streaming application;In acquisition soundFrequency obtains the change of voice for executing operation to operation interface shown in the client of live streaming application and generating and refers to duringIt enables, target change of voice type and audio data is sent to the server of live streaming application, so that the server of live streaming application is according to meshChange of voice type is marked, voice change process is carried out to audio data, is obtained for sharing the target audio played out to client end of playing backThe method of data obtains audio data and target change of voice type in the client of live streaming application so as to realize, and by straightIt broadcasts application server and the purpose that processing obtains target audio data is carried out to audio data, reached simplified live streaming operation complexityTechnical effect, solve the problems, such as to be broadcast live in the related technology complicated for operation.
As a kind of optional embodiment, above-mentioned first acquisition unit 1204 includes at least one of:
First obtains module, executes for obtaining to key corresponding with target change of voice type shown in operation interfaceClicking operation and generate the change of voice instruction;Or
Second obtains module, corresponding with target change of voice type for being obtained according to prompt information shown in operation interfaceVoice messaging;Change of voice instruction is generated according to voice messaging.
For example, as shown in figure 3, main broadcaster is being broadcast live in Fig. 3 in the interface of live streaming.When live streaming client obtainsTo after the interaction language of main broadcaster, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then it will leadThe interaction language broadcast and the selected droning option of main broadcaster record, and are sent to the server of live streaming application.Live streaming application clothesDevice be engaged according to the droning target change of voice type got, interaction language is handled according to target change of voice type is droning, is obtainedTo processing target audio data.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
By the embodiment of the present application, change of voice instruction is generated by using different methods, is referred to improve and obtain the change of voiceThe flexibility ratio of order, and then live streaming control operation is simplified, improve live streaming control efficiency.
As a kind of optional embodiment, above-mentioned first acquisition unit 1204 further include:
(1) third obtains module, executes behaviour for the operation interface shown by obtaining the client to live streaming applicationMake to obtain the idsplay order for requesting operation display interface before the change of voice instruction of generation;
(2) display module, for responding idsplay order operation display interface in the client of live streaming application.
For example, as shown in figure 5, operation interface can be hidden when main broadcaster is broadcast live.In the client of live streaming applicationOn show a button, user click button after, the client that application is broadcast live shows operation interface, optionally,Operation interface shows that result can be result shown in Fig. 3.Alternatively, as another optional mode, in the visitor of live streaming applicationA presumptive area is arranged in family end, when the click pointer such as mouse pointer of user hovers in presumptive area after a certain period of time,Hiding operation interface can be shown.
By the embodiment of the present application, by the idsplay order of acquisition request operation display interface, and it is aobvious to respond idsplay orderShow operation interface, to realize the purpose according to idsplay order operation display interface, avoids operation interface and show for a long timeThe problem of live streaming interface is occupied to block live streaming interface, improves the efficiency of live streaming control.
As a kind of optional embodiment, above-mentioned display module includes at least one of:
(1) first display sub-module, for covering displaying target figure on the live streaming interface of the client of live streaming applicationLayer, wherein live streaming interface is used to show the collected picture of client institute of live streaming application;Display operation circle in target figure layerFace;Or
(2) second display sub-modules, for showing live streaming interface in the first display area of the client of live streaming application,The operation display interface in the second display area of the client of live streaming application, wherein live streaming interface is for showing live streaming applicationThe collected picture of client institute.
For example, as shown in fig. 6, after receiving the instruction of operation display interface, boundary can be broadcast live in user live broadcastOne layer of show layers, the operation display interface on show layers are covered on face.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
Through this embodiment, by using distinct methods operation display interface, so that control complexity be broadcast live simplifyingMeanwhile improving the flexibility of operation display interface.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) second acquisition unit executes behaviour for the operation interface shown by obtaining the client to live streaming applicationMake to obtain the account information of the user account for the client applied using live streaming, wherein account before the change of voice instruction of generationThe account rank of user account is carried in information;
(2) display unit, for showing change of voice type corresponding with account rank in operation interface.
Wherein, display unit includes:
(1) the first adjustment module is used in the case where account rank indicates miss the mark rank, will be with target rankThe display state of corresponding change of voice type is adjusted to disabled status;
(2) second adjustment module, for account rank instruction reach the other situation of target level under, will be with target rank pairThe display state for the change of voice type answered is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Through this embodiment, by the way that corresponding change of voice type is arranged for the user account of different stage, thus straight simplifyingOn the basis of Broadcast Control operation complexity, the flexibility of live streaming control is improved.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) third acquiring unit executes behaviour for the operation interface shown by obtaining the client to live streaming applicationMake to obtain change of voice mode, wherein change of voice mode is used to indicate audio data according to the target change of voice after the change of voice instruction of generationThe period of the type progress change of voice;
Transmission unit includes:
(1) sending module, for target change of voice type, audio data and change of voice mode to be sent to the service of live streaming applicationDevice.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Through this embodiment, by the way that change of voice mode is arranged, to need the change of voice according in change of voice mode specific audio frequency dataPeriod, to improve the flexibility of the change of voice on the basis of simplifying and control operation complexity is broadcast live.
As a kind of optional embodiment, above-mentioned acquisition unit 1202 further include:
(1) the 4th obtains module, for obtaining buffer area adjustment instruction;
(2) respond module adjusts the storage of buffer area in the client of live streaming application for response buffering area adjustment instructionSpace size.
For example, continuing to be illustrated with main broadcaster's live streaming, the client that application is broadcast live can receive the buffer area of main broadcaster's sendingAdjustment instruction.The order being adjusted to buffer area is carried in the adjustment instruction of buffer area.For example, buffer area is reduced 1,000,000,Then, the memory space of buffer area is reduced 1,000,000 by the client that application is broadcast live.
Through this embodiment, it by obtaining buffer area adjustment instruction, and is adjusted in client according to buffer area adjustment instructionThe storage size of buffer area, so that the delay of the change of voice is reduced on the basis of simplifying the complexity that control operation is broadcast live,Improve the speed of the change of voice.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) pull module, for target change of voice type and audio data are sent to live streaming application server after,Live streaming application server according to target change of voice type to audio data carry out voice change process, obtain target audio data itAfterwards, be broadcast live application server target audio data are sent to content distributing server after, from content distributing server drawTake the target audio data to be played.
For example, being illustrated in conjunction with Fig. 8.As shown in figure 8, the client 802 of live streaming application acquires sound by step S802Frequency obtains change of voice instruction after, through step S804, and collected audio data is instructed with the change of voice and is sent out by step S806The server 806 for giving live streaming application, the server 806 that application is broadcast live carry out at the change of voice audio data by step S808Reason, and target audio data are sent to by content distributing server 804 by step S810.The client 808 of live streaming application is logicalIt crosses step S812 and pulls target audio data from content distributing server 804.
Through this embodiment, by set content the distribution server, target audio data is stored, are answered so as to avoid live streamingServer stores the problem of a large amount of target audio data, improves change on the basis of simplifying and control operation complexity is broadcast liveThe stability of sound.
It is according to an embodiment of the present invention to have on the one hand, it additionally provides a kind of for implementing the live streaming of above-mentioned live-broadcast control methodControl device, optionally, as shown in figure 13, above-mentioned live streaming control device may include:
(1) first acquisition unit 1302, the target change of voice type and audio that the client for obtaining live streaming application is sentData, wherein audio data collects the data to be shared for the client that live streaming is applied;
(2) processing unit 1304 are obtained for carrying out voice change process to audio data according to target change of voice type for dividingEnjoy the target audio data played out to client end of playing back;
(3) transmission unit 1306, for target audio data to be sent to content distributing server, so that client end of playing backThe target audio data to be played are pulled from content distributing server.
Optionally, above-mentioned live-broadcast control method can obtain change of voice instruction by the following method: obtain in operation interfaceThe change of voice that shown key corresponding with target change of voice type executes clicking operation and generates instructs;Or according to operation interfaceIn shown prompt information obtain voice messaging corresponding with target change of voice type;Change of voice instruction is generated according to voice messaging.
For example, being illustrated with the scene that main broadcaster is broadcast live, above-mentioned audio data can be the interaction language of main broadcaster.Such asShown in Fig. 3, in Fig. 3 in the interface of live streaming, main broadcaster is being broadcast live.When live streaming client gets the interaction language of main broadcasterAfterwards, the change of voice instruction in the client of the live streaming application of main broadcaster's click is got, it is such as droning, then by the interaction language of main broadcaster and masterSelected droning option record is broadcast, and is sent to the server of live streaming application.Live streaming application server is according to gettingDroning target change of voice type handles interaction language according to target change of voice type is droning, obtains processing target audio numberAccording to.Target audio data are droning sound.
Or as shown in figure 4, continue to be illustrated so that main broadcaster is broadcast live as an example, when main broadcaster is being broadcast live, if main broadcaster existsIt says: terminating, uncle when speaking, then the interaction language that the main broadcaster before " end " that the client of application will acquire is broadcast live saysIt is acquired as audio data, and regard " uncle " after " end " as target change of voice type, and the audio number that will acquireAccording to the server for being sent to live streaming application with target change of voice type " uncle ", audio data is adjusted to by the server that application is broadcast liveTarget audio data, target audio data are the sound of uncle.
It should be noted that above-mentioned conclusion " terminating, uncle " is only a kind of example, conclusion this implementation that is specifically arrangedExample is without limitation.
Optionally, before obtaining change of voice instruction, further includes: obtain the idsplay order for requesting operation display interface;Respond idsplay order operation display interface in the client of live streaming application.Optionally, above-mentioned idsplay order can be user coupleThe clicking operation of fixed area is perhaps in presumptive area the click pointer of the clicking operation of pre-set button or userCertain period of time etc..
It, can be with as shown in figure 5, when main broadcaster is broadcast live for example, carry out that explanation continuing with the process of main broadcaster's live streamingOperation interface is hidden.A button is shown in the client of live streaming application, after user clicks button, application is broadcast liveOperation interface is shown that optionally, operation interface shows that result can be result shown in Fig. 3 by client.Alternatively, straightA presumptive area is arranged in the client for broadcasting application, when the click pointer such as mouse pointer of user hovers over one in presumptive areaAfter fixing time, hiding operation interface can be shown.
It should be noted that the mode of above-mentioned acquisition idsplay order is only optional example, can also specifically be touched for userTouch terminal interface reach the predetermined time perhaps user execute screen sliding operation or user double-click terminal interface etc..This implementationExample is not specifically limited in this embodiment.
Optionally, it when showing aforesaid operations interface, can be shown by the following method: in the client of live streaming applicationDisplaying target figure layer is covered on the live streaming interface at end, wherein live streaming interface is used to show that the client of live streaming application to be acquiredThe picture arrived;The operation display interface in target figure layer;Or it is shown in the first display area of the client in live streaming applicationInterface is broadcast live, the operation display interface in the second display area of the client of live streaming application, wherein live streaming interface is for showingThe collected picture of client institute of application is broadcast live.
Optionally, displaying target figure layer is less than or equal to live streaming interface
For example, be illustrated continuing with main broadcaster's live streaming, as shown in fig. 6, in user live broadcast, when receiving display operationAfter the instruction at interface, one layer of show layers, the operation display interface on show layers can be covered on live streaming interface.
It should be noted that Fig. 6 is only for being illustrated covering displaying target figure layer, show layers is answered in actual conditionsThis blocks live streaming interface as little as possible.
Or as shown in figure 3, the live streaming interface of the client of live streaming application is divided into two parts in Fig. 3, top is to useIn first display area at display live streaming interface, lower section is the second display area of operation display interface.
It should be noted that Fig. 3 is only a kind of optional example, the first display area can be greater than or equal to or less thanTwo display areas.Specific first display area can be with the second display area or so side by side, and the present embodiment does not do specific limit to thisIt is fixed.
It is alternatively possible to which account rank, different accounts is arranged in the user account for the client of each live streaming applicationRank corresponds to different change of voice types.It, will be corresponding with target rank in the case where account rank indicates miss the mark rankThe display state of change of voice type be adjusted to disabled status;It, will be with mesh in the case where the instruction of account rank reaches the other situation of target levelThe display state of the corresponding change of voice type of mark rank is adjusted to mode of operation.
For example, being illustrated continuing with main broadcaster's live streaming.Assuming that operation interface shown in fig. 6 is the user account of rank 4Corresponding operation interface, there are four target change of voice types in Fig. 6.As shown in fig. 7, if operation interface shown in Fig. 7 is gradeOperation interface corresponding to other 3 user account, then in Fig. 7 it is droning with it is free and natural be disabled status, not may be selected.Need userUser account be raised to after rank 4, just can be used.
Optionally, the change of voice that operation is executed to operation interface shown in the client of live streaming application and is generated is being obtainedAfter instruction, further includes: obtain change of voice mode, wherein change of voice mode be used to indicate audio data according to target change of voice type intoThe period of the row change of voice;It include: by the target change of voice by the server that target change of voice type and audio data are sent to live streaming applicationType, audio data and change of voice mode are sent to the server of live streaming application.
Optionally, above-mentioned change of voice mode can be in the client-side editing of live streaming application.
For example, continuing to be illustrated so that main broadcaster is broadcast live as an example, when the client of live streaming application gets the audio number of main broadcasterAccording to the above-mentioned audio data of client terminal playing that is rear, being applied in live streaming.Main broadcaster can be adjusted the audio data of broadcasting,If audio data is 10 seconds long, main broadcaster can choose 3 seconds therein or 4 seconds etc. as the audio data for needing the change of voice, remainingAudio data is the audio data for not needing the change of voice.
Optionally, during acquiring audio data, further includes: obtain buffer area adjustment instruction;Response buffering area tuneThe storage size of buffer area in the client of whole instruction adjustment live streaming application.
Optionally, above-mentioned adjustment instruction can be the memory space of the memory space for increasing buffer area, diminution buffer area, orThe memory space of buffer area is adjusted to target value etc. by person.
By the embodiment of the present application, the audio data to be shared is acquired by the client of live streaming application;In acquisition soundFrequency obtains the change of voice for executing operation to operation interface shown in the client of live streaming application and generating and refers to duringIt enables, target change of voice type and audio data is sent to the server of live streaming application, so that the server of live streaming application is according to meshChange of voice type is marked, voice change process is carried out to audio data, is obtained for sharing the target audio played out to client end of playing backThe method of data obtains audio data and target change of voice type in the client of live streaming application so as to realize, and by straightIt broadcasts application server and the purpose that processing obtains target audio data is carried out to audio data, reached simplified live streaming operation complexityTechnical effect, solve the problems, such as to be broadcast live in the related technology complicated for operation.
As a kind of optional embodiment, above-mentioned processing unit 1304 includes at least one of:
(1) the first adjustment module, for being adjusted according to word speed of the target change of voice type to audio data;
(2) second adjustment module, for being adjusted according to tone of the target change of voice type to audio data;
(3) third adjusts module, for being adjusted according to volume of the target change of voice type to audio data.
For example, can be adjusted using overlapping superposition algorithm to the word speed of audio data as shown in Figure 10 and Figure 11.Sa1 and Sa2 is frame shifting, and Sa1 is less than Sa2, then it represents that the word speed of audio data is slack-off.
Or the period of audio data is adjusted by being overlapped superposition algorithm, to change the tone of audio data.
Through this embodiment, it is adjusted by word speed, tone, the volume to audio data, to reach to audioThe effect of the data progress change of voice.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) second acquisition unit is used for for carrying out voice change process to audio data according to target change of voice typeAfter sharing the target audio data played out to client end of playing back, the collected frame numbers of client of live streaming application are obtainedAccording to;Picture data and target audio data are packaged, live data to be sent is obtained;
Above-mentioned transmission unit 1306 further include:
(1) sending module, for will include that the live datas of target audio data is sent to content distributing server.
For example, audio data is sent to the clothes of live streaming application after receiving audio data by the client of live streaming applicationBusiness device, and the collected picture data of client institute that live streaming is applied, and picture data is encapsulated, it is sent to what live streaming was appliedServer.After the server of live streaming application gets picture data, decompression transcoding is carried out to picture data, and will be after decompression transcodingPicture data and target audio data compression at live data, live data is sent to content distributing server.
Through this embodiment, by the way that live data is sent to content distributing server, thus the client for applying live streamingEnd obtains data from content distributing server, reduces the workload of the server of live streaming application, improves the clothes of live streaming applicationThe working efficiency of business device.
Another aspect according to an embodiment of the present invention, additionally provides a kind of storage medium.Meter is stored in the storage mediumCalculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 acquires the audio data to be shared by the client of live streaming application;
S2 is obtained and is held to operation interface shown in the client of live streaming application during acquiring audio dataThe change of voice that row is operated and generated instructs, wherein carries target change of voice type in change of voice instruction;
Target change of voice type and audio data are sent to the server of live streaming application by S3, so that the service of live streaming applicationDevice carries out voice change process according to target change of voice type, to audio data, obtains playing out for sharing to client end of playing backTarget audio data.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 is obtained and key corresponding with target change of voice type shown in operation interface is executed clicking operation and generatedThe change of voice instruction;
S2 obtains voice messaging corresponding with target change of voice type according to prompt information shown in operation interface;RootChange of voice instruction is generated according to voice messaging.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains the idsplay order for requesting operation display interface;
S2, response idsplay order operation display interface in the client of live streaming application.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 covers displaying target figure layer on the live streaming interface of the client of live streaming application, wherein live streaming interface is used forThe collected picture of client institute of display live streaming application;The operation display interface in target figure layer;
S2 shows live streaming interface, in the client of live streaming application in the first display area of the client of live streaming applicationThe second display area in operation display interface, wherein live streaming interface is used to show that the client of live streaming application to be collectedPicture.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains the account information of the user account of the client using live streaming application, wherein carry in account informationThe account rank of user account;
S2 shows change of voice type corresponding with account rank in operation interface.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1, in the case where account rank indicates miss the mark rank, by change of voice type corresponding with target rankDisplay state is adjusted to disabled status;
S2, in the case where the instruction of account rank reaches the other situation of target level, by the aobvious of change of voice type corresponding with target rankShow that state is adjusted to mode of operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains change of voice mode, wherein change of voice mode is used to indicate audio data and carries out the change of voice according to target change of voice typePeriod;
Target change of voice type, audio data and change of voice mode are sent to the server of live streaming application by S2.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains buffer area adjustment instruction;
The storage size of buffer area in the client of application is broadcast live in S2, the adjustment of response buffering area adjustment instruction.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1, the server that application is broadcast live carry out voice change process to audio data according to target change of voice type, obtain target soundFrequency evidence;
S2, target audio data are sent to content distributing server by the server that application is broadcast live, so that client end of playing backThe target audio data to be played are pulled from content distributing server.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains target change of voice type and audio data that the client of live streaming application is sent, wherein audio data is straightThe client for broadcasting application collects the data to be shared;
S2, according to target change of voice type to audio data carry out voice change process, obtain for share to client end of playing back intoThe target audio data that row plays;
Target audio data are sent to content distributing server by S3, so that client end of playing back is from content distributing serverPull the target audio data to be played.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 is adjusted according to word speed of the target change of voice type to audio data;
S2 is adjusted according to tone of the target change of voice type to audio data;
S3 is adjusted according to target change of voice type according to volume of the target change of voice type to audio data to audio dataVolume be adjusted.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains the collected picture data of client of live streaming application;Picture data and target audio data are carried outEncapsulation, obtains live data to be sent;
Live data comprising target audio data is sent to content distributing server by S2.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodimentAll or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store inIn one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory,ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electricity of above-mentioned live streaming control deviceSub-device, as shown in figure 14, the electronic device include memory and processor, are stored with computer program in the memory, shouldProcessor is arranged to execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer networkAt least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 acquires the audio data to be shared by the client of live streaming application;
S2 is obtained and is held to operation interface shown in the client of live streaming application during acquiring audio dataThe change of voice that row is operated and generated instructs, wherein carries target change of voice type in change of voice instruction;
Target change of voice type and audio data are sent to the server of live streaming application by S3, so that the service of live streaming applicationDevice carries out voice change process according to target change of voice type, to audio data, obtains playing out for sharing to client end of playing backTarget audio data.
Optionally, it will appreciated by the skilled person that structure shown in Figure 14 is only to illustrate, electronic device can alsoTo be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet deviceThe terminal devices such as (Mobile Internet Devices, MID), PAD.Figure 14 it does not make to the structure of above-mentioned electronic deviceAt restriction.For example, electronic device may also include more or less component (such as network interface, display dress than shown in Figure 14Set), or with the configuration different from shown in Figure 14.
Wherein, memory 1404 can be used for storing software program and module, such as the security breaches in the embodiment of the present inventionDetection method and the corresponding program instruction/module of device, the software that processor 1402 is stored in memory 1404 by operationProgram and module realize the detection of above-mentioned system vulnerability attack thereby executing various function application and data processingMethod.Memory 1404 may include high speed random access memory, can also include nonvolatile memory, such as one or more magneticProperty storage device, flash memory or other non-volatile solid state memories.In some instances, memory 1404 can be wrapped furtherThe memory remotely located relative to processor 1402 is included, these remote memories can pass through network connection to terminal.It is above-mentionedThe example of network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned user interface 1406 is used to that data to be received or sent via a network.Above-mentioned network specific exampleIt may include cable network and wireless network.In an example, user interface 1406 includes a network adapter (NetworkInterface Controller, NIC), can be connected by cable with other network equipments with router so as to interconnectionNet or local area network are communicated.In an example, user interface 1406 is radio frequency (Radio Frequency, RF) module,For wirelessly being communicated with internet.
Wherein, specifically, memory 1404 is for storing audio data and live data etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent productWhen selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the inventionSubstantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art schemeThe form of part product embodies, which is stored in a storage medium, including some instructions are used so that onePlatform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present inventionState all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodimentThe part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others sideFormula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only oneKind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orIt is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual itBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or moduleIt connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.