Skip to content

Question re implementation #5

@neilRGS

Description

@neilRGS

Hi James.
I hope you are well.
I'm wondering if you can help. I need a way of extracting AMF data from an RTMP video stream, and your JSAMF library may be able to help with that.
I am streaming video using nanocosmos encoder and it uses a method, onCuePoint to send cue points along with the stream.
In their test player (which is flash) these can easily be seen: (this vid may or may not be available when you get to view it)
https://www.nanocosmos.de/nanostream/player.html?id=rtmp://wowza.rgsit.com/podia2016rgsitcom2200/podiapull

My player is JWPlayer 7, and the viewers will not haver flash installed, hence my need to decode the AMF data so that I can do whatever I need to with it.

JWplayer has its on('meta') but when trying to set var a = BinaryToArray(event.metadata).toArray(); , for example, nothing happens.

I have most likely got something wrong, or perhaps the method in the encoder needs to match the JW method. I really don't know.

If you have any ideas at all, it would be great to hear from you. I realise that it is a while since you built this, but it looks like it could be a really useful mechanism for retrieving such data from video streams in a world where flash is very rapidly become persona non grata, especially on corporate networks.

Many thanks in advance,

Neil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions