-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect response doesn't indicate support for Enhanced RTMP #11
Comments
this should probably be a separate Issue, but on the subject of the |
|
Nice catch especially since this is so nuanced. To echo the 'fourCcList' is of course straight forward and probably would be a good addition to the spec. BTW: Shouldn't this already potentially be an issue? AVCPacketType has same challenges, although by now most servers support AVC codec id and the AVC sequence header... this is still not guaranteed since today the RTMP spec does not require a server to echo it's set of support codecs? |
in retrospect i don't think echoing the |
the original spec is missing a lot of things (i wish i had had the time way back then for a full rewrite instead of just editorial cleanup). :) the behavior of Adobe Media Server (at least) is to use the |
i opened #14 |
the "Enhancing NetConnection
i think it'd be valuable for a future revision to reword this section, and perhaps have a separate paragraph for the server's response that explicitly lists that an Enhanced RTMP server should be sending one or more of the enhanced also, specifically for |
meanwhile, i've modified my
to say that it can forward any video or audio codecs, but does not support Multitrack, nor will it ever send a |
Thank you for the thoughtful feedback! I'll take a closer look at the wording and make the necessary adjustments. For now, I'll keep this issue open until we've had a chance to polish the wording. |
the client can indicate support for Enhanced RTMP by including a
fourCcList
member of theconnect
command's argument/command object (though see #10 about the name of that member).however, clients can't tell if servers support Enhanced RTMP. while an unaware server can simply forward Enhanced RTMP messages as they come in, this won't have the desired effect for clients subscribing to a stream after its publish has started. in particular, servers unaware of Enhanced RTMP won't have special treatment of
PacketSequenceStart
,PacketTypeMetadata
, andPacketTypeMPEG2TSSequenceStart
messages, remembering them and sending them to new subscribers before the coded frames.a publishing client should be able to tell that the server will or won't perform the special sequence/metadata processing for subscribers, and subscribing clients should be able to tell that they may not receive the sequence/metadata messages for enhanced messages. this could be accomplished by echoing the
fourCcList
(and/or others as appropriate) back in theconnect
transaction's_result
Info Object.The text was updated successfully, but these errors were encountered: