Hello,
is there a way to show what Resolution and Frames per Second a Ingest Stream has? It would be nice the Devs would implement this Information in the Web-Manager. I suggest Application -> Incoming Streams -> name_of_ingest_stream
There is no current integration with Streaming Engine, but I did pass your specific suggestion along as a feature request.
I do have some suggestions for you on how to achieve this though:
Frames per Second (fps) is read within the onLivePacket
method which is called for every packet that is received for the live stream before the packet is processed for playback:
class PacketListener implements IMediaStreamLivePacketNotify
{
/**
* onLivePacket is called for every packet that is received for the live stream before the packet is processed for playback.
* It is very important that this method returns quickly and is not delayed in any way.
*/
@Override
public void onLivePacket(IMediaStream stream, AMFPacket packet)
{
if (packet.isVideo())
{
// packet.getTimecode(); returns the elapsed time, in milliseconds, between this packet and the last packet of the same type.
double fps = (double)1000 / packet.getTimecode();
stream.getProperties().setProperty("currentFPS", new Double(fps));
Alternatively, we have this Java method which works fine for reading the incoming fps as well
stream.getPublishFramerateVideo()
Hello Wowza Staff,
thanks for your Feedback. I hope we can see this in Wowza Manager in one of the next Wowza Versions. At the moment i record some seconds of ingested Stream from new Publishers, to control the right Settings for Resolution and Framerate.