AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Samp 0.3.7 r1 download2/14/2023 ![]() In order to redirect audio traffic from player A to player B, you need to create an audio stream (for example, a global one, using SvCreateGStream), then attach it to the stream of player A as a speaker (using SvAttachSpeakerToStream), after which attach to player B's stream as a listener (using SvAttachListenerToStream). ![]() They can be visualized using the example of Discord: Now, when player A's microphone is activated (for example, with the SvStartRecord function), his audio traffic will be transmitted and then heard by player B. ![]() A stream is an analogue of a room (or channel).Speakers are participants in the room with mute but microphone on.Listeners are participants in the room with their microphone mute but mute.Players can be both speakers and listeners at the same time. In this case, the player's audio traffic will not be forwarded to him. Let's take a look at some of the plugin's features with a practical example. Below we will create a server that will bind all connected players to the global stream, and also create a local stream for each player.
0 Comments
Read More
Leave a Reply. |