ltebean / Live

Demonstrates how to build a live broadcast app(Swift 3)
2.41k stars 419 forks source link

screen capture streaming from desktop to ios device #22

Open dhruvaryan opened 7 years ago

dhruvaryan commented 7 years ago

Well this is not an issue, more of a request for feature. Even if someone here can point in right direction that would be great.

dhruvaryan commented 7 years ago

I tried this part and it works,

After setting up the server, you can test it using ffmpeg(install it by brew install ffmpeg).

push stream ffmpeg -f avfoundation -framerate 30 -i "1:0" -f flv rtmp://server-url watch the stream: go to this site: https://www.hlsplayer.net/rtmp-player

I see my desktop stream in the web-browser hlsplayer.net/rtmp-player. is there a way to see it inside the app rather than the browser?