Highly imitated Bilibili project
Making link: (https://github.com/MichaelHuyp/Bilibili_Wuxianda)
Currently, the following functions are completed:
- Start the business logic for the page
- Rotation chart with drag effect
- Live broadcasting, recommendation, and the building of drama interface
- Video player based on iJkPlayer (ordinary video, live video)
Updated on July 30:
- Set up personal center module
-
Integrate the mobile live broadcast function based on LFLiveKit, which is open source of Lai Crazy Live broadcast
-
Update the display
About how to view live broadcasts on your computer:
man brewCopy the code
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Copy the code
brew tap homebrew/nginxCopy the code
brew install nginx-full --with-rtmp-moduleCopy the code
nginxCopy the code
- Step 4, open your browser and open http://localhost:8080. If the following appears, the environment is set up
demo
brew info nginx-fullCopy the code
- Step 6: Search for nginx.conf in terminal Command+F
demo
- Step 7, go to that path, open the configuration file as a text edit, and insert the following code directly at the end
rtmp { server { listen 1935; application rtmplive { live on; record off; }}}Copy the code
demo
demo
nginx -vCopy the code
demo
- Step 9: Restart nGIx and replace the version number with the version number of your computer’s Nginx
/ usr/local/Cellar/nginx - full / 1.10.1 / bin/nginx -s reloadCopy the code
Now you can try the effect of live streaming **
demo
- Open the project code, find YPPhoneLiveViewController. M file, replace your computer’s IP to here
demo
- To run the project, click “I want to live” in the personal information interface, then click “Start live”, then open the VLC client, and then File-> Open network-> enter: RTMP ://(your IP):1935/ rTMplive /room
demo
demo
- All right, if this goes well… You can test the live broadcast []~(~ ▽ ~)~*
Projects show
Start page
launch
launch
launch
Recommend interface
Review images
recommend
Review images
recommend
Review images
recommend
Live broadcast and the screen
Review images
liveandBangumi
Ijkplayer-based player
Review images
movie
Review images
movie
Review images
movie
Review images
movie