Questions tagged [broadcasting]

In telecommunication and information theory, broadcasting refers to a method of transferring a message to all recipients simultaneously. Broadcasting can be performed as a high level operation in a program, for example broadcasting Message Passing Interface, or it may be a low level networking operation, for example broadcasting on Ethernet. Please use the numpy-broadcasting tag for questions relating to numpy's array broadcasting behavior.

285 questions
4
votes
1 answer

Does socket.io broadcast to subscribers only?

Please examine the server-side code below. Assuming that data.id is abc77 at some instant, will every connected browser receive a socket message 'my_model/abc77:update', or only the ones that have subscribed to this particular message, regardless of…
Bijou Trouvaille
  • 8,794
  • 4
  • 39
  • 42
4
votes
4 answers

MulticastSocket vs. DatagramSocket in Broadcasting to Multiple Clients

Which would be a faster/more efficient implementation when one server is broadcasting to multiple clients: MulticastSocket or DatagramSocket? Please discuss an explanation too, thank you! The messages passed involve strings and floating point…
brain56
  • 2,659
  • 9
  • 38
  • 70
4
votes
1 answer

Julia: applying function across fields of different struct instances

Let's imagine I have an array my_array whose elements are instances of myType, so the array type is given by Array{myType,1}. Now let's say each instance of myType within my_array has some field x that stores a vector of data (e.g.…
Conor
  • 691
  • 5
  • 14
4
votes
1 answer

Why is broadcasting done by aligning axes backwards

Numpy's broadcasting rules have bitten me once again and I'm starting to feel there may be a way of thinking about this topic that I'm missing. I'm often in situations as follows: the first axis of my arrays is reserved for something fixed, like the…
Bananach
  • 2,016
  • 26
  • 51
4
votes
2 answers

Flutter - run a function every time the page changes

I want to run a function every time the page changes in my Flutter application. Ideally, I don't want to call this function in initState of every page, as sometimes people can forget to add the call in a new page. Think of it as middleware - be…
Billy Mahmood
  • 1,857
  • 5
  • 26
  • 37
4
votes
2 answers

Confusion regarding np.tile and numpy broadcasting

Suppose I have a 2D numpy array A of shape (m, n). I would like to create a 3D array B of shape (m, n, k) such that B[:, :, l] is a copy of A for any slice l. I could think of two ways to do this: np.tile(A, (m, n, k)) or np.repeat(A[:, :,…
p-value
  • 608
  • 8
  • 22
4
votes
1 answer

Java - Creating "BroadCaster"

I've noticed how routers can send a broadcast packet within an area, to allow a Wireless Network Connection, and hence network access. My question is how can we implement something like this in java? I know how I can "UDP Broadcast", but that's not…
Shane
  • 267
  • 1
  • 5
  • 13
4
votes
1 answer

Live Video Broadcasting in Android using Wowza Server

I have tried broadcasting videos in Android app through Wowza server and it works pretty well with this demo of javaCV. But the only problem with this is that it uses flv file format to broadcast on Wowza server. It uses FFmpegFrameRecorder to…
Name is Nilay
  • 2,743
  • 4
  • 35
  • 77
4
votes
1 answer

Issue with broadcast using Boost.Asio

I apologize in advance if the question has been previously answered, but I've searched and found nothing that helps me. As indicated by the question's title, I'm trying to broadcast a package from a server to a set of clients listening for any…
user2033018
4
votes
1 answer

wpf application for video broadcasting

I have a WPF application for broadcasting video using Microsoft.expression.encoder and framework 4.0, but i got a delay of 15 sec while broadcasting.Is there any suggestion to reduce the delay while broadcasting. below is the Code using…
Anoop Mohan
  • 329
  • 1
  • 2
  • 13
3
votes
4 answers

Broadcasting

Could anyone please provide me with the code or link to send and receive broadcast messages if possible using UDP? I have been stuck in a problem and hope if u guys could help me resolve it. Thanks
Avik
  • 2,097
  • 7
  • 24
  • 30
3
votes
0 answers

Shoutcast broadcasting in android

I've checked the many blogs and forums and github but nothing found related/help for implementing shoutcast v1 or v2 in android, only ref which is helpful I've found in github is this: https://github.com/fatihsokmen/android-icecast-broadcast but…
Nicky
  • 885
  • 9
  • 21
3
votes
2 answers

DVB-CSA-1 vs DVB-CSA-2

I need some help from mpeg2-ts DVB and broadcasting experts. Can someone tell me what is the difference between those algorithms in common.
Ilay
  • 235
  • 3
  • 11
3
votes
1 answer

Laravel. Multiple channels or personal channel for each user?

I am using event broadcasting in Laravel. I am using role based access to notifications. I have custom auth guard for broadcasting. When user connects to channel client sends access_token with permissions inside to server. Server validates this…
John Smith
  • 1,204
  • 3
  • 22
  • 42
3
votes
1 answer

ValueError: operands could not be broadcast together with shape when calling pands value_counts() on groupby object

I know there has been many a question on this error message. However I haven't found one with this exact problem. I'm trying to group a pandas DataFrame and count the values: allfactor =…
Sally
  • 168
  • 1
  • 10
1
2
3
18 19