Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
SFML and streaming video
Print
Pages: [
1
]
Author
Topic: SFML and streaming video (Read 2586 times)
0 Members and 1 Guest are viewing this topic.
slotdev
Sr. Member
Posts: 385
SFML and streaming video
«
on:
February 21, 2012, 04:04:52 pm »
Hi
Supposing I have a socket connection to a video server. Can I use SFML to get the raw data from the stream and display video?
Same with audio
Thanks
Ed
Logged
SFML 2.1
Laurent
Administrator
Hero Member
Posts: 32498
SFML and streaming video
«
Reply #1 on:
February 21, 2012, 04:15:32 pm »
Why not? You can send whatever you want on a socket.
Logged
Laurent Gomila - SFML developer
slotdev
Sr. Member
Posts: 385
SFML and streaming video
«
Reply #2 on:
February 22, 2012, 05:13:25 pm »
What I mean is, is there an SFML function to take a pointer to a load of raw pixel data and display it?
Logged
SFML 2.1
Laurent
Administrator
Hero Member
Posts: 32498
SFML and streaming video
«
Reply #3 on:
February 22, 2012, 07:00:37 pm »
Texture::Update(const Uint8*)
Logged
Laurent Gomila - SFML developer
slotdev
Sr. Member
Posts: 385
SFML and streaming video
«
Reply #4 on:
February 22, 2012, 10:34:25 pm »
As always, you are a genius. Thanks
Logged
SFML 2.1
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
SFML and streaming video
anything