Giter VIP home page Giter VIP logo

harmonic's People

Contributors

a1q123456 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

harmonic's Issues

WEBSOCKET doesnt work

Version tested: tag: V0.0.2

I tested the server is working I can see the video through vlc coming from:

rtmp://192.168.1.109/living/fe

But when I tested:

ws://127.0.0.1:8080/living/fe

It didn't work I tried different ways: i always got error messages coming from the players

This error:
[MSEController] > MediaSource onSourceOpen
[IOController] > Loader error, code = undefined, msg = undefined
[TransmuxingController] > IOException: type = Exception, code = undefined, msg = undefined
[MSEController] > MediaSource onSourceOpen

And a player I did:
Uncaught TypeError: Cannot read property 'flushStashedSamples' of null

How could I make work the WEBSOCKETS?

Thanks in advance.

Error

Hello, if i try to connect with rtmp camera(android app) i have this error:
System.Net.ProtocolViolationException Message: Operation is not valid due to the
current state of the object.
at Harmonic.Networking.Rtmp.HandshakeContext.ProcessHandshakeC2(ReadOnlySeque
nce`1 buffer, Int32& consumed) in C:\Users\Administrator\Desktop\Harmonic-master
\Harmonic\Networking\Rtmp\HandshakeContext.cs:line 106
at Harmonic.Networking.Rtmp.IOPipeLine.Consumer(PipeReader reader, Cancellati
onToken ct) in C:\Users\Administrator\Desktop\Harmonic-master\Harmonic\Networkin
g\Rtmp\IOPipeLine.cs:line 197
at Harmonic.Hosting.RtmpServer.AcceptCallback(IAsyncResult ar, CancellationTo
ken ct) in C:\Users\Administrator\Desktop\Harmonic-master\Harmonic\Hosting\RtmpS
erver.cs:line 116

Call custom API endpoint on stream dispose

I am publishing multiple streams on RTMP server(on each call I made custom job like updating stream status in db). -> This part is easy since in RTMP create stream message you have publishingName(StreamKey).

I am asking where is the right place to do custom work on stream stop (to do custom api call for updating stream status in db)

I made this part in RtmpController in DeleteStreamAsync method (first mapped streamID with streamName) but when running multiple stream - that custom API call is not made.

Does this part need to be handle on different part or am I doing something wrong?

vs solution is not complete?

I opened the solution with vs2017 and told me a project rtmp-server can not be loaded. Then I opened the "rtmp-sharp.sln", it showed the following section:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "rtmp-server", "..\Document\Visual Studio 2015\Projects\rtmp-server\rtmp-server.csproj", "{4FDCBB5D-89FF-4689-94D5-8E911F61E97E}"

now the path is not exist on my computer.

websocket play error

I forked your project and modify code to make it to work in asp.net core web application. ffmpeg playback is working well, but websocket playback is not. flv.js will throw exception. And I try to use http-flv playback, but it is not work.

You can run my code:

forked project
https://github.com/CoreDX9/Harmonic/tree/a6318ce95ae7ad322ca01b904fd6756d884cf24b

webapp project
https://github.com/CoreDX9/IdentityServerDemo/tree/c1335f39206d285bf2761c65815d8b68e73b092d

  1. download projects

  2. relink project ref Harmonic to IdentityServer

  3. run DemoApp/IdentityServer in solution IdentityServer

  4. go to "https://localhost:5001/RtmpManage/Index" and click start rtmp service

  5. use ffmpeg publish rtmp stream to "rtmp://localhost/living/touhou"

  6. go to "https://localhost:5001/LivingPlay/Index"

then flv.js will log error in console. I don't know why. Can you help me?

Documentation for recording implementation

Hi! I'm using this labrary for the first time, and I see the demo, but I want to record a streaming, I actually read the documentation but I can't understant how to implemente the recordcontroller to save a streaming, can anyone help me?

authentication , credentials for stream (user/pass)

hi, at the first ,thanks a lot for this amazing library :)
i run harmonic on my server as console application (exe file). now every one can push stream an watch it .
how can i protect it with authentication , credentials ?

Record video

I can see in the new release there is an option to record video, do you have an example or how could I record?

Thanks,

Does the rtmp support multicast ?

I need stream video from one client device to many other clients in the same network ?
so I need multicast , so the [server client device] can only transport once

Overrite the recording configuration doesn't work

I followed the doc to overrite the recording configuration and push video to rtmp://127.0.0.1/record/StreamName, but vs always show me that

'System.IO.DirectoryNotFoundException' in System.Private.CoreLib.dll

even if I don't change anything, there is no video saved in default directory.

FInally I saved the video successfully by changing the
public virtual string RecordPath { get; set; }= @"Record"
to
public virtual string RecordPath { get; set; } = System.IO.Directory.GetCurrentDirectory()

Are the instructions correct? Or Did I do something wrong above?

By the way , is there any method to saved the video at regular time or regular size, i don't want to lose the video after the program terminated by accident.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.