yingdev / web-rtmp Goto Github PK
View Code? Open in Web Editor NEWPlay rtmp video stream on the web page...without Flash. (Javascript)
Play rtmp video stream on the web page...without Flash. (Javascript)
打包后,设置测试服务器时无法找到run命令
Executing post-build scripts
Hash: 9ffeb3750ff7ee08fa96
Version: webpack 1.14.0
Time: 8246ms
Asset Size Chunks Chunk Names
bundle.js 315 kB 0 [emitted] main
bundle.js.map 589 kB 0 [emitted] main
+ 71 hidden modules
'sed' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
D:\pixijsv4\Web-Rtmp\node_modules\webpack-shell-plugin\lib\index.js:168
throw error;
^
Error: Command failed: C:\Windows\system32\cmd.exe /s /c "sed "s/{{buildTime}}/$(date)/g" index.template.html > index.html"
'sed' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���
at ChildProcess.exithandler (child_process.js:213:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:827:16)
at Socket.<anonymous> (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Pipe._onclose (net.js:477:12)
bundle.js bundle.js.map 这两个文件编译成功了,但是因为时间不能生成index.html,我手动去把index.template.html内容拷贝进去,运行又报错:
rtmpSession...cb... bundle.js:214:5
Begin LOOP bundle.js:221:6
sending connect bundle.js:156:6
05 60 57 4e 00 00 a7 14 00 00 00 00
02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00
00 00 00 03 00 03 61 70 70 02 00 04 6c 69 76 65
00 05 74 63 55 72 6c 02 00 17 72 74 6d 70 3a 2f
2f 31 30 2e 31 30 2e 31 30 2e 37 39 2f 6c 69 76
65 00 04 66 70 61 64 01 00 00 0c 63 61 70 61 62
69 6c 69 74 69 65 73 00 40 2e 00 00 00 00 00 00
00 0b 61 75 64 69 6f 43 6f 64 65 63 73 00 40 a8
ee 00 00 00 00 00 00 0b 76 69 64 65 6f 43 6f 64
bundle.js:366:5
.WN........ ...connect.?.... ......app...live ..tcUrl...rtmp:/ /10.10.10.79/liv e..fpad....capab ilities.@....... ..audioCodecs.@. ........videoCod bundle.js:366:5 c5 65 63 73 00 40 6f 80 00 00 00 00 00 00 0d 76 69 64 65 6f 46 75 6e 63 74 69 6f 6e 00 3f f0 00 00 00 00 00 00 00 00 09 bundle.js:366:5 .ecs.@o..... ...videoFunction .?.......... bundle.js:366:5 GOT MESSAGE: setWindowSize bundle.js:233:5 02 60 57 59 00 00 04 05 00 00 00 00 00 26 25 a0 bundle.js:366:5 .
WY........
.&%. bundle.js:366:5
GOT MESSAGE: setPeerBw bundle.js:233:5
GOT MESSAGE: setChunkSize bundle.js:233:5
RangeError: Trying to access beyond buffer length bundle.js:3805:37
checkOffset http://10.10.10.47/Web-Rtmp/build/bundle.js:3805:37
readUInt8 http://10.10.10.47/Web-Rtmp/build/bundle.js:3841:19
amf0decObject http://10.10.10.47/Web-Rtmp/build/bundle.js:5854:14
amfXDecodeOne http://10.10.10.47/Web-Rtmp/build/bundle.js:6114:13
amf0DecodeOne http://10.10.10.47/Web-Rtmp/build/bundle.js:6123:13
decodeAMF0Cmd/< http://10.10.10.47/Web-Rtmp/build/bundle.js:6268:26
forEach self-hosted
decodeAMF0Cmd http://10.10.10.47/Web-Rtmp/build/bundle.js:6266:10
RtmpChunkMsgClass.prototype.rcvAmf0EncCmdMsg http://10.10.10.47/Web-Rtmp/build/bundle.js:4888:23
RtmpChunkClass.prototype.rtmpReadChunkMessagePCM/< http://10.10.10.47/Web-Rtmp/build/bundle.js:5284:22
QueueClass.prototype.tryRead http://10.10.10.47/Web-Rtmp/build/bundle.js:2768:14
writeBuf http://10.10.10.47/Web-Rtmp/build/bundle.js:2662:21
QueueClass/< http://10.10.10.47/Web-Rtmp/build/bundle.js:2667:46
EventEmitter.prototype.emit http://10.10.10.47/Web-Rtmp/build/bundle.js:7655:10
readableAddChunk http://10.10.10.47/Web-Rtmp/build/bundle.js:9313:12
Readable.prototype.push http://10.10.10.47/Web-Rtmp/build/bundle.js:9272:11
Socket.prototype._onMessage http://10.10.10.47/Web-Rtmp/build/bundle.js:6607:4
Socket/self._ws.onmessage
===========>
{"cmd":"_error","transId":1,"cmdObj":null,"info":{"level":"error","code":"NetConnection.Connect.Rejected","description":"[ Server.Reject ] : (defaultRoot, defaultVHost) : Application (test1) is not defined."}}
现在是连接拒绝
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.