主权项 |
1. A method for indicating an end of a stream of data using in-band signaling, comprising:
transmitting the stream of data, the stream of data comprising multiple packets, each packet of the multiple packets including a header with a marker bit field and a payload; configuring the marker bit field and the payload of at least one packet of the multiple packets to indicate the end of the stream of data, wherein the marker bit field being set in the at least one packet indicates that the payload of the at least one packet is less than payloads of other packets of the multiple packets, and setting a field in the payload indicating a countdown to a last packet of the stream of data; detecting, at a server, out-of-band signaling indicating the end of the stream of data before detecting the configuring the marker bit field and the payload of the at least one packet, wherein the server performs the configuring of the marker bit field and the payload in response to the detecting the out-of-band signaling; transmitting the configured at least one packet to at least one target device; and in event that no marker bit and no out-of-band signaling is detected, the server generates a packet comprising a new marker bit and transmits the generated packet with the new marker bit to the at least one target device, wherein the new marker bit indicates the end of the stream of data. |